[apparmor] [PATCH 2/2] tests: Mount without updating mtab in mount.sh
Steve Beattie
steve at nxnw.org
Thu Apr 24 17:31:39 UTC 2014
On Thu, Apr 24, 2014 at 01:06:06AM -0500, Tyler Hicks wrote:
> The mount.sh script mixes calls to the regression test 'mount' binary
> and /sbin/mount. This can result in stale mtab entries being left around
> after a test run because /sbin/mount adds an mtab entry but the test
> 'mount' binary, which is also used for unmounting, does not remove mtab
> entries.
>
> To solve this problem, the -n option is passed to /sbin/mount so that it
> doesn't add an mtab entry when mounting.
>
> Signed-off-by: Tyler Hicks <tyhicks at canonical.com>
Acked-by: Steve Beattie <steve at nxnw.org>
Thanks!
--
Steve Beattie
<sbeattie at ubuntu.com>
http://NxNW.org/~steve/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20140424/7d5e40c4/attachment.pgp>
More information about the AppArmor
mailing list