Re: shutdown and not unmounting root

Stephen C. Tweedie (sct@redhat.com)
Mon, 9 Nov 1998 23:35:21 GMT


Hi,

On Sun, 08 Nov 1998 14:23:25 +0000, Dominik Strasser
<bm424953@muenchen.org> said:

> I cannot unmount the root directory in 2.1.126.

There is one known problem which can explain that (involving renaming
through non-existent directories) and which is fixed in 2.1.127.
However, the most likely explanation is that you have a user-level
configuration problem or a buggy libc. Older kernels would allow you to
remount the root readonly even if there were deleted files still left
open by some processes, but newer kernels correctly prevent that
(because to close such a file you have to have write access to the
filesystem so you can delete the data). Some glibc versions keep
/etc/ld.so.cache open permanently, so if that file ever gets rebuilt
(eg. by an automatic ldconfig during boot), init keeps an open reference
to the old, deleted version and therefore you cannot remount the root at
shutdown.

Get a newer libc or use the workaround in linux/Documentation/Changes.

--Stephen

-
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/