As I understand the code mountall(8) did never spawn mount(8) because it did
not find the ID_FS_{TYPE,USAGE} attributes.
So mount only got called interactively by me, fetched the fs_vfstype from
fstab(5) and did what it was told to do, it called mount(2) which did not care
for the ext2 signature.
mount(8) does not search for fs signatures if the type is given.

Why can mountall not do the same?

If mountall would notice the ID_FS_AMBIVALENT attribute it could at least write 
a warning message before spawning the recovery shell.

According to
https://bugzilla.redhat.com/show_bug.cgi?id=473514
cryptsetup and mkswap zap all existing filesystem signatures nowadays, but
existing filesystems could still have multiple signatures.


** Bug watch added: Red Hat Bugzilla #473514
   https://bugzilla.redhat.com/show_bug.cgi?id=473514

-- 
does not mount decrypted secondary luks crypttab partitions (btrfs)
https://bugs.launchpad.net/bugs/508848
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to