--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: initramfs-tools: Creates corrupt initrd when /etc/initramfs-tools is versioned by SVN (.svn subdirs)
- From: Jonas Keunecke <keunecke@cscp.eu>
- Date: Wed, 17 Feb 2016 08:58:22 +0100
- Message-id: <20160217075822.15004.96074.reportbug@watcher>
Package: initramfs-tools
Version: 0.120
Severity: critical
Justification: breaks the whole system
Dear Maintainer,
this happened after running an 'update-initramfs -u -k all'.
The system became unbootable with the following message:
Begin: Running /scripts/init-premount ... /init: .: line 210: can't open '/scripts/init-premount/ORDER'
I found the 'problem' or what solved it in this forum post: http://forums.debian.net/viewtopic.php?f=5&t=125545
I also had the directory versioned by SVN, and after removing the .svn subdirectories and creating a new initramfs
yet again, the system booted normally again.
-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 17M Feb 17 08:07 /boot/initrd.img-3.16.0-4-amd64
-rw-r--r-- 1 root root 15M Feb 17 08:07 /boot/initrd.img-3.2.0-4-amd64
-- /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-3.16.0-4-amd64 root=UUID=afb7333e-cba2-4b36-8c51-be882475df55 ro quiet ipmi_si.load=0 ipmi_msghandler.load=0
-- /proc/filesystems
xfs
fuseblk
-- lsmod
Module Size Used by
nf_conntrack_netlink 35433 0
nfnetlink 12989 1 nf_conntrack_netlink
xt_tcpmss 12425 1
xt_mark 12453 3
sch_sfq 21269 3
cls_fw 12762 3
sch_htb 21832 1
xt_TCPMSS 12588 2
ipt_MASQUERADE 12594 24
xt_nat 12601 23
xt_conntrack 12681 91
xt_tcpudp 12527 3465
ipt_REJECT 12465 4
xt_LOG 17171 24
xt_limit 12601 26
nf_conntrack_ftp 16783 0
iptable_raw 12524 0
iptable_nat 12646 1
nf_conntrack_ipv4 18448 92
nf_defrag_ipv4 12483 1 nf_conntrack_ipv4
nf_nat_ipv4 12912 1 iptable_nat
nf_nat 18241 4 ipt_MASQUERADE,nf_nat_ipv4,xt_nat,iptable_nat
nf_conntrack 87424 8 ipt_MASQUERADE,nf_nat,nf_nat_ipv4,xt_conntrack,nf_conntrack_netlink,nf_conntrack_ftp,iptable_nat,nf_conntrack_ipv4
iptable_mangle 12536 1
iptable_filter 12536 1
ip_tables 26011 4 iptable_filter,iptable_mangle,iptable_nat,iptable_raw
x_tables 27111 14 xt_mark,ip_tables,xt_tcpmss,xt_tcpudp,ipt_MASQUERADE,xt_limit,xt_conntrack,xt_LOG,xt_nat,iptable_filter,xt_TCPMSS,ipt_REJECT,iptable_mangle,iptable_raw
binfmt_misc 16949 1
capi 22136 0
kernelcapi 35710 1 capi
tun 26385 4
nfsd 263032 13
auth_rpcgss 51211 1 nfsd
oid_registry 12419 1 auth_rpcgss
nfs_acl 12511 1 nfsd
nfs 188136 0
lockd 83389 2 nfs,nfsd
fscache 45542 1 nfs
sunrpc 237402 19 nfs,nfsd,auth_rpcgss,lockd,nfs_acl
pppoe 17364 2
pppox 12594 1 pppoe
ppp_generic 30387 6 pppoe,pppox
slhc 12531 1 ppp_generic
8021q 27844 0
garp 13117 1 8021q
stp 12437 1 garp
mrp 17343 1 8021q
llc 12745 2 stp,garp
ppdev 16782 0
joydev 17063 0
evdev 17445 6
psmouse 99249 0
powernow_k8 25433 1
serio_raw 12849 0
pcspkr 12595 0
k8temp 12538 0
amd64_edac_mod 30284 0
edac_mce_amd 21166 1 amd64_edac_mod
edac_core 51465 2 amd64_edac_mod
parport_pc 26300 0
parport 35749 2 ppdev,parport_pc
shpchp 31121 0
i2c_amd756 12544 0
amd_rng 12549 0
rng_core 12733 1 amd_rng
i2c_amd8111 12671 0
button 12944 0
i2c_core 46012 2 i2c_amd8111,i2c_amd756
processor 28221 1 powernow_k8
thermal_sys 27642 1 processor
hwmon_vid 12388 0
loop 26605 0
ipmi_watchdog 21915 0
ipmi_poweroff 13197 0
ipmi_devintf 17053 0
ipmi_msghandler 39917 3 ipmi_devintf,ipmi_poweroff,ipmi_watchdog
fuse 83350 1
autofs4 35529 2
xfs 779874 1
crc32c_generic 12656 1
libcrc32c 12426 1 xfs
raid1 34596 1
hid_generic 12393 0
usbhid 44460 0
hid 102264 2 hid_generic,usbhid
sd_mod 44356 4
crc_t10dif 12431 1 sd_mod
crct10dif_generic 12581 1
crct10dif_common 12356 2 crct10dif_generic,crc_t10dif
sg 29973 0
sr_mod 21903 0
cdrom 47424 1 sr_mod
dm_mod 89405 0
md_mod 107672 2 raid1
ata_generic 12490 0
tg3 164481 0
ptp 17692 1 tg3
pps_core 17225 1 ptp
libphy 32268 1 tg3
pata_amd 17390 0
floppy 65068 0
sata_sil 12935 2
ohci_pci 12808 0
ehci_pci 12512 0
ohci_hcd 42982 1 ohci_pci
ehci_hcd 69837 1 ehci_pci
libata 177457 3 sata_sil,pata_amd,ata_generic
usbcore 195340 5 ohci_hcd,ohci_pci,ehci_hcd,ehci_pci,usbhid
usb_common 12440 1 usbcore
scsi_mod 191405 4 sg,libata,sd_mod,sr_mod
-- /etc/initramfs-tools/modules
-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
relative_links = yes
do_bootloader = no
do_bootfloppy = 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>
-- /proc/mdstat
Personalities : [raid1]
md0 : active raid1 sda1[1] sdb1[0]
36146112 blocks [2/2] [UU]
unused devices: <none>
-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:
/usr/share/initramfs-tools/hooks:
busybox
cryptgnupg
cryptkeyctl
cryptopenct
cryptopensc
cryptpassdev
cryptroot
dmsetup
fsck
fuse
keymap
klibc
kmod
lvm2
mdadm
ntfs_3g
resume
thermal
udev
zz-busybox
-- System Information:
Debian Release: 8.2
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (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
Init: systemd (via /run/systemd/system)
Versions of packages initramfs-tools depends on:
ii busybox 1:1.22.0-9+deb8u1
ii cpio 2.11+dfsg-4.1
ii klibc-utils 2.0.4-2
ii kmod 18-3
ii module-init-tools 18-3
ii udev 215-17+deb8u2
Versions of packages initramfs-tools recommends:
ii busybox 1:1.22.0-9+deb8u1
Versions of packages initramfs-tools suggests:
ii bash-completion 1:2.1-4
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: initramfs-tools
Source-Version: 0.120+deb8u2
We believe that the bug you reported is fixed in the latest version of
initramfs-tools, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 814965@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ben Hutchings <ben@decadent.org.uk> (supplier of updated initramfs-tools package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 17 Apr 2016 18:20:09 +0100
Source: initramfs-tools
Binary: initramfs-tools
Architecture: all source
Version: 0.120+deb8u2
Distribution: jessie
Urgency: medium
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: Ben Hutchings <ben@decadent.org.uk>
Closes: 807000 814965
Description:
initramfs-tools - generic modular initramfs generator
Changes:
initramfs-tools (0.120+deb8u2) jessie; urgency=medium
.
* [7863219] hook-functions: Include drivers/nvme in block driver modules
(Closes: #807000)
* [fcef753] hook-functions: Create ORDER files even if there are no valid
scripts (Closes: #814965)
Checksums-Sha1:
e5bca80a6dfa69dbc67a0defaab6ea02bc7e732a 1737 initramfs-tools_0.120+deb8u2.dsc
ec8a3c05901c2de9e26d359925a8a88917907d8d 80840 initramfs-tools_0.120+deb8u2.tar.xz
22fe77ee5a1cc270d706a39371ef1dbc435e661e 96350 initramfs-tools_0.120+deb8u2_all.deb
Checksums-Sha256:
1972c7405533a4604aaf135ebcd5c6d5d1475dd8368b36ea1ba338bf197a3e11 1737 initramfs-tools_0.120+deb8u2.dsc
e8f121404af97a32d89eaf2974d1efac3df70cabeb51dc53363d20495d04e1c7 80840 initramfs-tools_0.120+deb8u2.tar.xz
f2ac374e85f6aef8a22d67c3be63f45fc70f2181cd772975f0235de937028312 96350 initramfs-tools_0.120+deb8u2_all.deb
Files:
2f9a8125b07a4bf9c31eac8838a34c14 1737 utils optional initramfs-tools_0.120+deb8u2.dsc
d94fd5dfcb0649ca0caefc33fac6e005 80840 utils optional initramfs-tools_0.120+deb8u2.tar.xz
193cdd69f5b01e794a80a1cc086e5c03 96350 utils optional initramfs-tools_0.120+deb8u2_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIVAwUBVxPOX+e/yOyVhhEJAQqs2hAAgKVeLgr4FPlvx7EepdYfGGA7HmxqfLLX
3LoWkfyBiHOvUXRUIss+j0d72OZKe0oPD4z0bS7DW0Bfg/e9CZc39JF9R8d7//bX
y7l1m+pqyzvt168UD/3EJ1/E3W2rg2HavoruREF9UnnrnQJ3XjZWTuwIEk6Lglj1
uWeMMW3Zs369VZup0ZUWBq1Ulq1cl4YPpEspVuQ7gOyT7k2luarvGdyFGd9Wj3mG
eFsNPH3+3m4UaEg9//BiShiGTDAjTxUQwjVhbpIiAfmjEFf8/sVjX1qEoEXvPVh0
aLXe6VgMcgEpZO+ClXCbhaOA/AuDv75NQ0t1wmbGoYjubNo79ERtQRML3oIoF/44
Ju8oZU1h09MFL1wLraBdKsiMo6cVAOGM5tttv2SodXMXxQkbwoSc5Q1QInRpy5Nm
g4hDKi4GYxWYzGFPkXL3RXnD7lV5W5whoj/A2E2taK4w8sDxC7YIwyBhnhckkcjg
4SUaEyuXHpUyCR6gYC4QsiVsdtLt4aZ4P33VKWWnSdeB3oW1hbqQAKkUxWm4b3Y0
E/wrW9XA0UT9UY8jycf1hZBPaEmnNkyi7sm3nbBNzRzc5JhhNHcs7Q/20zU+2FOX
Nwk/JObQ+sQltu0f5bg+t8FQm5X1CXXc2dfIhPEohso5DMeooSQG4UOP5UnIIKcJ
xgAV0zjHd0U=
=Gkqy
-----END PGP SIGNATURE-----
--- End Message ---