[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#783410: Please add support for fsck.mode= parameters as known by systemd-fsck



Package: initramfs-tools
Version: 0.120
Severity: important

systemd-fsck [1] knows the following kernel command line parameters

fsck.mode=

 One of "auto", "force", "skip". Controls the mode of operation. The default
 is "auto", and ensures that file system checks are done when the file system
 checker deems them necessary. "force" unconditionally results in full file
 system checks. "skip" skips any file system checks.

fsck.repair=

 One of "preen", "yes", "no". Controls the mode of operation. The default is
 " preen", and will automatically repair problems that can be safely fixed. "yes
 " will answer yes to all questions by fsck and "no" will answer no to all
 questions.


Please consider adding support for those kernel command line parameters
in initramfs-tools. Otherwise it's pretty confusing for users if the
documentation as shipped by systemd doesn't really have the effect they
expect.

Michael

[1] http://www.freedesktop.org/software/systemd/man/systemd-fsck@.service.html
[2] https://lists.debian.org/debian-user/2015/04/msg01423.html

-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 24M Apr 26 01:20 /boot/initrd.img-3.16.0-4-amd64
-rw-r--r-- 1 root root 19M Apr 25 14:35 /boot/initrd.img-3.2.0-4-amd64
-- /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-3.16.0-4-amd64 root=UUID=5c503ec2-6528-44bb-9ff5-aa2687aa9706 ro quiet splash systemd.show_status=true

-- resume
RESUME=UUID=c0d2bc19-898f-4306-a734-85e547e249f0
-- /proc/filesystems
	btrfs
	ext3
	ext2
	ext4
	fuseblk

-- lsmod
Module                  Size  Used by
ctr                    12927  3 
ccm                    17577  3 
xt_CHECKSUM            12471  1 
iptable_mangle         12536  1 
ipt_MASQUERADE         12594  3 
iptable_nat            12646  1 
nf_nat_ipv4            12912  1 iptable_nat
nf_nat                 18241  3 ipt_MASQUERADE,nf_nat_ipv4,iptable_nat
nf_conntrack_ipv4      18448  2 
nf_defrag_ipv4         12483  1 nf_conntrack_ipv4
xt_conntrack           12681  1 
nf_conntrack           87424  6 ipt_MASQUERADE,nf_nat,nf_nat_ipv4,xt_conntrack,iptable_nat,nf_conntrack_ipv4
ipt_REJECT             12465  2 
xt_tcpudp              12527  6 
iptable_filter         12536  1 
ip_tables              26011  3 iptable_filter,iptable_mangle,iptable_nat
x_tables               27111  8 xt_CHECKSUM,ip_tables,xt_tcpudp,ipt_MASQUERADE,xt_conntrack,iptable_filter,ipt_REJECT,iptable_mangle
bridge                106102  0 
stp                    12437  1 bridge
llc                    12745  2 stp,bridge
vmnet                  50245  13 
ppdev                  16782  0 
parport_pc             26300  0 
parport                35749  2 ppdev,parport_pc
fuse                   83350  7 
vmw_vsock_vmci_transport    25862  0 
vsock                  30772  1 vmw_vsock_vmci_transport
pci_stub               12429  1 
vboxpci                23077  0 
vmw_vmci               55383  1 vmw_vsock_vmci_transport
vboxnetadp             25443  0 
vboxnetflt             23324  0 
vmmon                  81251  0 
vboxdrv               340067  3 vboxnetadp,vboxnetflt,vboxpci
binfmt_misc            16949  1 
cdc_mbim               12825  0 
uvcvideo               79005  0 
joydev                 17063  0 
cdc_ncm                26618  1 cdc_mbim
ecb                    12737  0 
usbnet                 30844  2 cdc_mbim,cdc_ncm
mii                    12675  1 usbnet
videobuf2_vmalloc      12816  1 uvcvideo
videobuf2_memops       12519  1 videobuf2_vmalloc
cdc_wdm                17427  1 cdc_mbim
videobuf2_core         47787  1 uvcvideo
v4l2_common            12995  1 videobuf2_core
videodev              126451  3 uvcvideo,v4l2_common,videobuf2_core
cdc_acm                30362  0 
media                  18305  2 uvcvideo,videodev
iTCO_wdt               12831  0 
iTCO_vendor_support    12649  1 iTCO_wdt
btusb                  29721  0 
bluetooth             374429  1 btusb
6lowpan_iphc           16588  1 bluetooth
x86_pkg_temp_thermal    12951  0 
intel_powerclamp       17159  0 
intel_rapl             17356  0 
coretemp               12820  0 
kvm_intel             139116  0 
kvm                   388635  1 kvm_intel
crc32_pclmul           12915  0 
ghash_clmulni_intel    12978  0 
aesni_intel           151423  6 
arc4                   12536  2 
aes_x86_64             16719  1 aesni_intel
lrw                    12757  1 aesni_intel
gf128mul               12970  1 lrw
glue_helper            12695  1 aesni_intel
ablk_helper            12572  1 aesni_intel
cryptd                 14516  3 ghash_clmulni_intel,aesni_intel,ablk_helper
iwldvm                135156  0 
snd_hda_codec_hdmi     45118  1 
psmouse                99143  0 
mac80211              474218  1 iwldvm
pcspkr                 12595  0 
i2c_i801               16965  0 
serio_raw              12849  0 
snd_hda_codec_conexant    17841  1 
snd_hda_codec_generic    63142  1 snd_hda_codec_conexant
iwlwifi                96547  1 iwldvm
snd_hda_intel          26327  3 
cfg80211              405538  3 iwlwifi,mac80211,iwldvm
snd_hda_controller     26646  1 snd_hda_intel
snd_hda_codec         104463  5 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
thinkpad_acpi          69119  1 
lpc_ich                20768  0 
snd_hwdep              13148  1 snd_hda_codec
mfd_core               12601  1 lpc_ich
shpchp                 31121  0 
snd_pcm                88662  4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
nvram                  13034  1 thinkpad_acpi
snd_timer              26614  1 snd_pcm
snd                    65244  15 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,thinkpad_acpi
soundcore              13026  2 snd,snd_hda_codec
rfkill                 18867  5 cfg80211,thinkpad_acpi,bluetooth
tpm_tis                17231  0 
tpm                    31511  1 tpm_tis
battery                13356  0 
ac                     12715  0 
evdev                  17445  17 
mei_me                 17941  0 
mei                    74977  1 mei_me
processor              28221  0 
autofs4                35529  3 
ext4                  473802  2 
crc16                  12343  2 ext4,bluetooth
mbcache                17171  1 ext4
jbd2                   82413  1 ext4
btrfs                 859533  0 
xor                    21040  1 btrfs
raid6_pq               95238  1 btrfs
hid_microsoft          12578  0 
dm_mirror              21657  0 
dm_region_hash         13299  1 dm_mirror
dm_log                 17539  2 dm_region_hash,dm_mirror
dm_mod                 89373  2 dm_log,dm_mirror
sg                     29973  0 
hid_generic            12393  0 
usbhid                 44460  0 
hid                   102264  3 hid_generic,hid_microsoft,usbhid
sd_mod                 44356  5 
sr_mod                 21903  0 
crc_t10dif             12431  1 sd_mod
crct10dif_generic      12581  0 
cdrom                  47424  1 sr_mod
xhci_hcd              148881  0 
crct10dif_pclmul       13387  1 
crct10dif_common       12356  3 crct10dif_pclmul,crct10dif_generic,crc_t10dif
ehci_pci               12512  0 
ehci_hcd               69837  1 ehci_pci
crc32c_intel           21809  1 
ahci                   33291  4 
i915                  837145  5 
libahci                27158  1 ahci
libata                177457  2 ahci,libahci
scsi_mod              191405  4 sg,libata,sd_mod,sr_mod
sdhci_pci              22097  0 
sdhci                  35153  1 sdhci_pci
i2c_algo_bit           12751  1 i915
drm_kms_helper         49210  1 i915
mmc_core              102374  2 sdhci,sdhci_pci
e1000e                203664  0 
usbcore               195340  11 btusb,uvcvideo,ehci_hcd,ehci_pci,usbhid,usbnet,cdc_mbim,cdc_acm,cdc_ncm,cdc_wdm,xhci_hcd
drm                   249955  7 i915,drm_kms_helper
ptp                    17692  1 e1000e
usb_common             12440  1 usbcore
pps_core               17225  1 ptp
i2c_core               46012  7 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,v4l2_common,videodev
thermal                17559  0 
wmi                    17339  0 
video                  18096  1 i915
button                 12944  1 i915
thermal_sys            27642  5 video,intel_powerclamp,thermal,processor,x86_pkg_temp_thermal

-- /etc/initramfs-tools/modules

-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = no
do_bootloader = no
do_initrd = yes
link_in_boot = no

-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=n
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>

-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:

/usr/share/initramfs-tools/hooks:
btrfs
busybox
cryptgnupg
cryptkeyctl
cryptopenct
cryptopensc
cryptpassdev
cryptroot
dmraid
dmsetup
fsck
fuse
intel_microcode
keymap
klibc
kmod
ntfs_3g
plymouth
resume
thermal
udev
zz-busybox


-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (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-15
ii  cpio         2.11+dfsg-4.1
ii  klibc-utils  2.0.4-2
ii  kmod         20-1
ii  udev         215-17

Versions of packages initramfs-tools recommends:
ii  busybox  1:1.22.0-15

Versions of packages initramfs-tools suggests:
ii  bash-completion  1:2.1-4

-- Configuration Files:
/etc/initramfs-tools/initramfs.conf changed [not included]

-- no debconf information

-- debsums errors found:
debsums: changed file /usr/share/initramfs-tools/scripts/functions (from initramfs-tools package)


Reply to: