Minor headaches using pkgsrc daemons (samba)
wa1ter at myrealbox.com
Sun Jul 10 13:29:50 PDT 2005
(I would have posted this to users but asmodai once said
he didn't read that list ;o)
I just got the pkgsrc 'samba' installed and ran into a
few minor snags involving the startup scripts.
First, in /etc/rc.conf the pkgsrc entries differ from
what I expected:
e.g. smbd=YES instead of smbd_enable="YES".
Second, the startup scripts, which belong in
/usr/pkg/etc/rc.d/ need to have a '.sh' extension
tacked on the name of the script, e.g. 'smbd.sh'
instead of just 'smbd'. The example scripts supplied
in /usr/pkg/share/examples/rc.d/ don't have that
'.sh' so I had to read thru the DFly /etc/rc.d/
scripts to figure it out.
I thought maybe the DFly startup scripts could print
out an error message warning that 'smbd' needs to be
renamed 'smbd.sh' or <gasp> maybe just start 'smbd'
no matter what it's name is?
More information about the Bugs