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

Bug#780352: initramfs-tools: Can't force fsck on remote systems



Control: tag -1 unreproducible

On Thu, 12 Mar 2015 10:25:34 -0400 jpw <japers@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.
[...]

It works for me.  However, the forced fsck is now done from the
initramfs (for the root and /usr filesystems), not under systemd or
initscripts.

Is the real problem to do with logging the output of fsck?

Ben.

-- 
Ben Hutchings
I'm always amazed by the number of people who take up solipsism because
they heard someone else explain it. - E*Borg on alt.fan.pratchett

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: