6.1-prerelease, /etc/rc.d/localpkg, rc.subr and samba3

Doug Barton dougb at FreeBSD.org
Mon Feb 13 11:10:24 PST 2006

Mars G. Miro wrote:
> Hi there,
>   Today I upgraded a 6.0Rp4 box to RELENG_6 w/c brings it to
> 6.1-PRERELEASE. This box has a jail w/c has samba (samba-3.0.21a,1)
> installed and after the usual build{world,kernel},
> install{kernel,world}, mergemaster process, I found out that samba
> would not start during boot. I traced it to /etc/rc.d/localpkg.
> Reverting this to the 6.0Rp4 version works. I'm no rc guru but seems
> that 'find_local_scripts_{old|new}' in /etc/rc.subr doesnt actually
> find the local_startup rc scripts?

The samba boot script is a new style rc.d script, so it will be found by
rc.subr, but won't be started unless you have samba_enable=yes in
/etc/rc.conf.local (or rc.conf).



    This .signature sanitized for your protection

More information about the freebsd-rc mailing list