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

Martin Pitt mpitt at debian.org
Sun May 3 08:36:40 UTC 2015


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
> anything? Was it tested with /usr unavailable?

We don't support remote /usr in Ubuntu, so I didn't test that,
sorry. (I. e. it might work in some circumstances, but it's so exotic
and brittle that Ubuntu just never bothered).

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`"?

Thanks,

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)



More information about the pkg-apparmor-team mailing list