FreeBSD Port: net/samba3 (rc.d weirdness)

Rainer Alves rainer.alves at gmail.com
Sat Aug 12 18:26:03 UTC 2006


Mike Jakubik wrote:
> The startup script for Samba states:
[...]
> However when setting samba_enable="YES" in rc.conf, the restart option 
> does not function correctly, as it only restarts smbd. If we instead set 
> the alternative of nmbd_enable="YES" and smbd_enable="YES", we get the 
> following warning during startup.
> 
> /etc/rc: WARNING: $samba_enable is not set properly - see rc.conf(5).

This message is also shown during boot even if rc.conf doesn't have any 
samba-related variables set.

[rainer at bsd ~]$ egrep '(samba|smb|nmb)' /etc/rc.conf | wc -l
        0

[rainer at bsd ~]$ grep 'not set properly' /var/log/messages
Aug 11 19:25:13 bsd root: /etc/rc.shutdown: WARNING: $samba_enable is 
not set properly - see rc.conf(5).
Aug 11 22:17:48 bsd root: /etc/rc: WARNING: $samba_enable is not set 
properly - see rc.conf(5).

-- Rainer Alves



More information about the freebsd-ports mailing list