From owner-freebsd-ports@FreeBSD.ORG Tue Mar 18 18:26:43 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B4C7EC77 for ; Tue, 18 Mar 2014 18:26:43 +0000 (UTC) Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com [209.85.212.169]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3EE22A74 for ; Tue, 18 Mar 2014 18:26:42 +0000 (UTC) Received: by mail-wi0-f169.google.com with SMTP id hm4so4007503wib.0 for ; Tue, 18 Mar 2014 11:26:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=ai42tJtqyAoiMWNcOBcaCKsNshXPtivrbRl9pJWsHjY=; b=iOIwQi3nriaUmYmfh/Bf55SApQOnj3JBeOPWg1BsAFKyBAEMus00MSQyTcrTUkHSSx iOSx6W8813vDLRQoyR3Aj3zZXy+68NxiDPOX84Muf0tkroUOrLdri2vinZMCYcThsHaK usU8C/2vRDY2ov/e25hqntfkaRR9Ft2JWRyypaBrXoAxWPyFYq1gl53dONl+J6DOwfVL sB6BYOxjn4hJ9vE6KBK7xTsqDx1JbFRMuAvss44LKecWmgeuqDo5sy2dL2YCDivjG9wJ HU+HOw+KHlvk4EC/F95pkBCs3e2/iD+cB3Tlx8G925dDoWFahgQqzRYRFlus5Okn/dqQ z2/w== X-Gm-Message-State: ALoCoQknaiBBDQR7QsFCTVN25akKT+t6xWdjhCxSgHUW8WZD598N0yyvLPbMqwOQq/RKNk1vWJAM X-Received: by 10.194.84.144 with SMTP id z16mr25006464wjy.23.1395167194958; Tue, 18 Mar 2014 11:26:34 -0700 (PDT) MIME-Version: 1.0 Received: by 10.227.152.130 with HTTP; Tue, 18 Mar 2014 11:26:14 -0700 (PDT) In-Reply-To: <20140318183312.2f3d1f06.ohartman@zedat.fu-berlin.de> References: <20140318151133.76049712.ohartman@zedat.fu-berlin.de> <20140318183312.2f3d1f06.ohartman@zedat.fu-berlin.de> From: "Timur I. Bakeyev" Date: Tue, 18 Mar 2014 19:26:14 +0100 Message-ID: Subject: Re: net/samba36: ERROR: lock directory /var/run/samba/ does not exist To: "O. Hartmann" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: FreeBSD Ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Mar 2014 18:26:43 -0000 Sorry, I made a typo: rcorder /etc/rc.d/* /usr/local/etc/rc.d/* You can check yourself - see, where samba in that output relative to... Hm, what would start your /var/run - /etc/rc.d/var I guess? On Tue, Mar 18, 2014 at 6:33 PM, O. Hartmann wrote: > On Tue, 18 Mar 2014 18:13:20 +0100 > "Timur I. Bakeyev" wrote: > > > Hi, Oliver! > > > > Please check in the rc.d/samba function samba_start_precmd(). It should > > contain valid /var/run/samba path. > > Checked - and it contains the propper path. > > > > > Is this problem occurs only on restart(reboot) of the server? If you > start > > samba manually after the boot - does it run? > > It doesn't start on reboot, it starts on manauel issuing the command > "service samba > start". > > > > > It could be, that in FreeBSD 11 rc order has changed somehow and samba > > starts before /var/run is mounted. What does: > > > > # rcorder /etc/rc.d/* /usr/local/etc.rc.d/* > > /etc/rc.d/sysctl > /etc/rc.d/hostid > /etc/rc.d/zvol > /etc/rc.d/dumpon > /etc/rc.d/ddb > /etc/rc.d/initrandom > /etc/rc.d/geli > /etc/rc.d/gbde > /etc/rc.d/ccd > /etc/rc.d/swap > /etc/rc.d/fsck > /etc/rc.d/root > /etc/rc.d/mdconfig > /etc/rc.d/hostid_save > /etc/rc.d/mountcritlocal > /etc/rc.d/zfs > /etc/rc.d/var > /etc/rc.d/cleanvar > /etc/rc.d/FILESYSTEMS > /etc/rc.d/kldxref > /etc/rc.d/kld > /etc/rc.d/addswap > /etc/rc.d/random > /etc/rc.d/postrandom > /etc/rc.d/adjkerntz > /etc/rc.d/atm1 > /etc/rc.d/hostname > /etc/rc.d/ip6addrctl > /etc/rc.d/netoptions > /etc/rc.d/sppp > /etc/rc.d/ipfilter > /etc/rc.d/ipnat > /etc/rc.d/ipfs > /etc/rc.d/serial > /etc/rc.d/netif > /etc/rc.d/devd > /etc/rc.d/ipsec > /etc/rc.d/atm2 > /etc/rc.d/pfsync > /etc/rc.d/pflog > /etc/rc.d/pf > /etc/rc.d/stf > /etc/rc.d/ppp > /etc/rc.d/faith > /etc/rc.d/routing > /etc/rc.d/mroute6d > /etc/rc.d/nsswitch > /etc/rc.d/rtsold > /etc/rc.d/resolv > /etc/rc.d/local_unbound > /etc/rc.d/static_ndp > /etc/rc.d/static_arp > /etc/rc.d/bridge > /etc/rc.d/route6d > /etc/rc.d/mrouted > /etc/rc.d/routed > /etc/rc.d/defaultroute > /etc/rc.d/ipfw > /etc/rc.d/NETWORKING > /etc/rc.d/netwait > /etc/rc.d/mountcritremote > /etc/rc.d/newsyslog > /etc/rc.d/syslogd > /etc/rc.d/ntpdate > /etc/rc.d/rpcbind > /etc/rc.d/devfs > /etc/rc.d/ipmon > /etc/rc.d/mdconfig2 > /etc/rc.d/watchdogd > /etc/rc.d/savecore > /etc/rc.d/ldconfig > /etc/rc.d/archdep > /etc/rc.d/abi > /etc/rc.d/SERVERS > /etc/rc.d/nisdomain > /etc/rc.d/ypserv > /etc/rc.d/ypxfrd > /etc/rc.d/ypupdated > /etc/rc.d/ypbind > /etc/rc.d/ypset > /etc/rc.d/yppasswdd > /etc/rc.d/wpa_supplicant > /etc/rc.d/virecover > /etc/rc.d/accounting > /etc/rc.d/nfsclient > /etc/rc.d/amd > /etc/rc.d/atm3 > /etc/rc.d/auditd > /etc/rc.d/auditdistd > /etc/rc.d/casperd > /etc/rc.d/tmp > /etc/rc.d/cleartmp > /etc/rc.d/ctld > /etc/rc.d/dmesg > /etc/rc.d/hastd > /etc/rc.d/iscsid > /etc/rc.d/iscsictl > /etc/rc.d/kerberos > /etc/rc.d/kadmind > /etc/rc.d/keyserv > /etc/rc.d/kpasswdd > /etc/rc.d/nfsuserd > /etc/rc.d/gssd > /etc/rc.d/quota > /etc/rc.d/mountd > /etc/rc.d/nfsd > /etc/rc.d/statd > /etc/rc.d/lockd > /etc/rc.d/pppoed > /etc/rc.d/pwcheck > /etc/rc.d/DAEMON > /etc/rc.d/utx > /etc/rc.d/ugidfw > /etc/rc.d/ubthidhci > /etc/rc.d/timed > /etc/rc.d/apm > /etc/rc.d/apmd > /etc/rc.d/bootparams > /etc/rc.d/hcsecd > /etc/rc.d/bthidd > /etc/rc.d/local > /etc/rc.d/lpd > /etc/rc.d/motd > /etc/rc.d/mountlate > /etc/rc.d/nscd > /etc/rc.d/ntpd > /etc/rc.d/powerd > /etc/rc.d/rarpd > /etc/rc.d/rctl > /etc/rc.d/sdpd > /etc/rc.d/rfcomm_pppd_server > /etc/rc.d/rtadvd > /etc/rc.d/rwho > /etc/rc.d/LOGIN > /etc/rc.d/syscons > /etc/rc.d/swaplate > /etc/rc.d/sshd > /etc/rc.d/sendmail > /etc/rc.d/cron > /etc/rc.d/jail > /etc/rc.d/localpkg > /etc/rc.d/securelevel > /etc/rc.d/power_profile > /etc/rc.d/othermta > /etc/rc.d/nfscbd > /etc/rc.d/natd > /etc/rc.d/msgs > /etc/rc.d/moused > /etc/rc.d/mixer > /etc/rc.d/kfd > /etc/rc.d/inetd > /etc/rc.d/hostapd > /etc/rc.d/gptboot > /etc/rc.d/geli2 > /etc/rc.d/ftpd > /etc/rc.d/ftp-proxy > /etc/rc.d/dhclient > /etc/rc.d/bsnmpd > /etc/rc.d/bluetooth > /etc/rc.d/bgfsck > > > > > > say? > > > > With regards, > > Timur Bakeyev. > > > > > > On Tue, Mar 18, 2014 at 3:11 PM, O. Hartmann < > ohartman@zedat.fu-berlin.de>wrote: > > > > > On CURRENT, I receive this error message when trying to start > net/samba36: > > > > > > ERROR: lock directory /var/run/samba/ does not exist > > > > > > System: FreeBSD 11.0-CURRENT #1 r263252: Sun Mar 16 22:27:29 CET 2014 > amd64 > > > > > > Filesystem /var/run is tmpfs and resides on a SSD! > > > > > > I'm confused. Years ago, I had a similar problem with samba3[46] when I > > > intriduced myself > > > to tmpfs-backed /var/run. The start-script of sambe residing in > > > /usr/local/etc/rc.d/samba > > > wasn't capable of checking the existence of /var/run/samba so startup > > > failed. in the > > > meanwhile, I thought this was fixed - the problem I report in is > present > > > somehow since > > > January, but I can not be more specific. > > > > > > I deleted /usr/local/etc/rc.d/samba and reinstalled net/samba36. After > > > reinstallation, > > > samba can be started on a regular basis. But after a reboot, it > couldn't. > > > > > > I have no clue what is happening here. Any suggestions? > > > > > > Oliver > > > > > >