From: jc@raven.bu.edu (James F. Cameron)
Newsgroups: comp.sys.sun.admin
Subject: SUMMARY: Problems after upgrading to 4.1.2 from 4.1.1
Date: 11 Nov 92 11:39:08 GMT
Organization: What do you mean 'That *can't* be done????'
In-reply-to: jc@raven.bu.edu's message of 9 Nov 92 11:34:07 GMT



My original Post:

>>>>> "James" == James F. Cameron <jc@raven.bu.edu> writes:


  James> System: 4.1.2 on Sun4 server with Sun4c clients

  James> Problems:

  James> A.  Domain Service no longer works.  I am running NIS and
  James>     have 'B=-b' uncommented in the yp Makefile.  The server
  James>     is a local machine to BU and /etc/hosts only contains
  James>     info for local machines.  /etc/resolv.conf points to
  James>     machine which contains all the necessary host
  James>     information.  However, it does not seem to be getting
  James>     this info dynamically.  nslookup works fine.


  James> B.  X11R4 - xterm -C no longer works.  It seems that the
  James>     console is no longer changing ownership when someone logs
  James>     in via xdm.

  James> C.  And certainly many more as I play with the system.  What
  James>     are the necessary patches to install for 4.1.2?  Any
  James>     other points, thoughts, suggestions would be greatly
  James>     appreciated!!


Current solutions:

A.  Use 'ypserv -d > /dev/null'  This works but I believe it is rather
    slow.  I got many different methods of fixing this problem but
    there should be one way - one Sun way.  What exactly is the proper
    method to get DNS running on a NIS server which only contains
    local hosts?  

B.  Using a patched version of xlogin which does the necessary
    changes.  The one problem with this is that it does not seem to
    get the necessary resourdes from ../xdm/Xresources so it says to
    contact me (the sys.admin).  

C.  No one sent a required patch list for 4.1.2. 

Thanks to everyone who sent a message including:  

macphed@dvinci.usask.ca (Ian MacPhedran)
phil@dgbt.doc.ca (Phil Blanchfield)
Paul Bournival <paulb@hyphen.com>
jose.piquer@dcc.uchile.cl (Jo Piquer)
baumann@proton.llumc.edu (Michael Baumann)
steve@wintermute.ucsd.edu
macphed@dvinci.usask.ca (Ian MacPhedran)
poul@nilu.no




Status: RO
X-VM-v5-Data: ([nil nil nil nil t nil nil nil nil]
	[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"])
Return-Path:  <macphed@dvinci.usask.ca>
Received: from SASK.USask.CA ([128.233.1.12]) by raven.bu.edu (12/20/89); Mon, 9 Nov 92 09:55:07 EST
Received: from dvinci.USask.ca by SASK.USask.CA (PMDF #2853 ) id
 <01GQXXCVYIIO91WMGT@SASK.USask.CA>; Mon, 9 Nov 1992 08:57:55 CST
Received: by dvinci.USask.ca (4.1/SMI-3.2); Mon,
 9 Nov 92 08:54:21 CST id AA22234 for jc@raven.bu.edu
Message-Id: <9211091454.AA22234@dvinci.USask.ca>
X-Envelope-To: jc@raven.bu.edu
Content-Transfer-Encoding: 7BIT
From: macphed@dvinci.usask.ca (Ian MacPhedran)
To: jc@raven.bu.edu
Subject: Re:  Problems after upgrading to 4.1.2 from 4.1.1
Date: 09 Nov 1992 08:54:21 -0600 (CST)

>A.  Domain Service no longer works.

It works for us (small consolation, but ...) I'd try remaking my NIS tables:
touch /etc/hosts
cd /var/yp
make

(Make sure that netid gets pushed as well.)

>B.  X11R4 - xterm -C no longer works.  It seems that the
>console is no longer changing ownership when someone logs
>in via xdm.

What we have done here is patched xlogin to do this for the user.
If you wish, I could send this to you via email.  However, I would
recommend moving to X11R5, and using xconsole to do your console
monitoring.

Ian.
- ----------------------------------------------------------------------------
Ian MacPhedran,   Engineering Computer Centre,   University of Saskatchewan.
2B13 Engineering Building, U. of S. Campus, Saskatoon, Sask., CANADA S7N 0W0
macphed@dvinci.USask.CA     (306) 966-4832      Ian_MacPhedran@engr.USask.CA

------------------------------

Status: RO
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[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"])
Return-Path:  <phil@dgbt.doc.ca>
Received: from dgbt.doc.ca ([142.92.36.1]) by raven.bu.edu (12/20/89); Mon, 9 Nov 92 10:41:27 EST
Received: by dgbt.doc.ca (4.1/smail2.5/12-02-88)
	id AA16397; Mon, 9 Nov 92 10:41:28 EST
Message-Id: <9211091541.AA16397@dgbt.doc.ca>
       "Problems after upgrading to 4.1.2 from 4.1.1" (Nov  9,  6:33am)
Reply-To: phil@dgbt.doc.ca
X-Mailer: Mail User's Shell (6.5 4/17/89)
From: phil@dgbt.doc.ca (Phil Blanchfield)
To: jc@raven.bu.edu (James F. Cameron)
Subject: Re: Problems after upgrading to 4.1.2 from 4.1.1
Date: Mon, 9 Nov 92 10:41:28 EST

On Nov 9,  6:33am, James F. Cameron wrote:
} Subject: Problems after upgrading to 4.1.2 from 4.1.1
> 
> 
> System:   4.1.2 on Sun4 server with Sun4c clients
> 
> Problems:
> 
> 	A.  Domain Service no longer works.  I am running NIS and have
> 	    'B=-b' uncommented in the yp Makefile.  The server is a
> 	    local machine to BU and /etc/hosts only contains info for
> 	    local machines.  /etc/resolv.conf points to machine which
> 	    contains all the necessary host information.  However, it
> 	    does not seem to be getting this info dynamically.
> 	    nslookup works fine.  

Under 4.1.1 I had installed the MX version of sendmail by copying 
/usr/lib/sendmail.mx to /usr/lib/sendmail. After the "upgrade" I noticed that
the vanilla sendmail had been re-installed. I simply did the copy
(ie cp /usr/lib/sendmail.mx /usr/lib/sendmail) over again.  I had no trouble
with DNS besides this.


- -- 
Phil Blanchfield
The Communications Research Centre 3701 Carling Avenue, Ottawa Ontario CANADA
Internet: phil@dgbt.doc.ca

------------------------------

Status: RO
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[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"])
Return-Path:  <paulb@hyphen.com>
Received: from uu.psi.com by raven.bu.edu (12/20/89); Mon, 9 Nov 92 11:10:18 EST
Received: from hyphen.com by uu.psi.com (5.65b/4.1.031792-PSI/PSINet)
	id AA07749; Mon, 9 Nov 92 10:59:45 -0500
Message-Id: <22031.9211091548@hyphen.com>
Received: from pbournival.hyphen.com by hyphen.com; Mon, 9 Nov 92 10:48:23 EST
From: Paul Bournival <paulb@hyphen.com>
To: jc@raven.bu.edu
Subject: Re: Problems after upgrading to 4.1.2 from 4.1.1
Date: Mon, 9 Nov 92 10:48:23 EST


Hi James!

  Problem A: The only thing that rings a bell is that you must now load
the dynamic libraries (shlib). I dont think the installer would do this for
you. right now you have the static libraries, which don't use the DNS.
 Hope this helps!
- -paulb

------------------------------

Status: RO
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[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"])
Received: from dcc.uchile.cl by raven.bu.edu (12/20/89); Mon, 9 Nov 92 12:04:43 EST
Return-Path: <jpiquer@dcc.uchile.cl>
Received: from tortel.dcc.uchile.cl by dcc.uchile.cl (4.1/SMI-4.0)
	id AA29629; Mon, 9 Nov 92 14:01:43 CDT
Message-Id: <9211091701.AA29629@dcc.uchile.cl>
Received: by tortel.dcc.uchile.cl (4.1/SMI-4.1)
	id AA15528; Mon, 9 Nov 92 14:03:41 CDT
From: jose.piquer@dcc.uchile.cl (Jo Piquer)
To: jc@raven.bu.edu (James F. Cameron)
Subject: Re: Problems after upgrading to 4.1.2 from 4.1.1
Date: Mon, 9 Nov 92 14:01:43 CDT

In article <9211091133.AA05426@raven.bu.edu>, you write:
>
>Problems:
>
>	A.  Domain Service no longer works.  I am running NIS and have
>	    'B=-b' uncommented in the yp Makefile.  The server is a
>	    local machine to BU and /etc/hosts only contains info for
>	    local machines.  /etc/resolv.conf points to machine which
>	    contains all the necessary host information.  However, it
>	    does not seem to be getting this info dynamically.
>	    nslookup works fine.  
>

    I suggest you to install the resolv+ package in your libc, it
permits to configure your name lookups. We are running it on top of
4.1.1 and 4.1.2 machines on all our network (approx 30 suns). It's
very easy to install on sun machines, just follow the intructions carefully.
The libc by Sun does not query the nameserver by default.

    anonymous ftp: resolv+-2.0.tar.Z
(/pub/misc, ferkel.ucsb.edu)

There is a 2.1 version but there is a bug in it, it will be corrected
and installed one day on ftp.uu.net.

   Jose' Piquer (jpiquer@dcc.uchile.cl)

------------------------------

Status: RO
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[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"])
Return-Path:  <baumann@proton.llumc.edu>
Received: from proton.llumc.edu by raven.bu.edu (12/20/89); Mon, 9 Nov 92 13:01:31 EST
Received: from mycroft.llumc.edu by proton.llumc.edu (4.0/SMI-4.1)
	id AA04024; Mon, 9 Nov 92 10:01:23 PST
Message-Id: <9211091801.AA04024@proton.llumc.edu>
From: baumann@proton.llumc.edu (Michael Baumann)
To: jc@raven.bu.edu
Subject: Re: Problems after upgrading to 4.1.2 from 4.1.1
Date: Mon, 9 Nov 92 10:01:23 PST

/etc/pccd -e /usr/lib/pcc_keys -l /usr/adm/pcclm.log -m .25m 2>
>
>System:   4.1.2 on Sun4 server with Sun4c clients
>
>Problems:
>
>	A.  Domain Service no longer works.  I am running NIS and have
>	    'B=-b' uncommented in the yp Makefile.  The server is a
>	    local machine to BU and /etc/hosts only contains info for
>	    local machines.  /etc/resolv.conf points to machine which
>	    contains all the necessary host information.  However, it
>	    does not seem to be getting this info dynamically.
>	    nslookup works fine.  
change the startup of your ypserv to be ypserv -d. This will force the
server to do DNS lookups when the NIS lookup fails.
>
>	B.  X11R4 - xterm -C no longer works.  It seems that the
>      	    console is no longer changing ownership when someone logs
>      	    in via xdm.  
This is because sun finally fixed the security hole associated with that
ioctl.  xdm owns the console, and will not allow another process to steal it.

Michael Baumann
Radiation Research Lab		|Internet: baumann@proton.llumc.edu
Loma Linda Universtiy Medical Center |        UUCP: ...ucrmath!proton!baumann
Loma Linda, California. (714)824-4077|

------------------------------

Status: RO
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[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"])
Return-Path:  <steve@wintermute.ucsd.edu>
Received: from ucsd.edu by raven.bu.edu (12/20/89); Mon, 9 Nov 92 15:08:41 EST
Received: from wintermute.ucsd.edu by ucsd.edu; id AA11964
	sendmail 5.67/UCSD-2.2-sun via SMTP
	Mon, 9 Nov 92 12:08:34 -0800 for jc@raven.bu.edu
Received: from localhost.UCSD.EDU by wintermute.UCSD.EDU (4.1/UCSDGENERIC.4)
	id AA07944 to jc@raven.bu.edu; Mon, 9 Nov 92 11:07:49 PST
Message-Id: <9211091907.AA07944@wintermute.UCSD.EDU>
             <9211091133.AA05426@raven.bu.edu> 
From: steve@wintermute.ucsd.edu
To: jc@raven.bu.edu (James F. Cameron)
Subject: Re: Problems after upgrading to 4.1.2 from 4.1.1 
Date: Mon, 09 Nov 92 11:07:46 -0800


well, for the DNS part of your question you need to get a new copy
of the resolver library.
I believe there is one ucsd.edu (128.54.16.1) in the
/incoming/libc.so.1.7.1.   This file goes in /usr/lib.
after copying it there type ldconfig as root and try out DNS.
I haven't tested the library yet, but it did come from sun.



	Steve Misrack
	steve@ucsd.edu
	UCSD Network Operations
	(619) 534-7485 voice
	(619) 534-1746 fax

------------------------------

Status: RO
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[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"])
To: macphed@dvinci.usask.ca (Ian MacPhedran)
Subject: Re:  Problems after upgrading to 4.1.2 from 4.1.1

>>>>> "Ian" == Ian MacPhedran <macphed@dvinci.usask.ca> writes:

[..]

>B.  X11R4 - xterm -C no longer works.  It seems that the console is
>no longer changing ownership when someone logs in via xdm.

  Ian> What we have done here is patched xlogin to do this for the
  Ian> user.  If you wish, I could send this to you via email.
  Ian> However, I would recommend moving to X11R5, and using xconsole
  Ian> to do your console monitoring.

  Ian> Ian.

Since at this time we cannot install R5 I would greatly appreciate it
if you could send or provide via anonymous ftp the patched version of
xlogin.  

Thank you for your time!

James

------------------------------

Status: RO
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[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"])
Return-Path:  <macphed@dvinci.usask.ca>
Received: from SASK.USask.CA (skycat.usask.ca) by raven.bu.edu (12/20/89); Mon, 9 Nov 92 18:42:11 EST
Received: from dvinci.USask.ca by SASK.USask.CA (PMDF #2853 ) id
 <01GQYFRSDEWW91WTD3@SASK.USask.CA>; Mon, 9 Nov 1992 17:45:19 CST
Received: by dvinci.USask.ca (4.1/SMI-3.2); Mon,
 9 Nov 92 17:41:47 CST id AA25294 for jc@raven.bu.edu
Message-Id: <9211092341.AA25294@dvinci.USask.ca>
X-Envelope-To: jc@raven.bu.edu
Content-Transfer-Encoding: 7BIT
From: macphed@dvinci.usask.ca (Ian MacPhedran)
To: jc@raven.bu.edu
Subject: Re:  Problems after upgrading to 4.1.2 from 4.1.1
Date: 09 Nov 1992 17:41:47 -0600 (CST)

>>B.  X11R4 - xterm -C no longer works.  It seems that the console is
>>no longer changing ownership when someone logs in via xdm.
>
>  Ian> What we have done here is patched xlogin to do this for the
>  Ian> user.  If you wish, I could send this to you via email.
>  Ian> However, I would recommend moving to X11R5, and using xconsole
>  Ian> to do your console monitoring.
>
>  Ian> Ian.
>
>Since at this time we cannot install R5 I would greatly appreciate it
>if you could send or provide via anonymous ftp the patched version of
>xlogin.  
>
>Thank you for your time!
>
>James

Okay, try ftping to imhotep.usask.ca, in the directory pub/X, file
xlogin.tar.Z. While I haven't documented it, there are two compilation
flags to set:
CONSOLE (already done in the Imakefile)
CONSOLEDEV (defaults to /dev/console - should be no problem if
     you don't define it.)

Ian.

------------------------------

Status: RO
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[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"])
Return-Path:  <poul@nilu.no>
Received: from nilu.no (zardoz.nilu.no) by raven.bu.edu (12/20/89); Tue, 10 Nov 92 02:50:46 EST
Received: by nilu.no (4.1/SMI-4.1)
	id AA06424; Tue, 10 Nov 92 08:54:37 +0100
Message-Id: <9211100754.AA06424@nilu.no>
From: poul@nilu.no
To: jc@raven.bu.edu
Subject: Re:  Problems after upgrading to 4.1.2 from 4.1.1
Date: Tue, 10 Nov 92 08:54:37 +0100

B

Use the Xstartup/Xrteset files to chown/chmod /dev/console


                                 hilsen/regards

                                     Poul.



- ---
#define E_MAIL  Poul.Sorensen@nilu.no
#define CC      +-1     /* the computer constant - very usefull when writing loops. */


------- End of digest -------
--
			-- James Cameron  (jc@raven.bu.edu) (617) 353-2879
					  
    System Manager, Signal Processing and Interpretation Lab.  Boston, Mass  
------------------------------------------------------------------------------
"But to risk we must, for the greatest hazard in life is to risk nothing.  For
the man or woman who risks nothing, has nothing, does nothing, is nothing."
	(Quote from the eulogy for the late Christa McAuliffe.)
Newsgroups: comp.sys.sun.admin