ISC ?
Rick Richardson
rick at pcrat.uucp
Tue Dec 12 00:59:36 AEST 1989
In article <511068 at nstar.UUCP> larry at nstar.UUCP (Larry Snyder) writes:
>port as the primary com port - which works (called unix.10 at boot time) but
>after every powerdown my system wants to "re-link" the kernel then after
>rebooting I loose control on all com ports.
This happens after you've built kernels the ISC way (kconfig) and the
AT&T way (usually performed by an installable device driver). As
you discovered later, you have to remove /etc/conf/cf.d/unix manually,
or change the scripts. We ship our software the AT&T way, since
it is the most portable, and I suspect that most vendors will do
the same. The ISC way has advantages, though, and I wish that
the vendors had come to a mutually agreeable merge, rather than
trying to simultaneously support both (actually three, if you count SCO).
There's another bug (AT&T created; not yet fixed in ISC) you can run into
that may cause similar problems. Here is the info I sent to ISC
about the bug. AT&T UNIX SVR3.2 also has this bug. If you make
these changes to your scripts now, you won't get a surprise later.
SUBSYSTEM: installpkg
VERSION: 2.0.2 (possibly, likely, in earlier releases)
DATE: 11/11/89 (Acked 11/19)
SUMMARY: Can't install two installable packages which have
rc and/or sd scripts.
FILES: /etc/conf/bin/idmkenv
DESCRIPTION:
Starting at line 24, the code looks like this:
if [ -f /etc/conf/rc.d/* ]
then
for rc in /etc/conf/rc.d/*
do
ln $rc /etc/idrc.d
done
fi
if [ -f /etc/conf/sd.d/* ]
then
for sd in /etc/conf/sd.d/*
do
ln $sd /etc/idsd.d
done
fi
Both "-f" tests will fail if more than one script exists
in these directories.
SEVERITY:
Urgent. Third party install packages fail to install
properly, or break previous installations.
SUGGESTED FIX:
if [ -d /etc/conf/rc.d ]
then
for rc in `find /etc/conf/rc.d -type f -print`
do
ln $rc /etc/idrc.d
done
fi
if [ -d /etc/conf/sd.d ]
then
for sd in `find /etc/conf/sd.d -type f -print`
do
ln $sd /etc/idsd.d
done
fi
--
Rick Richardson | Looking for FAX software for UNIX/386 ?????? mention
PC Research,Inc.| WE'RE SHIPPING your
uunet!pcrat!rick| Ask about FaxiX - UNIX Facsimile System (tm) FAX #
(201) 389-8963 | Or JetRoff - troff postprocessor for the HP {Laser,Desk}Jet
More information about the Comp.unix.i386
mailing list