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

Lennart Poettering lennart at poettering.net
Mon Apr 13 01:44:23 PDT 2015


On Mon, 13.04.15 02:31, Ivan Shapovalov (intelfx100 at gmail.com) wrote:

> On 2015-04-09 at 10:04 +0200, Lennart Poettering wrote:
> > [...]
> > 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.
> 
> Hmm, well, systemd-remount-fs.service is enabled statically, it 
> doesn't use systemd-fstab-generator...

True, but still: I think just skipping the whole service is wrong. It
might list mount options to apply to some file system (including API
VFS), and we should apply them.

This really sounds more as if you distro should not place unnecessary
entries in /etc/fstab, that cause failure like this...

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list