[systemd-devel] [PATCH 6/7] mount: filesystems mounted in the initrd should not conflict with umount.target in the real root

Lennart Poettering lennart at poettering.net
Wed Sep 11 04:38:52 PDT 2013


On Tue, 10.09.13 13:33, Colin Walters (walters at verbum.org) wrote:

> 
> On Tue, 2013-09-10 at 18:47 +0200, Lennart Poettering wrote:
> 
> > I'd actually prefer having an explicit blacklist for this, so that we
> > don't have to trust the initrd too much that...
> 
> But nowadays it's systemd running in the initrd, what's not to trust?

Well, might be a different version, might be one without systemd, ...

> > However, I'd really like to see this blacklist be unified
> > somewhere. Maybe a new function in util.c or so called
> > is_os_resource_path()
> 
> What would the blacklist contain?  Just / and /usr?  Or would it also
> have /var?

/, /usr, /etc probably.

/var is something where we allow that it is mounted at late boot and
that it is unmounted at late shutdown (at least in theory).

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list