Public bug reported:
initramfs-tools/scripts/casper function check_dev will bind /cdrom
to the "device" being checked if it is a directory (and contains a
filesystem.squashfs file).
When will that "device" ever be a directory?
Bug #230716 seems to have introduced the code
if [ -d "${devname}" ]; then
mount -o bind $devname $mountpoint
if is_casper_path $mountpoint; then
echo $mountpoint
return 0
endif
fi
What I don't understand is what "devname" could be that it could be
identifying a directory, other than a directory in initrd (initramfs?),
which couldn't contain the live media.
** Affects: casper (Ubuntu)
Importance: Undecided
Status: Invalid
** Changed in: casper (Ubuntu)
Status: New => Invalid
** Converted to question:
https://answers.launchpad.net/ubuntu/+source/casper/+question/271482
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1496672
Title:
casper check_dev bind mount directory when?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/casper/+bug/1496672/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs