What's happening is that init still has mmaped a deleted version
of /etc/ld.so.cache (ldconfig deleted the old one when building
a new one). This deleted file which still has some live reference
prevents the RO remount of root.
Using -static linking fixes this (and also the case when you
just reinstalled your libc). Or you could still link dynamically, but with
"-Wl,-rpath,/lib". When ld-linux.so looks for libc, it first
checks the RPATH contained in the executable (if any). Failing that
it will mmap /etc/ld.so.cache and use the information there.
I'm using the latter and the dirty shutdowns have gone away :)
Cheers, Roderich
-- Neben Eden ebenNeben Amor nie adretter die Liebe grte!
Bier! Feten! Gesegnete Freibetrge! Bei Leid Retter da!
.. ein Roman eben.
Roderich Schupp mailto:rsch@ExperTeam.de ExperTeam GmbH http://www.experteam.de/ Munich, Germany linux:2.1.122
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/