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

Sam Morris sam at robots.org.uk
Mon Feb 24 12:27:51 GMT 2014


On Mon, Feb 24, 2014 at 12:49:04PM +0100, Christoph Berg wrote:
> 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.

The tests will still break if the admin has set shared propagation on /.
In my own code that uses CLONE_NEWNS for the same reason, I explicitly
run 'mount --make-rprivate /' to bring the propagation settings into a
known desired state; I suggest that others do the same.

-- 
Sam Morris <https://robots.org.uk/>
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078




More information about the Pkg-systemd-maintainers mailing list