From owner-freebsd-ports@FreeBSD.ORG Sat Feb 6 17:23:27 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3DA131065692 for ; Sat, 6 Feb 2010 17:23:27 +0000 (UTC) (envelope-from timur@bat.ru) Received: from mail-pz0-f202.google.com (mail-pz0-f202.google.com [209.85.222.202]) by mx1.freebsd.org (Postfix) with ESMTP id 22F7D8FC13 for ; Sat, 6 Feb 2010 17:23:26 +0000 (UTC) Received: by pzk40 with SMTP id 40so5289926pzk.7 for ; Sat, 06 Feb 2010 09:23:26 -0800 (PST) MIME-Version: 1.0 Received: by 10.140.252.5 with SMTP id z5mr2967284rvh.256.1265476594155; Sat, 06 Feb 2010 09:16:34 -0800 (PST) In-Reply-To: <5fbf03c21002050636y39a308b7v1d51699942ba2c06@mail.gmail.com> References: <5fbf03c21002050636y39a308b7v1d51699942ba2c06@mail.gmail.com> From: "Timur I. Bakeyev" Date: Sat, 6 Feb 2010 18:16:14 +0100 Message-ID: <7d743c271002060916p75219539t32ad62bc11ca5669@mail.gmail.com> To: spil.oss@gmail.com Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-ports@freebsd.org Subject: Re: net/samba34 does not create all required directories X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Feb 2010 17:23:27 -0000 Hi! 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. With regards, Timur. On Fri, Feb 5, 2010 at 3:36 PM, Spil Oss wrote: > Hi, > > 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, > > Spil. > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >