I am sure that a tune2fs -C -1 should suffice, as is normally the case to force an fsck.
Robert On Mar 13, 2015 1:30 AM, "jpw" <jap...@comcast.net> wrote: > Package: initramfs-tools > Version: 0.119 > Severity: important > > Dear Maintainer, > > A basic change in function for fsck at boot time has resulted following > upgrade > of this package from 0.116 to 0.119. > > Following deprecation of "touch /forcefsck" earlier this past year for > forcing fsck > at next reboot I started using a line in rc.local (tune2fs -c 0 > /dev/sda1) to set > maximum mount count so that in-depth file system checks would never occur > unless I > specified. I then issued "tune2fs -c 1 /dev/sda1" from a root prompt on > the remote > systems to force the in-depth fsck on next reboot. > > The remote systems used to execute an in-depth fsck on the boot partition > at > next reboot when I followed this procedure. This function no longer works. > > So far, the only solution I have found would seem to be to make temporary > changes > in grub configuration on remote systems (via script or via manual editing) > when I > want to force a file system check at boot time. This seems inadvisable to > me. > > Is there another solution, or can this functionality be restored by further > changes to initramfs-tools? > > -- Package-specific info: > -- initramfs sizes > -rw-r--r-- 1 root root 15M Mar 11 10:03 /boot/initrd.img-3.16.0-4-amd64 > -- /proc/cmdline > BOOT_IMAGE=/boot/vmlinuz-3.16.0-4-amd64 > root=UUID=d6c0ac59-8f7c-438a-a87d-9f4f79ea58a1 ro initrd=/install/initrd.gz > quiet > > -- resume > RESUME=UUID=fad10f9d-8fa7-4f12-ab5c-a4d1e7a1a764 > -- /proc/filesystems > ext3 > ext2 > ext4 > fuseblk > > -- lsmod > Module Size Used by > tun 26385 0 > binfmt_misc 16949 1 > asix 35194 0 > usbnet 30844 1 asix > libphy 32268 1 asix > mii 12675 2 asix,usbnet > udl 23117 0 > drm_usb 12469 1 udl > udlfb 22180 0 > nfsd 263032 2 > 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 6 nfs,nfsd,auth_rpcgss,lockd,nfs_acl > joydev 17063 0 > ip6t_REJECT 12468 1 > snd_usb_audio 135354 3 > snd_usbmidi_lib 23388 1 snd_usb_audio > snd_rawmidi 26806 1 snd_usbmidi_lib > snd_seq_device 13132 1 snd_rawmidi > x86_pkg_temp_thermal 12951 0 > intel_powerclamp 17159 0 > arc4 12536 2 > iwldvm 135156 0 > mac80211 474218 1 iwldvm > intel_rapl 17356 0 > coretemp 12820 0 > kvm_intel 139116 0 > kvm 388635 1 kvm_intel > snd_hda_codec_hdmi 45118 1 > xt_hl 12449 6 > iTCO_wdt 12831 0 > i915 837133 2 > snd_hda_codec_conexant 17841 1 > snd_hda_codec_generic 63107 1 snd_hda_codec_conexant > ip6t_rt 12456 3 > iTCO_vendor_support 12649 1 iTCO_wdt > evdev 17445 33 > nf_conntrack_ipv6 13605 7 > iwlwifi 96547 1 iwldvm > snd_hda_intel 26327 4 > crc32_pclmul 12915 0 > cfg80211 405538 3 iwlwifi,mac80211,iwldvm > psmouse 98616 0 > drm_kms_helper 49210 2 udl,i915 > nf_defrag_ipv6 33358 1 nf_conntrack_ipv6 > snd_hda_controller 26727 1 snd_hda_intel > serio_raw 12849 0 > ghash_clmulni_intel 12978 0 > mei_me 17941 0 > thinkpad_acpi 69119 3 > drm 249955 6 udl,i915,drm_usb,drm_kms_helper > snd_hda_codec 104463 5 > snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller > ipt_REJECT 12465 1 > nvram 13034 1 thinkpad_acpi > lpc_ich 20768 0 > pcspkr 12595 0 > mfd_core 12601 1 lpc_ich > snd_hwdep 13148 2 snd_usb_audio,snd_hda_codec > snd_pcm 88662 5 > snd_usb_audio,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller > mei 74977 1 mei_me > cryptd 14516 1 ghash_clmulni_intel > snd_timer 26614 1 snd_pcm > xt_LOG 17171 10 > i2c_algo_bit 12751 1 i915 > i2c_i801 16965 0 > i2c_core 46012 5 > drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit > tpm_tis 17182 0 > wmi 17339 0 > snd 65244 31 > snd_usb_audio,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_pcm,snd_rawmidi,snd_hda_codec_generic,snd_usbmidi_lib,snd_hda_codec,snd_hda_intel,thinkpad_acpi,snd_seq_device > shpchp 31121 0 > tpm 31511 1 tpm_tis > battery 13356 0 > ac 12715 0 > video 18096 1 i915 > soundcore 13026 2 snd,snd_hda_codec > rfkill 18867 2 cfg80211,thinkpad_acpi > xt_limit 12601 13 > xt_tcpudp 12527 22 > button 12944 1 i915 > xt_addrtype 12557 4 > processor 28221 0 > nf_conntrack_ipv4 18448 7 > nf_defrag_ipv4 12483 1 nf_conntrack_ipv4 > xt_conntrack 12681 14 > ip6table_filter 12540 1 > ip6_tables 26025 1 ip6table_filter > nf_conntrack_netbios_ns 12445 0 > nf_conntrack_broadcast 12365 1 nf_conntrack_netbios_ns > nf_nat_ftp 12460 0 > nf_nat 18241 1 nf_nat_ftp > nf_conntrack_ftp 16783 1 nf_nat_ftp > nf_conntrack 87424 8 > nf_nat_ftp,nf_conntrack_netbios_ns,nf_nat,xt_conntrack,nf_conntrack_broadcast,nf_conntrack_ftp,nf_conntrack_ipv4,nf_conntrack_ipv6 > iptable_filter 12536 1 > ip_tables 26011 1 iptable_filter > x_tables 27111 13 > ip6table_filter,xt_hl,ip_tables,xt_tcpudp,xt_limit,xt_conntrack,xt_LOG,iptable_filter,ip6t_rt,ipt_REJECT,ip6_tables,xt_addrtype,ip6t_REJECT > loop 26605 0 > fuse 83350 1 > parport_pc 26300 0 > ppdev 16782 0 > lp 17074 0 > parport 35749 3 lp,ppdev,parport_pc > autofs4 35529 2 > ext4 473802 1 > crc16 12343 1 ext4 > mbcache 17171 1 ext4 > jbd2 82413 1 ext4 > hid_microsoft 12578 0 > hid_generic 12393 0 > usbhid 44460 0 > hid 102264 3 hid_generic,hid_microsoft,usbhid > sg 29973 0 > sd_mod 44356 3 > sr_mod 21903 0 > crc_t10dif 12431 1 sd_mod > cdrom 47424 1 sr_mod > crct10dif_generic 12581 0 > ahci 33291 2 > crct10dif_pclmul 13387 1 > crct10dif_common 12356 3 > crct10dif_pclmul,crct10dif_generic,crc_t10dif > libahci 27158 1 ahci > crc32c_intel 21809 0 > libata 177457 2 ahci,libahci > sdhci_pci 22097 0 > scsi_mod 191405 4 sg,libata,sd_mod,sr_mod > sdhci 35153 1 sdhci_pci > mmc_core 102374 2 sdhci,sdhci_pci > ehci_pci 12512 0 > ehci_hcd 69837 1 ehci_pci > usbcore 195340 10 > udl,asix,udlfb,snd_usb_audio,drm_usb,snd_usbmidi_lib,ehci_hcd,ehci_pci,usbhid,usbnet > e1000e 203664 0 > usb_common 12440 1 usbcore > ptp 17692 1 e1000e > thermal 17559 0 > pps_core 17225 1 ptp > thermal_sys 27642 5 > video,intel_powerclamp,thermal,processor,x86_pkg_temp_thermal > > -- /etc/initramfs-tools/modules > > -- /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 > intel_microcode > keymap > klibc > kmod > ntfs_3g > resume > thermal > udev > zz-busybox > > > -- System Information: > Debian Release: 8.0 > APT prefers testing-updates > APT policy: (500, 'testing-updates'), (500, 'testing') > Architecture: amd64 (x86_64) > > Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores) > Locale: LANG=en_US.utf8, LC_CTYPE=en_US.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-9+deb8u1 > ii cpio 2.11+dfsg-4 > ii klibc-utils 2.0.4-2 > ii kmod 18-3 > ii udev 215-12 > > 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 > > > -- > To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact > listmas...@lists.debian.org > Archive: > https://lists.debian.org/20150312142534.1811.52913.reportbug@T520i.workgroup > >