From 9cc8f1aff7204f22d3065f4221f7092f328c54f3 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Wed, 25 Dec 2013 10:20:07 +0100 Subject: tests: needs mount --make-rprivate / --- t/README | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/t/README b/t/README index 3dba935..eda327d 100644 --- a/t/README +++ b/t/README @@ -4,6 +4,11 @@ See http://michael.stapelberg.de/cpan/#Linux::Clone on how to install it. Note that you need to run the test cases as root because they use Linux mount namespaces and bind mounts (requires Linux ≥ 2.4.19). +Note that you should mark / as a private subtree before running these tests, or +they will fail. Use mount --make-rprivate /. Unfortunately, the version of +util-linux in Debian at the time of writing (2.20.1) is broken and its +--make-rprivate does not actually work. See #731574. + The intention is that the testcases are _not_ run automatically during package building because they might be too fragile and additional dependencies make it harder to port this package to Ubuntu or Debian backports. It is enough if the -- cgit v1.2.3