home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / sun / admin / 8141 < prev    next >
Encoding:
Internet Message Format  |  1992-11-11  |  16.3 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!bu.edu!nntp-read!jc
  2. From: jc@raven.bu.edu (James F. Cameron)
  3. Newsgroups: comp.sys.sun.admin
  4. Subject: SUMMARY: Problems after upgrading to 4.1.2 from 4.1.1
  5. Message-ID: <JC.92Nov11063908@mynah.bu.edu>
  6. Date: 11 Nov 92 11:39:08 GMT
  7. References: <JC.92Nov9063407@raven.bu.edu>
  8. Sender: news@bu.edu
  9. Organization: What do you mean 'That *can't* be done????'
  10. Lines: 412
  11. In-reply-to: jc@raven.bu.edu's message of 9 Nov 92 11:34:07 GMT
  12.  
  13.  
  14.  
  15. My original Post:
  16.  
  17. >>>>> "James" == James F. Cameron <jc@raven.bu.edu> writes:
  18.  
  19.  
  20.   James> System: 4.1.2 on Sun4 server with Sun4c clients
  21.  
  22.   James> Problems:
  23.  
  24.   James> A.  Domain Service no longer works.  I am running NIS and
  25.   James>     have 'B=-b' uncommented in the yp Makefile.  The server
  26.   James>     is a local machine to BU and /etc/hosts only contains
  27.   James>     info for local machines.  /etc/resolv.conf points to
  28.   James>     machine which contains all the necessary host
  29.   James>     information.  However, it does not seem to be getting
  30.   James>     this info dynamically.  nslookup works fine.
  31.  
  32.  
  33.   James> B.  X11R4 - xterm -C no longer works.  It seems that the
  34.   James>     console is no longer changing ownership when someone logs
  35.   James>     in via xdm.
  36.  
  37.   James> C.  And certainly many more as I play with the system.  What
  38.   James>     are the necessary patches to install for 4.1.2?  Any
  39.   James>     other points, thoughts, suggestions would be greatly
  40.   James>     appreciated!!
  41.  
  42.  
  43. Current solutions:
  44.  
  45. A.  Use 'ypserv -d > /dev/null'  This works but I believe it is rather
  46.     slow.  I got many different methods of fixing this problem but
  47.     there should be one way - one Sun way.  What exactly is the proper
  48.     method to get DNS running on a NIS server which only contains
  49.     local hosts?  
  50.  
  51. B.  Using a patched version of xlogin which does the necessary
  52.     changes.  The one problem with this is that it does not seem to
  53.     get the necessary resourdes from ../xdm/Xresources so it says to
  54.     contact me (the sys.admin).  
  55.  
  56. C.  No one sent a required patch list for 4.1.2. 
  57.  
  58. Thanks to everyone who sent a message including:  
  59.  
  60. macphed@dvinci.usask.ca (Ian MacPhedran)
  61. phil@dgbt.doc.ca (Phil Blanchfield)
  62. Paul Bournival <paulb@hyphen.com>
  63. jose.piquer@dcc.uchile.cl (Jo Piquer)
  64. baumann@proton.llumc.edu (Michael Baumann)
  65. steve@wintermute.ucsd.edu
  66. macphed@dvinci.usask.ca (Ian MacPhedran)
  67. poul@nilu.no
  68.  
  69.  
  70.  
  71.  
  72. Status: RO
  73. X-VM-v5-Data: ([nil nil nil nil t nil nil nil nil]
  74.     [nil "" "09" "November" "1992" "08:54:21" "-0600" "Ian MacPhedran" "macphed@dvinci.usask.ca " "<9211091454.AA22234@dvinci.USask.ca>" "23" "Re:  Problems after upgrading to 4.1.2 from 4.1.1" "^From:" nil nil "11"])
  75. Return-Path:  <macphed@dvinci.usask.ca>
  76. Received: from SASK.USask.CA ([128.233.1.12]) by raven.bu.edu (12/20/89); Mon, 9 Nov 92 09:55:07 EST
  77. Received: from dvinci.USask.ca by SASK.USask.CA (PMDF #2853 ) id
  78.  <01GQXXCVYIIO91WMGT@SASK.USask.CA>; Mon, 9 Nov 1992 08:57:55 CST
  79. Received: by dvinci.USask.ca (4.1/SMI-3.2); Mon,
  80.  9 Nov 92 08:54:21 CST id AA22234 for jc@raven.bu.edu
  81. Message-Id: <9211091454.AA22234@dvinci.USask.ca>
  82. X-Envelope-To: jc@raven.bu.edu
  83. Content-Transfer-Encoding: 7BIT
  84. From: macphed@dvinci.usask.ca (Ian MacPhedran)
  85. To: jc@raven.bu.edu
  86. Subject: Re:  Problems after upgrading to 4.1.2 from 4.1.1
  87. Date: 09 Nov 1992 08:54:21 -0600 (CST)
  88.  
  89. >A.  Domain Service no longer works.
  90.  
  91. It works for us (small consolation, but ...) I'd try remaking my NIS tables:
  92. touch /etc/hosts
  93. cd /var/yp
  94. make
  95.  
  96. (Make sure that netid gets pushed as well.)
  97.  
  98. >B.  X11R4 - xterm -C no longer works.  It seems that the
  99. >console is no longer changing ownership when someone logs
  100. >in via xdm.
  101.  
  102. What we have done here is patched xlogin to do this for the user.
  103. If you wish, I could send this to you via email.  However, I would
  104. recommend moving to X11R5, and using xconsole to do your console
  105. monitoring.
  106.  
  107. Ian.
  108. - ----------------------------------------------------------------------------
  109. Ian MacPhedran,   Engineering Computer Centre,   University of Saskatchewan.
  110. 2B13 Engineering Building, U. of S. Campus, Saskatoon, Sask., CANADA S7N 0W0
  111. macphed@dvinci.USask.CA     (306) 966-4832      Ian_MacPhedran@engr.USask.CA
  112.  
  113. ------------------------------
  114.  
  115. Status: RO
  116. X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
  117.     [nil "Mon" "9" "November" "92" "10:41:28" "EST" "Phil Blanchfield" "phil@dgbt.doc.ca " nil "27" "Re: Problems after upgrading to 4.1.2 from 4.1.1" "^From:" nil nil "11"])
  118. Return-Path:  <phil@dgbt.doc.ca>
  119. Received: from dgbt.doc.ca ([142.92.36.1]) by raven.bu.edu (12/20/89); Mon, 9 Nov 92 10:41:27 EST
  120. Received: by dgbt.doc.ca (4.1/smail2.5/12-02-88)
  121.     id AA16397; Mon, 9 Nov 92 10:41:28 EST
  122. Message-Id: <9211091541.AA16397@dgbt.doc.ca>
  123. In-Reply-To: jc@raven.bu.edu (James F. Cameron)
  124.        "Problems after upgrading to 4.1.2 from 4.1.1" (Nov  9,  6:33am)
  125. Reply-To: phil@dgbt.doc.ca
  126. X-Mailer: Mail User's Shell (6.5 4/17/89)
  127. From: phil@dgbt.doc.ca (Phil Blanchfield)
  128. To: jc@raven.bu.edu (James F. Cameron)
  129. Subject: Re: Problems after upgrading to 4.1.2 from 4.1.1
  130. Date: Mon, 9 Nov 92 10:41:28 EST
  131.  
  132. On Nov 9,  6:33am, James F. Cameron wrote:
  133. } Subject: Problems after upgrading to 4.1.2 from 4.1.1
  134. > System:   4.1.2 on Sun4 server with Sun4c clients
  135. > Problems:
  136. >     A.  Domain Service no longer works.  I am running NIS and have
  137. >         'B=-b' uncommented in the yp Makefile.  The server is a
  138. >         local machine to BU and /etc/hosts only contains info for
  139. >         local machines.  /etc/resolv.conf points to machine which
  140. >         contains all the necessary host information.  However, it
  141. >         does not seem to be getting this info dynamically.
  142. >         nslookup works fine.  
  143.  
  144. Under 4.1.1 I had installed the MX version of sendmail by copying 
  145. /usr/lib/sendmail.mx to /usr/lib/sendmail. After the "upgrade" I noticed that
  146. the vanilla sendmail had been re-installed. I simply did the copy
  147. (ie cp /usr/lib/sendmail.mx /usr/lib/sendmail) over again.  I had no trouble
  148. with DNS besides this.
  149.  
  150.  
  151. - -- 
  152. Phil Blanchfield
  153. The Communications Research Centre 3701 Carling Avenue, Ottawa Ontario CANADA
  154. Internet: phil@dgbt.doc.ca
  155.  
  156. ------------------------------
  157.  
  158. Status: RO
  159. X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
  160.     [nil "Mon" "9" "November" "92" "10:48:23" "EST" "Paul Bournival" "paulb@hyphen.com" nil "8" "Re: Problems after upgrading to 4.1.2 from 4.1.1" "^From:" nil nil "11"])
  161. Return-Path:  <paulb@hyphen.com>
  162. Received: from uu.psi.com by raven.bu.edu (12/20/89); Mon, 9 Nov 92 11:10:18 EST
  163. Received: from hyphen.com by uu.psi.com (5.65b/4.1.031792-PSI/PSINet)
  164.     id AA07749; Mon, 9 Nov 92 10:59:45 -0500
  165. Message-Id: <22031.9211091548@hyphen.com>
  166. Received: from pbournival.hyphen.com by hyphen.com; Mon, 9 Nov 92 10:48:23 EST
  167. From: Paul Bournival <paulb@hyphen.com>
  168. To: jc@raven.bu.edu
  169. Subject: Re: Problems after upgrading to 4.1.2 from 4.1.1
  170. Date: Mon, 9 Nov 92 10:48:23 EST
  171.  
  172.  
  173. Hi James!
  174.  
  175.   Problem A: The only thing that rings a bell is that you must now load
  176. the dynamic libraries (shlib). I dont think the installer would do this for
  177. you. right now you have the static libraries, which don't use the DNS.
  178.  Hope this helps!
  179. - -paulb
  180.  
  181. ------------------------------
  182.  
  183. Status: RO
  184. X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
  185.     [nil "Mon" "9" "November" "92" "14:01:43" "CDT" "Jo Piquer" "jose.piquer@dcc.uchile.cl " nil "26" "Re: Problems after upgrading to 4.1.2 from 4.1.1" "^From:" nil nil "11"])
  186. Received: from dcc.uchile.cl by raven.bu.edu (12/20/89); Mon, 9 Nov 92 12:04:43 EST
  187. Return-Path: <jpiquer@dcc.uchile.cl>
  188. Received: from tortel.dcc.uchile.cl by dcc.uchile.cl (4.1/SMI-4.0)
  189.     id AA29629; Mon, 9 Nov 92 14:01:43 CDT
  190. Message-Id: <9211091701.AA29629@dcc.uchile.cl>
  191. Received: by tortel.dcc.uchile.cl (4.1/SMI-4.1)
  192.     id AA15528; Mon, 9 Nov 92 14:03:41 CDT
  193. From: jose.piquer@dcc.uchile.cl (Jo Piquer)
  194. To: jc@raven.bu.edu (James F. Cameron)
  195. Subject: Re: Problems after upgrading to 4.1.2 from 4.1.1
  196. Date: Mon, 9 Nov 92 14:01:43 CDT
  197.  
  198. In article <9211091133.AA05426@raven.bu.edu>, you write:
  199. >
  200. >Problems:
  201. >
  202. >    A.  Domain Service no longer works.  I am running NIS and have
  203. >        'B=-b' uncommented in the yp Makefile.  The server is a
  204. >        local machine to BU and /etc/hosts only contains info for
  205. >        local machines.  /etc/resolv.conf points to machine which
  206. >        contains all the necessary host information.  However, it
  207. >        does not seem to be getting this info dynamically.
  208. >        nslookup works fine.  
  209. >
  210.  
  211.     I suggest you to install the resolv+ package in your libc, it
  212. permits to configure your name lookups. We are running it on top of
  213. 4.1.1 and 4.1.2 machines on all our network (approx 30 suns). It's
  214. very easy to install on sun machines, just follow the intructions carefully.
  215. The libc by Sun does not query the nameserver by default.
  216.  
  217.     anonymous ftp: resolv+-2.0.tar.Z
  218. (/pub/misc, ferkel.ucsb.edu)
  219.  
  220. There is a 2.1 version but there is a bug in it, it will be corrected
  221. and installed one day on ftp.uu.net.
  222.  
  223.    Jose' Piquer (jpiquer@dcc.uchile.cl)
  224.  
  225. ------------------------------
  226.  
  227. Status: RO
  228. X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
  229.     [nil "Mon" "9" "November" "92" "10:01:23" "PST" "Michael Baumann" "baumann@proton.llumc.edu " nil "27" "Re: Problems after upgrading to 4.1.2 from 4.1.1" "^From:" nil nil "11"])
  230. Return-Path:  <baumann@proton.llumc.edu>
  231. Received: from proton.llumc.edu by raven.bu.edu (12/20/89); Mon, 9 Nov 92 13:01:31 EST
  232. Received: from mycroft.llumc.edu by proton.llumc.edu (4.0/SMI-4.1)
  233.     id AA04024; Mon, 9 Nov 92 10:01:23 PST
  234. Message-Id: <9211091801.AA04024@proton.llumc.edu>
  235. From: baumann@proton.llumc.edu (Michael Baumann)
  236. To: jc@raven.bu.edu
  237. Subject: Re: Problems after upgrading to 4.1.2 from 4.1.1
  238. Date: Mon, 9 Nov 92 10:01:23 PST
  239.  
  240. /etc/pccd -e /usr/lib/pcc_keys -l /usr/adm/pcclm.log -m .25m 2>
  241. >
  242. >System:   4.1.2 on Sun4 server with Sun4c clients
  243. >
  244. >Problems:
  245. >
  246. >    A.  Domain Service no longer works.  I am running NIS and have
  247. >        'B=-b' uncommented in the yp Makefile.  The server is a
  248. >        local machine to BU and /etc/hosts only contains info for
  249. >        local machines.  /etc/resolv.conf points to machine which
  250. >        contains all the necessary host information.  However, it
  251. >        does not seem to be getting this info dynamically.
  252. >        nslookup works fine.  
  253. change the startup of your ypserv to be ypserv -d. This will force the
  254. server to do DNS lookups when the NIS lookup fails.
  255. >
  256. >    B.  X11R4 - xterm -C no longer works.  It seems that the
  257. >              console is no longer changing ownership when someone logs
  258. >              in via xdm.  
  259. This is because sun finally fixed the security hole associated with that
  260. ioctl.  xdm owns the console, and will not allow another process to steal it.
  261.  
  262. Michael Baumann
  263. Radiation Research Lab        |Internet: baumann@proton.llumc.edu
  264. Loma Linda Universtiy Medical Center |        UUCP: ...ucrmath!proton!baumann
  265. Loma Linda, California. (714)824-4077|
  266.  
  267. ------------------------------
  268.  
  269. Status: RO
  270. X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
  271.     [nil "Mon" "09" "November" "92" "11:07:46" "-0800" "steve@wintermute.ucsd.edu" "steve@wintermute.ucsd.edu" nil "15" "Re: Problems after upgrading to 4.1.2 from 4.1.1 " "^From:" nil nil "11"])
  272. Return-Path:  <steve@wintermute.ucsd.edu>
  273. Received: from ucsd.edu by raven.bu.edu (12/20/89); Mon, 9 Nov 92 15:08:41 EST
  274. Received: from wintermute.ucsd.edu by ucsd.edu; id AA11964
  275.     sendmail 5.67/UCSD-2.2-sun via SMTP
  276.     Mon, 9 Nov 92 12:08:34 -0800 for jc@raven.bu.edu
  277. Received: from localhost.UCSD.EDU by wintermute.UCSD.EDU (4.1/UCSDGENERIC.4)
  278.     id AA07944 to jc@raven.bu.edu; Mon, 9 Nov 92 11:07:49 PST
  279. Message-Id: <9211091907.AA07944@wintermute.UCSD.EDU>
  280. In-Reply-To: Your message of "Mon, 09 Nov 92 06:33:19 EST."
  281.              <9211091133.AA05426@raven.bu.edu> 
  282. From: steve@wintermute.ucsd.edu
  283. To: jc@raven.bu.edu (James F. Cameron)
  284. Subject: Re: Problems after upgrading to 4.1.2 from 4.1.1 
  285. Date: Mon, 09 Nov 92 11:07:46 -0800
  286.  
  287.  
  288. well, for the DNS part of your question you need to get a new copy
  289. of the resolver library.
  290. I believe there is one ucsd.edu (128.54.16.1) in the
  291. /incoming/libc.so.1.7.1.   This file goes in /usr/lib.
  292. after copying it there type ldconfig as root and try out DNS.
  293. I haven't tested the library yet, but it did come from sun.
  294.  
  295.  
  296.  
  297.     Steve Misrack
  298.     steve@ucsd.edu
  299.     UCSD Network Operations
  300.     (619) 534-7485 voice
  301.     (619) 534-1746 fax
  302.  
  303. ------------------------------
  304.  
  305. Status: RO
  306. X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
  307.     [nil "Mon" "9" "November" "92" "18:16:00" nil "jc" "jc" nil "24" "Re:  Problems after upgrading to 4.1.2 from 4.1.1" "^To:" "macphed@dvinci.usask.ca" "Ian MacPhedran" "11"])
  308. In-Reply-To: <9211091454.AA22234@dvinci.USask.ca>
  309. References: <9211091454.AA22234@dvinci.USask.ca>
  310. To: macphed@dvinci.usask.ca (Ian MacPhedran)
  311. Subject: Re:  Problems after upgrading to 4.1.2 from 4.1.1
  312.  
  313. >>>>> "Ian" == Ian MacPhedran <macphed@dvinci.usask.ca> writes:
  314.  
  315. [..]
  316.  
  317. >B.  X11R4 - xterm -C no longer works.  It seems that the console is
  318. >no longer changing ownership when someone logs in via xdm.
  319.  
  320.   Ian> What we have done here is patched xlogin to do this for the
  321.   Ian> user.  If you wish, I could send this to you via email.
  322.   Ian> However, I would recommend moving to X11R5, and using xconsole
  323.   Ian> to do your console monitoring.
  324.  
  325.   Ian> Ian.
  326.  
  327. Since at this time we cannot install R5 I would greatly appreciate it
  328. if you could send or provide via anonymous ftp the patched version of
  329. xlogin.  
  330.  
  331. Thank you for your time!
  332.  
  333. James
  334.  
  335. ------------------------------
  336.  
  337. Status: RO
  338. X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
  339.     [nil "" "09" "November" "1992" "17:41:47" "-0600" "Ian MacPhedran" "macphed@dvinci.usask.ca " nil "26" "Re:  Problems after upgrading to 4.1.2 from 4.1.1" "^From:" nil nil "11"])
  340. Return-Path:  <macphed@dvinci.usask.ca>
  341. Received: from SASK.USask.CA (skycat.usask.ca) by raven.bu.edu (12/20/89); Mon, 9 Nov 92 18:42:11 EST
  342. Received: from dvinci.USask.ca by SASK.USask.CA (PMDF #2853 ) id
  343.  <01GQYFRSDEWW91WTD3@SASK.USask.CA>; Mon, 9 Nov 1992 17:45:19 CST
  344. Received: by dvinci.USask.ca (4.1/SMI-3.2); Mon,
  345.  9 Nov 92 17:41:47 CST id AA25294 for jc@raven.bu.edu
  346. Message-Id: <9211092341.AA25294@dvinci.USask.ca>
  347. X-Envelope-To: jc@raven.bu.edu
  348. Content-Transfer-Encoding: 7BIT
  349. From: macphed@dvinci.usask.ca (Ian MacPhedran)
  350. To: jc@raven.bu.edu
  351. Subject: Re:  Problems after upgrading to 4.1.2 from 4.1.1
  352. Date: 09 Nov 1992 17:41:47 -0600 (CST)
  353.  
  354. >>B.  X11R4 - xterm -C no longer works.  It seems that the console is
  355. >>no longer changing ownership when someone logs in via xdm.
  356. >
  357. >  Ian> What we have done here is patched xlogin to do this for the
  358. >  Ian> user.  If you wish, I could send this to you via email.
  359. >  Ian> However, I would recommend moving to X11R5, and using xconsole
  360. >  Ian> to do your console monitoring.
  361. >
  362. >  Ian> Ian.
  363. >
  364. >Since at this time we cannot install R5 I would greatly appreciate it
  365. >if you could send or provide via anonymous ftp the patched version of
  366. >xlogin.  
  367. >
  368. >Thank you for your time!
  369. >
  370. >James
  371.  
  372. Okay, try ftping to imhotep.usask.ca, in the directory pub/X, file
  373. xlogin.tar.Z. While I haven't documented it, there are two compilation
  374. flags to set:
  375. CONSOLE (already done in the Imakefile)
  376. CONSOLEDEV (defaults to /dev/console - should be no problem if
  377.      you don't define it.)
  378.  
  379. Ian.
  380.  
  381. ------------------------------
  382.  
  383. Status: RO
  384. X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
  385.     [nil "Tue" "10" "November" "92" "08:54:37" "+0100" "poul@nilu.no" "poul@nilu.no" nil "15" "Re:  Problems after upgrading to 4.1.2 from 4.1.1" "^From:" nil nil "11"])
  386. Return-Path:  <poul@nilu.no>
  387. Received: from nilu.no (zardoz.nilu.no) by raven.bu.edu (12/20/89); Tue, 10 Nov 92 02:50:46 EST
  388. Received: by nilu.no (4.1/SMI-4.1)
  389.     id AA06424; Tue, 10 Nov 92 08:54:37 +0100
  390. Message-Id: <9211100754.AA06424@nilu.no>
  391. From: poul@nilu.no
  392. To: jc@raven.bu.edu
  393. Subject: Re:  Problems after upgrading to 4.1.2 from 4.1.1
  394. Date: Tue, 10 Nov 92 08:54:37 +0100
  395.  
  396. B
  397.  
  398. Use the Xstartup/Xrteset files to chown/chmod /dev/console
  399.  
  400.  
  401.                                  hilsen/regards
  402.  
  403.                                      Poul.
  404.  
  405.  
  406.  
  407. - ---
  408. #define E_MAIL  Poul.Sorensen@nilu.no
  409. #define CC      +-1     /* the computer constant - very usefull when writing loops. */
  410.  
  411.  
  412. ------- End of digest -------
  413. --
  414.             -- James Cameron  (jc@raven.bu.edu) (617) 353-2879
  415.                       
  416.     System Manager, Signal Processing and Interpretation Lab.  Boston, Mass  
  417. ------------------------------------------------------------------------------
  418. "But to risk we must, for the greatest hazard in life is to risk nothing.  For
  419. the man or woman who risks nothing, has nothing, does nothing, is nothing."
  420.     (Quote from the eulogy for the late Christa McAuliffe.)
  421.