net/samba34 does not create all required directories
Timur I. Bakeyev
timur at com.bat.ru
Sat Feb 6 17:23:27 UTC 2010
It looks like the problem was created by the --with-fhs flag, which
reset cachedir and statedir do it's default values.
With the flag removed those directories are the same as the lockdir.
Not sure, why rundir wasn't created by the package - this is done by
pkg-install script and should work both form port and package.
On Fri, Feb 5, 2010 at 3:36 PM, Spil Oss <spil.oss at googlemail.com> wrote:
> Just built net/samba34 (only ACL, AIO, FAM, SYSLOG and POPT enabled)
> and created a package samba34-3.4.5.tbz in my build jail.
> Installed the package in a different jail and couldn't start samba.
> First error was the pid-files related to /var/run/samba34 not existing
> Second error
> "initialise_wins: failed to open wins.tdb. Error was No such file or directory"
> Solved by tempory disabling wins support in smb.conf. After fixing
> third error I re-enabled it and it lives in /var/lib/samba as well
> Third error
> "write_browse_list: Can't open file /var/lib/samba/browse.dat"
> 1. /var/run/samba34 was not created by the package (was created in the
> build jail)
> 2. /var/lib/samba was not created
> smbd -b | grep DIR revealed all directories that must exist when starting samba
> Upgrading info is a bit meager, no UPGRADING file and the doc contains
> only a reference to the smbpasswd deprecation.
> Kind regards,
> freebsd-ports at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
More information about the freebsd-ports