Bug#690397: initramfs-tools: mkinitramfs reports a problem about /dev/disk/by-uuid
Package: initramfs-tools
Version: 0.108
Severity: normal
* What led up to the situation?
# apt-get upgrade
[...]
The following packages will be upgraded:
binutils initramfs-tools libquvi-scripts python-zope.interface
* What exactly did you do (or not do) that was effective (or
ineffective)?
My setup of "/" looks somewhat strange, maybe that's triggering this error:
root@vihn1321:~# grep '\s/\s' /etc/fstab
LABEL=SSD_ROOT / btrfs noatime,ssd 0 0
root:~# grep ' / ' /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / btrfs rw,noatime,ssd,noacl,space_cache 0 0
root:~# mount | grep ' / '
/dev/root on / type btrfs (rw,noatime,ssd,noacl,space_cache)
root:~# df -T /
Filesystem Type 1K-blocks Used Available Use% Mounted on
/dev/root btrfs 33554432 28550248 3463704 90% /
* What was the outcome of this action?
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.5.3
/dev/disk/by-uuid: Is a directory
mkinitramfs: for root /dev/disk/by-uuid missing disk/by-uuid /sys/block/ entry
mkinitramfs: workaround is MODULES=most
mkinitramfs: Error please report the bug
update-initramfs: failed for /boot/initrd.img-3.5.3 with 1.
dpkg: error processing initramfs-tools (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
initramfs-tools
* What outcome did you expect instead?
No error message :)
-- Package-specific info:
-- initramfs sizes
-- /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-3.6.0 root=/dev/sda1 ro elevator=noop
-- resume
RESUME=UUID=bf1fd1f1-3290-410a-8d89-e7a6f4c0bd7a
-- /proc/filesystems
reiserfs
ext3
ext2
ext4
btrfs
fuseblk
-- lsmod
Module Size Used by
sha256_generic 16797 4
pci_stub 12429 1
vboxpci 19071 0
vboxnetadp 25443 0
vboxnetflt 23544 0
vboxdrv 194406 3 vboxnetadp,vboxnetflt,vboxpci
nfsd 198934 1
auth_rpcgss 29433 1 nfsd
nfs_acl 12511 1 nfsd
lockd 55491 1 nfsd
sunrpc 160131 4 nfsd,auth_rpcgss,lockd,nfs_acl
cpufreq_userspace 12576 0
cpufreq_stats 12866 0
cpufreq_powersave 12454 0
cpufreq_conservative 13147 0
bnep 17574 2
rfcomm 33695 0
bluetooth 150008 10 bnep,rfcomm
binfmt_misc 12957 1
uinput 17537 1
fuse 62666 5
iptable_filter 12536 0
iptable_nat 12928 0
nf_nat 18273 1 iptable_nat
nf_conntrack_ipv4 18447 3 nf_nat,iptable_nat
nf_defrag_ipv4 12483 1 nf_conntrack_ipv4
nf_conntrack 57930 3 nf_nat,iptable_nat,nf_conntrack_ipv4
ip_tables 21997 2 iptable_filter,iptable_nat
x_tables 18996 3 ip_tables,iptable_filter,iptable_nat
hid_generic 12385 0
usbhid 40753 0
hid 81572 2 hid_generic,usbhid
uvcvideo 66705 0
videobuf2_vmalloc 12664 1 uvcvideo
videobuf2_memops 12526 1 videobuf2_vmalloc
videobuf2_core 26662 1 uvcvideo
videodev 83609 2 uvcvideo,videobuf2_core
media 18184 2 uvcvideo,videodev
tp_smapi 23572 0
thinkpad_ec 12857 1 tp_smapi
zram 13540 1
zsmalloc 13210 1 zram
loop 22960 0
dm_crypt 18420 2
dm_mod 63898 5 dm_crypt
snd_hda_codec_hdmi 30998 1
snd_hda_codec_conexant 45482 1
iTCO_wdt 12831 0
iTCO_vendor_support 12704 1 iTCO_wdt
arc4 12543 2
iwldvm 111689 0
mac80211 344068 1 iwldvm
coretemp 12854 0
kvm_intel 118198 0
kvm 304634 1 kvm_intel
snd_seq_midi 12848 0
snd_seq_midi_event 13316 1 snd_seq_midi
crc32c_intel 12747 0
snd_rawmidi 23034 1 snd_seq_midi
ghash_clmulni_intel 12981 0
snd_hda_intel 26499 1
snd_hda_codec 83791 3 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_intel
nvidia 11197652 33
snd_hwdep 13189 1 snd_hda_codec
snd_seq 45192 2 snd_seq_midi_event,snd_seq_midi
snd_pcm_oss 37079 0
snd_mixer_oss 18035 1 snd_pcm_oss
snd_seq_device 13176 3 snd_seq,snd_rawmidi,snd_seq_midi
aesni_intel 50290 6
thinkpad_acpi 61289 0
snd_pcm 64168 4 snd_pcm_oss,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
nvram 13092 1 thinkpad_acpi
aes_x86_64 16796 1 aesni_intel
battery 13109 0
ac 12624 0
acpi_cpufreq 12972 1
aes_generic 33026 2 aesni_intel,aes_x86_64
ablk_helper 12572 1 aesni_intel
mperf 12453 1 acpi_cpufreq
cryptd 14560 5 ghash_clmulni_intel,aesni_intel,ablk_helper
video 17631 0
wmi 13243 0
snd_page_alloc 12969 2 snd_pcm,snd_hda_intel
snd_timer 22812 2 snd_pcm,snd_seq
snd 53038 15 snd_pcm_oss,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,snd_hda_intel,thinkpad_acpi,snd_seq_device,snd_mixer_oss
processor 28408 1 acpi_cpufreq
thermal 17383 0
button 12937 0
thermal_sys 18229 3 video,thermal,processor
microcode 13385 0
firewire_ohci 31931 0
soundcore 13026 1 snd
firewire_core 49141 1 firewire_ohci
i2c_i801 17045 0
crc_itu_t 12347 1 firewire_core
i2c_core 24041 3 i2c_i801,nvidia,videodev
lpc_ich 16757 0
mfd_core 12601 1 lpc_ich
psmouse 69148 0
ehci_hcd 40531 0
iwlwifi 64047 1 iwldvm
sdhci_pci 17845 0
pcspkr 12632 0
serio_raw 12940 0
sdhci 27125 1 sdhci_pci
usbcore 129466 3 uvcvideo,ehci_hcd,usbhid
usb_common 12354 1 usbcore
cfg80211 143809 3 iwlwifi,mac80211,iwldvm
mmc_core 77260 2 sdhci,sdhci_pci
rfkill 19018 5 cfg80211,thinkpad_acpi,bluetooth
evdev 17612 23
e1000e 134602 0
-- /etc/initramfs-tools/modules
-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
do_bootloader = no
do_initrd = yes
link_in_boot = no
-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
COMPRESS=gzip
DEVICE=
NFSROOT=auto
-- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=yes
backup_initramfs=no
-- /etc/crypttab
# <target name> <source device> <key file> <options>
-- /sys/block
dm-0
dm-1
loop0
loop1
loop2
loop3
loop4
loop5
loop6
loop7
sda
sdb
zram0
-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:
/usr/share/initramfs-tools/hooks:
btrfs
busybox
cryptgnupg
cryptkeyctl
cryptopenct
cryptopensc
cryptpassdev
cryptroot
dmsetup
fuse
keymap
klibc
kmod
ntfs_3g
thermal
udev
-- System Information:
Debian Release: wheezy/sid
APT prefers testing-proposed-updates
APT policy: (500, 'testing-proposed-updates'), (500, 'testing'), (40, 'unstable'), (30, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.6.0 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages initramfs-tools depends on:
ii cpio 2.11-8
ii klibc-utils 2.0.1-1
ii kmod 9-2
ii module-init-tools 9-2
ii udev 175-7
Versions of packages initramfs-tools recommends:
ii busybox 1:1.20.0-7
Versions of packages initramfs-tools suggests:
ii bash-completion 1:2.0-1
-- no debconf information
Reply to: