Bug#782700: [pkg-apparmor] Bug#782700: Please drop $remote_fs init.d dependency to allow running early

2015-05-03 Thread Martin Pitt
Hello intrigeri, intrigeri [2015-05-01 12:34 +0200]: I see the initscript's start action uses load_configured_profiles, that in turn uses foreach_configured_profile, that itself uses xargs, that lives in /usr/bin. Nicely spotted! I don't understand how this can work without /usr. Did I miss

Bug#782700: [pkg-apparmor] Bug#782700: Please drop $remote_fs init.d dependency to allow running early

2015-05-03 Thread intrigeri
Hi Martin, Martin Pitt wrote (03 May 2015 08:36:40 GMT) : Could we change the scripts to drop xargs? I. e replace constructions like cmd1 | xargs -n1 cmd2 with for i in `cmd1`; do cmd2 $i; done, or cmd1 | xargs cmd2 with cmd2 `cmd1`? I see xargs used for a few different purposes in

Bug#782700: [pkg-apparmor] Bug#782700: Please drop $remote_fs init.d dependency to allow running early

2015-05-01 Thread intrigeri
Control: tag -1 + moreinfo Hi Martin, I've merged current Ubuntu's packaging branch into collab-maint/apparmor-experimental, so this is pending for the next upload to experimental. However: Martin Pitt wrote (16 Apr 2015 12:56:55 GMT) : IMHO $local_fs should suffice as during booting the

Bug#782700: [pkg-apparmor] Bug#782700: Please drop $remote_fs init.d dependency to allow running early

2015-04-16 Thread Cameron Norman
On Thu, Apr 16, 2015 at 6:22 AM, Michael Biebl bi...@debian.org wrote: Hi! While we are that topic, I think it would be better to not pull apparmor specifics into ifup@.service and networking.service, but rather have apparmor ship a native .service file and specify the correct orderings,

Bug#782700: [pkg-apparmor] Bug#782700: Please drop $remote_fs init.d dependency to allow running early

2015-04-16 Thread Christian Boltz
Hello, Am Donnerstag, 16. April 2015 schrieb Michael Biebl: Or maybe better: provide a native .service file, hook that up in sysinit.target and add Wants=network-pre.target Before=network-pre.target to apparmor.service. See man systemd.special FYI: I received a service file for openSUSE

Bug#782700: [pkg-apparmor] Bug#782700: Please drop $remote_fs init.d dependency to allow running early

2015-04-16 Thread Michael Biebl
On Thu, 16 Apr 2015 19:25:13 +0200 Christian Boltz apparmor-deb...@cboltz.de wrote: Hello, Am Donnerstag, 16. April 2015 schrieb Michael Biebl: Or maybe better: provide a native .service file, hook that up in sysinit.target and add Wants=network-pre.target Before=network-pre.target

Bug#782700: [pkg-apparmor] Bug#782700: Please drop $remote_fs init.d dependency to allow running early

2015-04-16 Thread Cameron Norman
On Thu, Apr 16, 2015 at 5:56 AM, Martin Pitt mp...@debian.org wrote: Package: apparmor Version: 2.9.0-3 Hello, apparmor's init.d script currently depends on $remote_fs. This is a rather heavy dependency and means that important processes like dhclient or NFS cannot be covered by apparmor

Bug#782700: [pkg-apparmor] Bug#782700: Please drop $remote_fs init.d dependency to allow running early

2015-04-16 Thread Martin Pitt
Hello Cameron, Cameron Norman [2015-04-16 16:05 -0700]: I feel like it would be better to split out the click stuff. While it may be ok to ignore the click bits needing the full fs to be mounted in most cases, it would ensure that any future issues are properly avoided. Any objection to it