On Sat, 14 Feb 2015 11:55:49 +0100 Jan Hrach <jenda.debb...@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?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to