Hi!

[ Trimmed kernel people from Cc. ]

On Fri, 2011-12-16 at 21:36:46 -0200, Henrique de Moraes Holschuh wrote:
> reassign 652026 amavisd-new
> thanks

> Hmm, this means we _will_ have to drop the use of --name in amavisd-new, no
> way around it.  I wish I could use -u and -g, but that requires actually
> parsing the config files the same way amavisd-new does.

--name has always been unreliable, given its system dependant size
limit and the fact that it's commonly used for pretty printing on ps.
In any case, yes I'd recommend using --exec (on the perl interpreter!?),
--pidfile and --user, that should be enough to distinguish it from other
processes.

> Reassiging back to amavisd-new.  I will file a wishlist bug for a --namere
> parameter for start-stop-daemon later, if we cannot find a better way to do
> it in amavisd-new.

I'd rather try to find something more reliable that can distinguish a
process and not add just yet more heuristics based on --name.

Hmm, just thinking out loud now, a possible new test could be to check
for the parent pid, which for daemons would usually be 1.

thanks,
guillem



-- 
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