Hide Forgot
Description of problem: # mount -a mount: sysfs already mounted or /sys/busy mount: according to mtab, /sys is already mounted /on sys Version-Release number of selected component (if applicable): util-linux-2.19.1-1.fc15.i686 How reproducible: Always Steps to Reproduce: 1. login as root 2. run mount -a Actual results: see above. Expected results: Silence. Additional info: This is on a fresh f15 install.
This is because the entry in /etc/fstab (1st field) does not match with the way how /sys was mounted. /etc/fstab (generated by anaconda): sysfs /sys sysfs defaults 0 0 ^^^^^ /proc/mounts (probably mounted by dracut): /sys /sys sysfs rw,relatime 0 0 ^^^^ The mount(8) command uses the first two fields to check for already mounted filesytems. These fields in fstab have to match with the same fields in the table of already mounted filesystems. My suggestion is to use the same patterns everywhere (in /etc/fstab, systemd and dracut). Copy & past from systemd (where is the most complete list of the pseudo filesystems ;-): "proc", "/proc", "proc", "sysfs", "/sys", "sysfs", "devtmpfs", "/dev", "devtmpfs", "tmpfs", "/dev/shm", "tmpfs", "devpts", "/dev/pts", "devpts", "tmpfs", "/run", "tmpfs", "tmpfs", "/sys/fs/cgroup", "tmpfs", "cgroup", "/sys/fs/cgroup/systemd", "cgroup", Unfortunately dracut (modules.d/99base/init) uses: mount -t proc -o nosuid,noexec,nodev /proc /proc >/dev/null 2>&1 mount -t sysfs -o nosuid,noexec,nodev /sys /sys >/dev/null 2>&1 should be mount -t proc -o nosuid,noexec,nodev proc /proc >/dev/null 2>&1 mount -t sysfs -o nosuid,noexec,nodev sysfs /sys >/dev/null 2>&1 Reassigning to Harald.
Thanks Karel, I'd just like to add that the absolute path is: /usr/share/dracut/modules.d/99base/init
Thanks, Karel. Changes in init fix this bug. But need to update initrd.
I'm still having this issue. FYI, gb
Created attachment 525819 [details] "[FAILDED]" boot message
Created attachment 525820 [details] output of mount -a
Created attachment 525821 [details] output of mount
Created attachment 525822 [details] fstab
I have two results: 1) kernel-2.6.40-5.fc15 I have the same error. The proposed fix in comment #1 made no difference in the boot screen error. 2) kernel-2.6.40.3-0.fc15 I do not have this error. The boot screen skips the "mounting other file systems" line that is the error line in (1). The kernel in (2) is a bug fix 720771. Off Topic. Despite the bug being closed, the kernel in (2) does not fix the original problem. It does (fix | ignore | not report) this bug!
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.