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)


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to