[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#834298: nis: problem appears to be in invocation in /etc/init.d/nis



On Tue, 16 Oct 2018 14:56:57 -0600 Joe Pfeiffer <joseph@pfeifferfamily.net> wrote:
> The problem appears to be in line 172 of /etc/init.d/nis:
> --exec ${NET}/ypbind -- $broadcast ${YPBINDARGS}
>
> If I execute this by hand (for my environment, which does not use
> -broadcast and has empty YPBINDARGS), ie
>
> [...]
>
> If I delete the -- from the invocation it works.
>

Good find, though the "--" is signaling the end of the start-stop-daemon options, and is not an option to ypbind. Options to the daemon (ypbind) come after the "--". Since your options to ypbind are empty anyway, it works in your case, but it might fail otherwise. This still looks like a bug/regression in the ypbind binary to me, not like a bug in the init.d script.


Christoph


Reply to: