Date: Fri, 11 Apr 2014 12:12:18 GMT From: "O. Hartmann" <ohartman@zedat.fu-berlin.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/188456: net/samba36: creation of /var/run/samba fails on startup on 11.0-CURRENT Message-ID: <201404111212.s3BCCIjk016738@cgiserv.freebsd.org> Resent-Message-ID: <201404111220.s3BCK02C051773@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 188456 >Category: ports >Synopsis: net/samba36: creation of /var/run/samba fails on startup on 11.0-CURRENT >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Apr 11 12:20:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: O. Hartmann >Release: FreeBSD 11.0-CURRENT >Organization: >Environment: FreeBSD 11.0-CURRENT #0 r264340: Fri Apr 11 12:48:26 CEST 2014 amd64 >Description: net/samba36 installation fails on 11.0-CURRENT starting up on reboot. Background: /var/run is a tmpfs: # Device Mountpoint FStype Options Dump Pass# /dev/gpt/swap none swap sw 0 0 /dev/gpt/root / ufs rw 1 1 tmpfs /tmp tmpfs rw,mode=01777,size=4294967296 0 0 /dev/gpt/var /var ufs rw 2 2 tmpfs /var/run tmpfs rw,size=536870912 0 0 [...] The filesystem is on a SSD. First, after a reinstallation, samba can be started via service samba start|restart This implies that /var/run/samba gets created while installation takes place. But after a reboot and failed startup of samba, I receive this on the try to startup samba: service samba start /usr/local/etc/rc.d/samba: WARNING: /var/run/samba/ is not a directory. ll /var/run/samba ls: /var/run/samba: No such file or directory but /var/run is there and populated by other folder and files. The entry in /etc/rc.conf.local looks like this: ############################################################## ### SAMBA Server startup ###################### ############################################################## samba_enable="YES" #nmbd_enable="YES" #smbd_enable="YES" winbindd_enable="YES" I precautionary I delete /usr/lococal/rc.d/samba to ensure the correct and proper samba startup script gets installed. >How-To-Repeat: Install net/samba36 and have /var/run be a tmpfs. Try to start samba on boot. >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404111212.s3BCCIjk016738>