On Mon, 24.09.12 17:04, Nicolas Aguirre (aguirre.nico...@gmail.com) wrote:

> To fix my problem, i will create a service which will mount the fs in
> rw, create the /etc/machine-id  and remount fs in ro if the machine-id
> is not found. It should work in my case because i'm using ubifs, but
> how to fix such problem in case of squashfs for example ?

/etc/machine-id really needs to exist. Either as a valid file or as an
empty file we can over-mount with something randomly generated at
boot. Also see machine-id(5) for more information about this.

We probably should make PID 1 refuse boot-up entirely if the file is not
around, so that this is not that difficult to debug and stumble over.
 
Lennart

-- 
Lennart Poettering - Red Hat, Inc.
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to