On 24 Aug 2013 03:51, "Colin Walters" <walt...@verbum.org> wrote:
>
> First, thanks for working on this, most of these patches look sane to
> me.
>
> On Fri, 2013-08-23 at 15:09 +0800, Tom Gundersen wrote:
>
> > +        if (path_equal(m->where, "/") ||
> > +            path_equal(m->where, "/usr"))
> > +                return false;
>
> But it annoys me that we're propagating this hardcoding in the new code
> too.  How about we make systemd inspect /proc/self/mountinfo *very*
> early on at boot when it starts, and ensure skip unmounting these, under
> the assumption they'll be taken care of either in the initrd, or by the
> final kill spree?

This has been bothering me too, but haven't gotten around to sorting it out
properly yet. Your idea sounds like the best approach, I'll have a look at
it.

Cheers,

Tom
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to