[Pkg-systemd-maintainers] Bug#739593: closed by Michael Stapelberg <stapelberg at debian.org> (Re: Bug#739593: systemd makes / shared by default)

Christoph Berg christoph.berg at credativ.de
Mon Feb 24 11:49:04 GMT 2014


> > system remounts / as shared with the following comment:
> >
> > | Mark the root directory as shared in regards to mount
> > | propagation. The kernel defaults to "private", but we think
> > | it makes more sense to have a default of "shared" so that
> > | nspawn and the container tools work out of the box. If
> > | specific setups need other settings they can reset the
> > | propagation mode to private if needed.
> As Bastian notes, this is intended behavior. Closing the bug therefore.

To put in more context here: the problem is with the postgresql
testsuite in /usr/share/postgresql-common/{testsuite,t} .

It puts tmpfs mounts over /etc/postgresql /etc/postgresql-common
/var/lib/postgresql /var/log/postgresql in an CLONE_NEWNS environment.
Once the tests are done, the tmpfs mounts go out of scope and no trash
from the tests is left behind on the host system. These tests are also
run from autopkgtest.

I don't think we as PostgreSQL maintainers should be messing with the
configuration of / to enable the testsuite.

Please consider reverting to the kernel default.

Christoph
-- 
cb at df7cb.de | http://www.df7cb.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20140224/409bf7a8/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list