/run/lock/ not created
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
friendly-recovery (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
This concerns mountall 2.31 in Ubuntu Oneiric.
When I run update-grub(8) in recovery mode, I see an error concerning /var/lock/lvm:
# update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /boot/memtest86
File descriptor 13 (socket:[6182]) leaked on lvs invocation. Parent PID 2421: /bin/sh
/
File-based locking initialisation failed.
Found Debian GNU/Linux (wheezy/sid) on /dev/sda6
done
# mkdir /run/lock
# update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /boot/memtest86
File descriptor 13 (socket:[6182]) leaked on lvs invocation. Parent PID 3248: /bin/sh
No volume groups found
Found Debian GNU/Linux (wheezy/sid) on /dev/sda6
done
/run/lock/ is present when the system is running normally, so I presume that something creates it along the way. Given that /var/lock now exists as a symlink to /run/lock, however, the latter should probably be created at the point that /run is mounted.
affects: | mountall (Ubuntu) → friendly-recovery (Ubuntu) |
Status changed to 'Confirmed' because the bug affects multiple users.