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

Bug#1030037: fsck.repair=yes is not documented



Package: initramfs-tools
Version: 0.142
Severity: wishlist

I wanted automatic fsck for problems on the root filesystem,
and it was difficult to disconver that fsck.repair=yes
on the kernel cmdline is the way to configure that.

initramfs-tools was made to support the same configuration used by
systemd-fsck (#783410). So there is a documentation path in that
direction, but since I was trying to change the behavior of the
initramfs, which I know does not use systemd, I did not think to look in
systemd's documentation.

-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 50M May  9  2022 /boot/initrd.img-5.17.0-1-amd64
-rw-r--r-- 1 root root 52M Jul 16  2022 /boot/initrd.img-5.18.0-2-amd64
-rw-r--r-- 1 root root 52M Aug  4 13:50 /boot/initrd.img-5.18.0-3-amd64
-rw-r--r-- 1 root root 52M Sep 16 22:14 /boot/initrd.img-5.19.0-1-amd64
-rw-r--r-- 1 root root 52M Oct 19 20:06 /boot/initrd.img-5.19.0-2-amd64
-rw-r--r-- 1 root root 53M Nov  2 12:28 /boot/initrd.img-6.0.0-2-amd64
-rw-r--r-- 1 root root 53M Nov 29 16:40 /boot/initrd.img-6.0.0-5-amd64
-rw-r--r-- 1 root root 54M Jan 14 16:20 /boot/initrd.img-6.0.0-6-amd64
-- /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-6.0.0-6-amd64 root=UUID=9dd447eb-fde2-4d3f-8f1a-b1a52c230084 ro i915.enable_psr=1

-- resume
RESUME=none
-- /proc/filesystems
	btrfs
	ext3
	ext2
	ext4
	fuseblk

-- lsmod
Module                  Size  Used by
pl2303                 28672  0
usbserial              65536  1 pl2303
ath10k_pci             49152  0
ath10k_core           450560  1 ath10k_pci
ath                    36864  1 ath10k_core
ses                    20480  0
enclosure              20480  1 ses
scsi_transport_sas     49152  1 ses
uas                    32768  0
usb_storage            81920  1 uas
sctp                  446464  30
ip6_udp_tunnel         16384  1 sctp
udp_tunnel             24576  1 sctp
ccm                    20480  0
snd_seq_dummy          16384  0
snd_seq                90112  1 snd_seq_dummy
snd_seq_device         16384  1 snd_seq
uinput                 20480  0
rfcomm                 90112  16
cmac                   16384  3
algif_hash             16384  1
algif_skcipher         16384  1
af_alg                 36864  6 algif_hash,algif_skcipher
bnep                   32768  2
snd_soc_skl           184320  0
qrtr                   49152  4
btusb                  65536  0
snd_soc_hdac_hda       24576  1 snd_soc_skl
snd_hda_codec_hdmi     81920  1
snd_hda_ext_core       40960  2 snd_soc_hdac_hda,snd_soc_skl
btrtl                  28672  1 btusb
intel_pmc_core_pltdrv    16384  0
snd_soc_sst_ipc        20480  1 snd_soc_skl
intel_pmc_core         53248  0
snd_soc_sst_dsp        40960  1 snd_soc_skl
btbcm                  24576  1 btusb
btintel                45056  1 btusb
x86_pkg_temp_thermal    20480  0
snd_soc_acpi_intel_match    73728  1 snd_soc_skl
intel_powerclamp       20480  0
coretemp               20480  0
btmtk                  16384  1 btusb
snd_soc_acpi           16384  2 snd_soc_acpi_intel_match,snd_soc_skl
kvm_intel             372736  0
snd_hda_codec_realtek   167936  1
bluetooth             954368  44 btrtl,btmtk,btintel,btbcm,bnep,btusb,rfcomm
snd_hda_codec_generic    98304  1 snd_hda_codec_realtek
snd_soc_core          348160  2 snd_soc_hdac_hda,snd_soc_skl
ledtrig_audio          16384  1 snd_hda_codec_generic
snd_compress           28672  1 snd_soc_core
kvm                  1122304  1 kvm_intel
irqbypass              16384  1 kvm
jitterentropy_rng      16384  1
snd_hda_intel          57344  6
sha512_ssse3           49152  1
snd_intel_dspcfg       36864  2 snd_hda_intel,snd_soc_skl
snd_intel_sdw_acpi     20480  1 snd_intel_dspcfg
sha512_generic         16384  1 sha512_ssse3
snd_hda_codec         184320  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda
ghash_clmulni_intel    16384  0
snd_hda_core          122880  8 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_soc_hdac_hda,snd_soc_skl
mac80211             1159168  1 ath10k_core
snd_hwdep              16384  1 snd_hda_codec
mei_hdcp               24576  0
uvcvideo              131072  0
intel_rapl_msr         20480  0
aesni_intel           393216  4
snd_pcm               159744  9 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_compress,snd_soc_core,snd_soc_skl,snd_hda_core
videobuf2_vmalloc      20480  1 uvcvideo
libarc4                16384  1 mac80211
videobuf2_memops       20480  1 videobuf2_vmalloc
ctr                    16384  0
videobuf2_v4l2         36864  1 uvcvideo
crypto_simd            16384  1 aesni_intel
hid_sensor_accel_3d    20480  1
videobuf2_common       73728  4 videobuf2_vmalloc,videobuf2_v4l2,uvcvideo,videobuf2_memops
hid_sensor_als         20480  0
cryptd                 28672  3 crypto_simd,ghash_clmulni_intel
rapl                   20480  0
hid_sensor_trigger     20480  4 hid_sensor_als,hid_sensor_accel_3d
snd_timer              49152  2 snd_seq,snd_pcm
iTCO_wdt               16384  0
videodev              286720  3 videobuf2_v4l2,uvcvideo,videobuf2_common
hid_sensor_iio_common    24576  3 hid_sensor_trigger,hid_sensor_als,hid_sensor_accel_3d
processor_thermal_device_pci_legacy    16384  0
drbg                   45056  1
intel_cstate           20480  0
processor_thermal_device    20480  1 processor_thermal_device_pci_legacy
intel_pmc_bxt          16384  1 iTCO_wdt
processor_thermal_rfim    16384  1 processor_thermal_device
snd                   126976  22 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm
mei_me                 45056  1
cfg80211             1118208  3 ath,mac80211,ath10k_core
industrialio_triggered_buffer    16384  1 hid_sensor_trigger
ansi_cprng             16384  0
intel_uncore          212992  0
mc                     69632  4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
intel_wmi_thunderbolt    20480  0
pcspkr                 16384  0
wmi_bmof               16384  0
processor_thermal_mbox    16384  2 processor_thermal_rfim,processor_thermal_device
kfifo_buf              16384  1 industrialio_triggered_buffer
iTCO_vendor_support    16384  1 iTCO_wdt
ecdh_generic           16384  2 bluetooth
ecc                    40960  1 ecdh_generic
processor_thermal_rapl    20480  1 processor_thermal_device
mei                   159744  3 mei_hdcp,mei_me
watchdog               32768  1 iTCO_wdt
soundcore              16384  1 snd
industrialio          106496  6 industrialio_triggered_buffer,hid_sensor_trigger,kfifo_buf,hid_sensor_als,hid_sensor_accel_3d
intel_rapl_common      28672  2 intel_rapl_msr,processor_thermal_rapl
intel_xhci_usb_role_switch    16384  0
roles                  20480  1 intel_xhci_usb_role_switch
int340x_thermal_zone    20480  1 processor_thermal_device
intel_soc_dts_iosf     20480  1 processor_thermal_device_pci_legacy
intel_pch_thermal      20480  0
ideapad_laptop         32768  0
platform_profile       16384  1 ideapad_laptop
sparse_keymap          16384  1 ideapad_laptop
rfkill                 32768  8 bluetooth,ideapad_laptop,cfg80211
ac                     20480  0
acpi_pad              184320  0
int3400_thermal        20480  0
acpi_thermal_rel       16384  1 int3400_thermal
joydev                 28672  0
hid_multitouch         32768  0
evdev                  28672  12
serio_raw              20480  0
sg                     40960  0
binfmt_misc            24576  1
msr                    16384  0
parport_pc             40960  0
ppdev                  24576  0
lp                     20480  0
parport                69632  3 parport_pc,lp,ppdev
fuse                  176128  3
efi_pstore             16384  0
configfs               57344  1
ip_tables              36864  0
x_tables               61440  1 ip_tables
autofs4                53248  2
ext4                  970752  1
crc16                  16384  2 bluetooth,ext4
mbcache                16384  1 ext4
jbd2                  167936  1 ext4
btrfs                1748992  0
blake2b_generic        20480  0
xor                    24576  1 btrfs
raid6_pq              122880  1 btrfs
zstd_compress         311296  1 btrfs
libcrc32c              16384  2 btrfs,sctp
crc32c_generic         16384  0
sd_mod                 65536  1
t10_pi                 16384  1 sd_mod
hid_sensor_custom      28672  0
hid_sensor_hub         28672  5 hid_sensor_trigger,hid_sensor_iio_common,hid_sensor_als,hid_sensor_accel_3d,hid_sensor_custom
crc64_rocksoft         20480  1 t10_pi
crc64                  20480  1 crc64_rocksoft
crc_t10dif             20480  1 t10_pi
crct10dif_generic      16384  0
intel_ishtp_hid        28672  0
i915                 2998272  21
ahci                   49152  1
libahci                49152  1 ahci
drm_buddy              20480  1 i915
i2c_algo_bit           16384  1 i915
xhci_pci               20480  0
hid_rmi                24576  0
drm_display_helper    180224  1 i915
libata                401408  2 libahci,ahci
xhci_hcd              315392  1 xhci_pci
rmi_core               86016  1 hid_rmi
cec                    61440  2 drm_display_helper,i915
hid_generic            16384  0
rc_core                69632  1 cec
ttm                    90112  1 i915
usbcore               344064  8 pl2303,usbserial,xhci_hcd,usb_storage,uvcvideo,btusb,xhci_pci,uas
scsi_mod              282624  7 ses,scsi_transport_sas,sd_mod,usb_storage,uas,libata,sg
drm_kms_helper        204800  2 drm_display_helper,i915
intel_ish_ipc          28672  0
crct10dif_pclmul       16384  1
i2c_i801               36864  0
i2c_hid_acpi           16384  0
crct10dif_common       16384  3 crct10dif_generic,crc_t10dif,crct10dif_pclmul
drm                   606208  13 drm_kms_helper,drm_display_helper,drm_buddy,i915,ttm
crc32_pclmul           16384  0
crc32c_intel           24576  3
intel_lpss_pci         28672  0
i2c_smbus              20480  1 i2c_i801
i2c_hid                32768  1 i2c_hid_acpi
scsi_common            16384  5 scsi_mod,usb_storage,uas,libata,sg
intel_lpss             16384  1 intel_lpss_pci
idma64                 20480  0
usb_common             16384  3 xhci_hcd,usbcore,uvcvideo
intel_ishtp            61440  2 intel_ishtp_hid,intel_ish_ipc
hid                   155648  6 i2c_hid,hid_multitouch,hid_sensor_hub,intel_ishtp_hid,hid_generic,hid_rmi
wmi                    36864  3 intel_wmi_thunderbolt,wmi_bmof,ideapad_laptop
battery                28672  0
video                  61440  2 ideapad_laptop,i915
button                 24576  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=auto
KEYMAP=n
COMPRESS=zstd
DEVICE=
NFSROOT=auto
RUNSIZE=10%
FSTYPE=auto

-- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=yes
backup_initramfs=no

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

/usr/share/initramfs-tools/hooks:
btrfs
dmsetup
fsck
fuse
intel_microcode
keymap
klibc-utils
kmod
ntfs_3g
plymouth
resume
thermal
udev
zz-busybox


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.0.0-6-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_USER, TAINT_WARN
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages initramfs-tools depends on:
ii  initramfs-tools-core  0.142
ii  linux-base            4.9

initramfs-tools recommends no packages.

Versions of packages initramfs-tools suggests:
ii  bash-completion  1:2.11-6

-- no debconf information

-- 
see shy jo

Attachment: signature.asc
Description: PGP signature


Reply to: