DragonFly BSD
DragonFly bugs List (threaded) for 2005-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Minor headaches using pkgsrc daemons (samba)


From: walt <wa1ter@xxxxxxxxxxxxx>
Date: Sun, 10 Jul 2005 13:29:50 -0700

(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?



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