On Sun, Mar 02, 2003 at 12:51:04AM +0900, GOTO Masanori wrote:
> Yes, /bin/sh example makes sense. Binaries contained in bash and
> libc6 and sysvinit should exist at the same time. This bootstraping
> problem lies all over the essential packages.
Yup.
> BTW, postinst has another file-rc checking:
> check="$check inetd"
> rl=$(runlevel | awk '{print $2}')
> for service in $check; do
> if [ -f /usr/share/file-rc/rc -a -f /etc/runlevel.conf ]; then
> idl=$(filerc $rl $service)
> else
> idl=$(ls /etc/rc${rl}.d/S??${service} 2> /dev/null | head -1)
> fi
> This place is changed simply as checking -f /usr/{share,lib}/file-rc/rc.
Yick. You might be able to use invoke-rc.d here instead? You'll probably
end up with circular dependencies on upgrades then though :(
Cheers,
aj
--
Anthony Towns <aj@humbug.org.au> <http://azure.humbug.org.au/~aj/>
I don't speak for anyone save myself. GPG signed mail preferred.
``Dear Anthony Towns: [...] Congratulations --
you are now certified as a Red Hat Certified Engineer!''
Attachment:
pgpt06U0IAAZK.pgp
Description: PGP signature