[apparmor] [PATCH] for /var/run -> /run (LP: #810270)
Jamie Strandboge
jamie at canonical.com
Thu Jul 14 16:33:28 UTC 2011
On Thu, 2011-07-14 at 09:23 -0700, John Johansen wrote:
> -----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.
Yes, I thought of that too. I think the transparency is probably good
for the transition. Maybe in 3.0 we can move all this to /run and do an
alias for /var/run if people want it.
Committed. Thanks!
--
Jamie Strandboge | http://www.canonical.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20110714/ac57b2d3/attachment.pgp>
More information about the AppArmor
mailing list