[apparmor] [PATCH v2] update base abstraction for additional journald sockets
Jamie Strandboge
jamie at canonical.com
Wed May 3 21:10:01 UTC 2017
On Thu, 2017-04-27 at 19:13 +0100, Simon McVittie wrote:
> On Thu, 27 Apr 2017 at 11:49:28 -0500, Jamie Strandboge wrote:
> > On Thu, 2017-04-27 at 18:31 +0200, Christian Boltz wrote:
> > > Is /var/run/... really needed, or is /run/... enough?
> >
> > It probably isn't needed, but in Ubuntu we are backporting more and more
> > AppArmor to earlier releases (I don't know what other distros are doing, but
> > it
> > seemed conceivable they might do the same) and it seemed best to leave it.
>
> As far as I'm aware, systemd pid 1 explicitly does not support any setup
> other than "/run is a directory, /var/run is a symlink to /run", and
> systemd-journald requires systemd pid 1.
>
> Or does Ubuntu have some workaround to use systemd-journald in releases
> older than the one in which you moved from Upstart to systemd as init?
>
No, Ubuntu does not.
> The /run migration happened in sysvinit 2.88dsf-29 or earlier (2012)
> so I would hope that any still-relevant system had this change long ago.
Ok, attached is an updated patch that removes the var/ alternation as well as
adjusting an existing dev-log rule.
--
Jamie Strandboge | http://www.canonical.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: base-journald-updates_v2.patch
Type: text/x-patch
Size: 1519 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20170503/b3522bb4/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20170503/b3522bb4/attachment.pgp>
More information about the AppArmor
mailing list