[apparmor] [PATCH] for /var/run -> /run (LP: #810270)

John Johansen john.johansen at canonical.com
Thu Jul 14 16:23:20 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/14/2011 06:13 AM, Jamie Strandboge wrote:
> Ubuntu has recently bug the /var/run -> /run udev transition, and
> AppArmor needs to have it profiles adjusted accordingly. Some
> distributions are (eg Ubuntu) going to provide a compatibility symlink
> from /var/run to /run and /var/lock to /run/lock.
> 
> While this could conceivably be done with a tunable for /var/run, the
> tunable is less worthwhile for /var/lock. Attached is a patch
> for /var/run and /var/lock.
> 
> [1]https://bugs.launchpad.net/ubuntu/oneiric/+source/apparmor/+bug/810270
> 
Ack, it look fine

A possible alternate route is using an alias,
change everything to /run and then setup
  alias /var/run -> /run

that wouldn't however work for the /dev -> /run converstions nor
would it catch the @{CHROOT_BASE}/ prefixed rules.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk4fF/IACgkQxAVxIsEKI+bqRQCeN99bPLPW1mQjZAd7bpn/kEmE
1bYAoJWTgvfBersOJhXs8PDedop2aybL
=q3aW
-----END PGP SIGNATURE-----



More information about the AppArmor mailing list