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
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]