[systemd-devel] Check if systems is container in "systemd-remount-fs.service"
Lennart Poettering
lennart at poettering.net
Thu Apr 9 01:04:23 PDT 2015
On Thu, 09.04.15 00:01, Cristian RodrÃguez (crrodriguez at opensuse.org) wrote:
> On Wed, Apr 8, 2015 at 6:55 PM, Lennart Poettering
> <lennart at poettering.net> wrote:
> > 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?
>
> The service always fail when running in a container.. for example
So, why list in in /etc/fstab then?
Also, current versions of fstab-generator skip device entries in
containers anyway, so I am not sure how you even managed to generate
an error in this case, unless you run a really old version of systemd.
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list