On Tue, Oct 20, 2015 at 09:19:10PM +0200, Alex wrote: > On 20.10.2015 20:20, Antoine Jacoutot wrote: > >>>> Index: pkg/iodined.rc > >>>> =================================================================== > >>>> RCS file: pkg/iodined.rc > >>>> diff -N pkg/iodined.rc > >>>> --- /dev/null 1 Jan 1970 00:00:00 -0000 > >>>> +++ pkg/iodined.rc 20 Oct 2015 13:31:47 -0000 > >>>> @@ -0,0 +1,12 @@ > >>>> +#!/bin/sh > >>>> +# > >>>> +# $OpenBSD$ > >>>> + > >>>> +daemon="${TRUEPREFIX}/sbin/iodined" > >>>> + > >>>> +. /etc/rc.d/rc.subr > >>>> + > >>>> +pexp="${daemon} .*" > >>> > >>> The default pexp does not match? > >> > >> The default pexp does not match, because iodined change its cmdline in > >> order to hide the password given with -P. > > > > Passing password on the command line, sigh. > > Anyway that makes sense. Does it strip the all args or just `-P ...' ? > > > > Only the option argument is stripped, so "iodined ... -P secret ..." > becomes "iodined ... -P ..." (note the two spaces after -P) and > "iodined ... -Psecret ..." becomes "iodined ... -P ..." (one space after > -P).
Alright, I'll take care of committing it then. Please do give me a day or two, I'd like to a a couple of tests first. Thanks. -- Antoine