--- 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.124
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 01:56:13 +0100
Source: initramfs-tools
Binary: initramfs-tools initramfs-tools-core
Architecture: source
Version: 0.124
Distribution: unstable
Urgency: medium
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: Ben Hutchings <ben@decadent.org.uk>
Description:
initramfs-tools - generic modular initramfs generator (automation)
initramfs-tools-core - generic modular initramfs generator (core tools)
Closes: 762634 814965 815555 820037
Changes:
initramfs-tools (0.124) unstable; urgency=medium
.
* [e05fc3e] hook-functions: Add detached module signatures if present
(Closes: #820037)
* [99dadac] hook-functions: Create ORDER files even if there are no valid
scripts (Closes: #814965)
* [57a9f2a] mkinitramfs: Exclude VCS directories when copying
/etc/initramfs-tools/scripts
* [eff1806] parse_numeric: Do not attempt to canonicalise root device name
(Closes: #815555)
* [7a820e1] auto_add_modules: Include most USB host drivers (Closes: #762634)
* [35751d4] auto_add_modules: Include all bus driver modules
Checksums-Sha1:
dff4e02728f10918db4f39aa7c7e37576104cbf2 1811 initramfs-tools_0.124.dsc
0129c0b023cc388b21d60168b032e633703e74b3 84244 initramfs-tools_0.124.tar.xz
Checksums-Sha256:
3e1100ef5b0b5ab4ca0695791aa5efdda85a45ae77a7ff306e2f56c14cebc51b 1811 initramfs-tools_0.124.dsc
714e767f02b250b26f256591845bdeed8bd923edbf62c5a1d451a5d1f2f41d48 84244 initramfs-tools_0.124.tar.xz
Files:
be690f13c23054dbbe0977a68d1035ba 1811 utils optional initramfs-tools_0.124.dsc
83889a75fc7e90d90a6bae9cd638858e 84244 utils optional initramfs-tools_0.124.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIVAwUBVxLrRue/yOyVhhEJAQrNXQ/9Ee8y7GKGoWJeUZzFo+eQ2MhLwhJt+ke9
ZWNr6mqkmC10P4LkJcSvzuv+d3ZbOCditIVw3vSLOdGyNLWhcbNwqU/Loa5gLIwI
XqW8AWscaNVkzQa4DmeDGqCQcFUjUye82CjioADnsmlO19HRm2dckT1HdTqHUlAx
KlVKKINMOpfSjzY3yb0vtOIZ9Bn2oieftglzizEhGf5bN2rP+E6ptQHrruJPSSyv
78QP3vR2siZ3z3y+cxFy0vYOMdzwJ1fjfOzcLIRZId8sARitxdpMpLYoDCdw/cgU
PO0qviIc0cxGHsWbM5Sky5Y6IoJVWixGFS0rIXkaf0lFqcVpxWpN7P0bVvbbzprA
2AbU+qMKAr/S8MOxNslp+nzZWFRxIVDQuE9FDNn71uGPVcr33WaYiwE/N+NTRfAh
+U+g2j9HdSi1klX1nVBj+mKwNJrj3C3QIBil7BhCg8KDFXEWTACo79jWXI9/T/KM
J/KHV/ZcMgs3ejfFef8BIBPWnjj5IEUGNIiNf7lI1KrguatYR8UHcHMtE4xJmBmI
yq3/U8qMml0X/XlzB+WecEhjhKpHCS6vBpRTqpvH79RPv/rcRs+oq1zSQ6BqjgU0
iAge3HpRqVVayhH2kj8KBGQe2NUfxHwFyTW2gv+6UkUkAzBkP4lOBYy0CG+4c20G
F8WsSLpMA0A=
=Jj/8
-----END PGP SIGNATURE-----
--- End Message ---