On 21/06/12 20:27, Roger Leigh wrote:
On Thu, Jun 21, 2012 at 07:18:09PM +0100, Alan Chandler wrote:
I found the problem.  Its in /etc/init.d/mountall.sh

This script calls the mount-functions.sh script in /lib/init

One of the things it does is attempt to mount /run as a tmpfs and
just after that the udev messages I already showed started happening

The key to this was in the boot log output where I have verbose set
to "YES" and the line it output was

Thu Jun 21 18:12:43 2012: [....] Files under mount point '/run' will
be hidden.
Do you have an entry in /etc/fstab for /run?

The first three fields *must* be

tmpfs /run tmpfs

or it will think the filesystem type doesn't match, and do a new
mount rather than a remount.

I don't have an entry in /etc/fstab.

How was it supposed to get there? I have had the same /etc/fstab as with installation - plus the manually editing by me last february to add the lvm volumes reported in the boot log.

I also notice there is an /etc/fstab.d directory, but that is empty

any way I will try adding it and rebooting after I have sent this e-mail to see if that sorts me out.

I tried commenting out the actual mount of /run but it meant that
even in recovery mode I had no keyboard, and hotpluging it in and
out didn't restore it. I had to use a rescue disk to recover the
system.  However when I did comment it out, these messages from
udevd stopped.
Are you using an initramfs?  It should already be mounted if so.
And in this situation, it should just result in a remount with
the options from /etc/fstab.  If you're not, it should mount it
in mountkernfs and then remount in mountall if there's an fstab
entry.
I have an initramfs produced as standard by what ever mechanism debian uses. I haven't touched it.

This is as documented in tmpfs(5).

My /etc/default/tmpfs was last modified (not be me) on Jun 8 and contains only comments.

--
Alan Chandler
http://www.chandlerfamily.org.uk




_______________________________________________
Pkg-sysvinit-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-sysvinit-devel

Reply via email to