[systemd-devel] Check if systems is container in "systemd-remount-fs.service"

Peter Paule systemd-devel at fedux.org
Thu Apr 16 21:49:48 PDT 2015


Excerpts from Lennart Poettering's message of 2015-04-08 23:55:31 +0200:
> On Tue, 17.03.15 10:54, Peter Paule (systemd-devel at fedux.org) wrote:
> 
> > Hi,
> > 
> > does it make sense to check if the system is started as a container in
> > "systemd-remount-fs.service" and only start the service if the system is NOT
> > a container?
> 
> Why? I mean, we should apply /etc/fstab if it is configured. 
> 
> What's the rationale for your proposed change?

I built a container based on centos 7. This service fails on startup in a
container. But I can't remember why.

/pp


More information about the systemd-devel mailing list