Bug#763157: initramfs-tools: Mounting /usr by initramfs-tools breaks checkfs.sh
Package: initramfs-tools
Version: 0.117
Severity: critical
Justification: breaks the whole system
Hi
After /usr is being mounted from initramfs, system is no longer
bootable, because checkfs.sh script fails with:
[....] Checking file systems...fsck from util-linux 2.20.1
/home2: clean, 166826/610800 files, 2350575/2441880 blocks
/home: clean, 120720/1831424 files, 3611320/3662820 blocks
/dev/sda5 is mounted.
e2fsck: Cannot continue, aborting.
fsck exited with status code 8
[....] File system check failed. A log is being saved in
/var/log/fsck/checkfs if that location is writable. Please repair the
f[FAILystem manually. ... failed!
The contents of /var/log/fsck/checkfs is:
Log of fsck -C -R -A -a
Sun Sep 28 11:21:35 2014
fsck from util-linux 2.20.1
/home2: clean, 166826/610800 files, 2350575/2441880 blocks
/home: clean, 120720/1831424 files, 3611320/3662820 blocks
/dev/sda5 is mounted.
e2fsck: Cannot continue, aborting.
fsck exited with status code 8
Sun Sep 28 11:21:35 2014
----------------
grep /usr /etc/fstab gives the following output:
UUID=b19bf33d-4bef-4571-b8aa-5f4a19536436 /usr ext3 defaults,ro 0 2
grep /usr /proc/mounts shows (note that I've remounted it read-write in
the meantime):
/dev/sda5 /usr ext3 rw,relatime,data=ordered 0 0
Versions of initscripts and e2fsprogs:
ii e2fsprogs 1.42.12-1 i386 ext2/ext3/ext4 file system utilities
ii initscripts 2.88dsf-53.4 i386 scripts for initializing and shutting down the system
Regards,
robert
-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 12M Nov 9 2013 /boot/initrd.img-3.11-1-686-pae
-rw-r--r-- 1 root root 14M Sep 28 11:01 /boot/initrd.img-3.11-2-686-pae
-- /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-3.11-2-686-pae root=UUID=2db7fcc2-a36e-44f8-a6d2-d8cdbcaec295 ro video=1024x768-24@100 splash quiet
-- resume
# RESUME=/dev/sda6
RESUME='UUID=39d3f0b1-3779-49a4-97fb-68f9e61c579f'
-- /proc/filesystems
ext3
ext2
ext4
fuseblk
-- lsmod
Module Size Used by
it87 21583 0
hwmon_vid 12364 1 it87
fuse 68786 1
parport_pc 26004 0
ppdev 12590 0
lp 12766 0
parport 35213 3 lp,ppdev,parport_pc
rc_it913x_v1 12374 0
it913x_fe 37583 1
dvb_usb_it913x 17036 0
dvb_usb_v2 17619 1 dvb_usb_it913x
dvb_core 80123 1 dvb_usb_v2
rc_core 17826 4 rc_it913x_v1,dvb_usb_v2,dvb_usb_it913x
radeon 1113716 1
snd_via82xx 22482 0
snd_mpu401_uart 13299 1 snd_via82xx
snd_via82xx_modem 17462 0
snd_rawmidi 22283 1 snd_mpu401_uart
snd_seq_device 12980 1 snd_rawmidi
snd_pcsp 13462 0
snd_ac97_codec 96151 2 snd_via82xx,snd_via82xx_modem
ttm 59659 1 radeon
snd_pcm_oss 40069 0
snd_mixer_oss 21794 1 snd_pcm_oss
psmouse 76428 0
drm_kms_helper 35191 1 radeon
snd_pcm 69546 5 snd_via82xx,snd_pcm_oss,snd_ac97_codec,snd_via82xx_modem,snd_pcsp
snd_page_alloc 12882 3 snd_via82xx,snd_pcm,snd_via82xx_modem
snd_timer 22010 1 snd_pcm
drm 193948 3 ttm,drm_kms_helper,radeon
i2c_viapro 12451 0
i2c_algo_bit 12647 1 radeon
gameport 13296 1 snd_via82xx
snd 46678 11 snd_via82xx,snd_pcm_oss,snd_ac97_codec,snd_timer,snd_pcm,snd_rawmidi,snd_mpu401_uart,snd_via82xx_modem,snd_seq_device,snd_mixer_oss,snd_pcsp
soundcore 12890 1 snd
i2c_core 23380 7 drm,it913x_fe,drm_kms_helper,i2c_algo_bit,i2c_viapro,radeon,dvb_usb_v2
evdev 17136 0
serio_raw 12737 0
ac97_bus 12462 1 snd_ac97_codec
shpchp 30673 0
button 12824 0
mperf 12387 0
processor 27679 0
thermal_sys 22708 1 processor
skge 43392 0
8139too 21895 0
ext4 426033 4
crc16 12327 1 ext4
mbcache 12898 1 ext4
jbd2 73002 1 ext4
sg 25573 0
sr_mod 21563 0
cdrom 34540 1 sr_mod
sd_mod 43644 6
crc_t10dif 12332 1 sd_mod
ata_generic 12450 0
ehci_pci 12432 0
sata_via 12771 5
pata_via 12722 0
uhci_hcd 26364 0
ehci_hcd 43639 1 ehci_pci
usbcore 133892 5 uhci_hcd,ehci_hcd,ehci_pci,dvb_usb_v2,dvb_usb_it913x
usb_common 12408 1 usbcore
libata 149464 3 sata_via,pata_via,ata_generic
8139cp 26153 0
mii 12595 2 8139cp,8139too
scsi_mod 151045 4 sg,libata,sd_mod,sr_mod
-- /etc/initramfs-tools/modules
-- /etc/kernel-img.conf
# Do not create symbolic links in /
do_symlinks = yes
link_in_boot = yes
do_bootloader = no
do_bootfloppy = no
do_initrd = yes
-- /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
-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:
/usr/share/initramfs-tools/hooks:
busybox
dmsetup
fsck
fuse
keymap
klibc
kmod
ntfs_3g
resume
thermal
udev
zz-busybox
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (990, 'unstable'), (200, 'testing')
Architecture: i386 (i686)
Kernel: Linux 3.11-2-686-pae (SMP w/1 CPU core)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages initramfs-tools depends on:
ii cpio 2.11+dfsg-2
ii klibc-utils 2.0.4-1.1
ii kmod 18-3
ii module-init-tools 18-3
ii udev 215-5
Versions of packages initramfs-tools recommends:
ii busybox 1:1.22.0-8
Versions of packages initramfs-tools suggests:
ii bash-completion 1:2.1-4
-- no debconf information
Reply to: