Bug#762018: systemd: v215 - rootfs left in read-only - not everytime

Sjoerd Simons sjoerd at luon.net
Fri Sep 19 12:58:06 BST 2014


On Fri, 2014-09-19 at 10:33 +0200, Václav Ovsík wrote:
> Hi,
> 
> On Thu, Sep 18, 2014 at 08:08:48PM +0200, Sjoerd Simons wrote:
> >... 
> > Are you using laptop-mode-tools ?
> 
> Yes, I use laptop-mode-tools 1.65-2

I'ts most likely laptop-mode-tools, can you remove it and let me know if
that helps?

> I'm running on Dell Latitude E6520 with SSD 256GB.
> 
> I tried five reboots today, and one time the startup was successful
> (read-write root). The rest startups was with read-only root.
> 
> bobek:~# lvs
>   LV    VG   Attr       LSize   Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
>   Edata ssd  -wi-ao---- 128.00g                                                    
>   Ehome ssd  -wi-ao----  20.00g                                                    
>   Eroot ssd  -wi-ao----  36.00g                                                    
>   Eswap ssd  -wi-ao----   8.00g                                                    
>   boot  ssd  -wi-ao---- 256.00m                                                    
> 
> LVs with `E' prefix uses LUKS
> 
> bobek:~# cat /etc/crypttab 
> # <target device> <source device> <key file> <options>
> root   /dev/mapper/ssd-Eroot    none    	discard,luks
> swap   /dev/mapper/ssd-Eswap    /etc/keys/mykey discard,luks
> home   /dev/mapper/ssd-Ehome    /etc/keys/mykey discard,luks
> data   /dev/mapper/ssd-Edata    /etc/keys/mykey discard,luks
> 
> 
> I have removed ipmitool, so the service ipmievd is away (there was errors about
> inserting ipmi_si module).
> The log is now shorter, error messages at start are:
> 
> bobek:~# journalctl -p err|head
> -- Logs begin at Fri 2014-09-19 09:44:06 CEST, end at Fri 2014-09-19 10:18:04 CEST. --
> Sep 19 09:44:07 bobek systemd-udevd[358]: Error calling EVIOCSKEYCODE on device node '/dev/input/event16' (scan code 0x150, key code 190): Invalid argument
> Sep 19 09:44:09 bobek systemd-tmpfiles[3284]: chmod(/var) failed: Read-only file system
> Sep 19 09:44:09 bobek systemd-tmpfiles[3284]: chmod(/var/log) failed: Read-only file system
> Sep 19 09:44:09 bobek systemd-tmpfiles[3284]: chmod(/var/lib) failed: Read-only file system
> Sep 19 09:44:09 bobek systemd-tmpfiles[3284]: chmod(/var/lib/systemd) failed: Read-only file system
> Sep 19 09:44:09 bobek systemd-tmpfiles[3284]: chmod(/var/lib/systemd/coredump) failed: Read-only file system
> Sep 19 09:44:09 bobek systemd-tmpfiles[3284]: Failed to create file /var/log/wtmp: Read-only file system
> Sep 19 09:44:09 bobek systemd-tmpfiles[3284]: Failed to create file /var/log/btmp: Read-only file system
> Sep 19 09:44:09 bobek systemd-tmpfiles[3284]: chmod(/var/cache) failed: Read-only file system
> 
> 
> Maybe the problem is about some race condition?
> 




More information about the Pkg-systemd-maintainers mailing list