Re: Stuff from /bin, /sbin, /lib depending on /usr/lib libraries
- To: debian-devel@lists.debian.org
- Subject: Re: Stuff from /bin, /sbin, /lib depending on /usr/lib libraries
- From: Petter Reinholdtsen <pere@hungry.com>
- Date: Sun, 16 Dec 2012 10:38:32 +0100
- Message-id: <[🔎] 2fly5gy72w7.fsf@login2.uio.no>
- References: <20120829210221.GA5474@jwilk.net> <87ipc1mlfs.fsf@windlord.stanford.edu> <20120829223128.GA4352@p12n.org> <503E9F8F.90701@debian.org> <876281l2mp.fsf@windlord.stanford.edu> <20120830193920.GA8956@virgil.dodds.net>
[Steve Langasek]
> My knee-jerk reaction to the Fedora proposal had been that it was
> sick and wrong and would cause unacceptable breakage for users on
> upgrades if Debian adopted the same plan. However, I struggled to
> formulate a concrete scenario where losing support for that last
> configuration would actually make a difference.
I can give you one example of what we loose if stuff in / depend on
stuff in /usr/. I read the entire thread, and everyone is talking
about the boot, while ignoring the shutdown.
When using NSS modules linked to libraries in /usr/ and bash (or any
other shell loading user information at startup) as /bin/sh, the shell
scripts being run to shut down the machine will block /usr/ from being
umounted. When /usr/ is a LVM partition, this block LVM from being
shut down, and leave /usr/ in a dirty state and LVM not properly shut
down before poweroff.
Thus, having stuff in / depend on libraries in /usr/ can cause real
problems during shutdown.
See <URL: http://bugs.debian.org/120340 > and
<URL: http://bugs.debian.org/159771 > for the old story about bash and
LDAP NSS blocking umount.
--
Happy hacking
Petter Reinholdtsen
Reply to: