the start-stop-daemon binary accepts partial matches of long options because it uses the getopt_long() function which includes this behavior (and is not controllable) ... that means you can do: ssd --pid <pidfile> ssd --pidf <pidfile> ssd --pidfi <pidfile> ssd --pidfil <pidfile> ssd --pidfile <pidfile> but the start-stop-daemon() wrapper code only handles --pidfile we need to either make the ssd wrapper code more flexible to match the behavior of the ssd binary, or make the wrapper code catch these partial matches and spit out an error so people know how to fix it ... the current behavior with 1.12.x is to fail silently while actually claiming it worked in some circumstances ;(
Created attachment 101614 [details, diff] emulate getopt_long This makes the wrapper parse the options like getopt_long (patch applies to baselayout-1.13.0_alpha6) I would prefer an exact name match, but heh.
Created attachment 101618 [details, diff] emulate getopt_long This one actually works :)
Fixed in baselayout-1.13.0_alpha7