Bug#834298: nis: problem appears to be in invocation in /etc/init.d/nis
Package: nis
Version: 3.17.1-3+b1
Followup-For: Bug #834298
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
/usr/sbin/ypbind --
I get the response
babs:~# ypbind --
Usage:
ypbind [-broadcast | -ypset | -ypsetme] [-f configfile]
[-no-ping] [-broken-server] [-local-only] [-i ping-interval]
[-r rebind-interval] [-debug] [-verbose] [-n | -foreground]
ypbind -c [-f configfile]
ypbind --version
If I delete the -- from the invocation it works.
Reply to: