Bug#778378: systemd: Mounts inconsistent rootfs read-write

Michael Biebl biebl at debian.org
Sun Dec 18 23:09:39 GMT 2016


On Sat, 14 Feb 2015 11:55:49 +0100 Jan Hrach <jenda.debbugs at hrach.eu> wrote:
> Package: systemd
> Version: 215-11
> Severity: normal
> 
> Dear Maintainer,
> 
> when fsck of / fails, system drops to emergency mode. However, the filesystem is already remounted read-write, which might have resulted in further damage.
> 
> Steps to reproduce:
>   1. break the filesystem in a way that fsck will fail (e.g. by setting EXT4_IMAGIC_FL on some inode) and mark filesystem dirty
>   2. boot
>   3. give root password in the emergency mode; observe the filesystem is rw
> 
> Expected result:
> If fsck fails, the FS should be assumed to be broken and left readonly to prevent more damage.
> 

Nowadays (in jessie and onwards), the / (and /usr) file system is fscked
by the initramfs.

I don't have a system without an initramfs, where
systemd-fsck-root.service is still used. The Debian provided kernels do
all use an initramfs.

So I'm not sure if this is still an issue today.

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20161219/d9a9dd25/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list