From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Apr 11 12:20:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.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 9D8B8BC7 for ; Fri, 11 Apr 2014 12:20:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 79ACB10BA for ; Fri, 11 Apr 2014 12:20:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s3BCK04Y051775 for ; Fri, 11 Apr 2014 12:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s3BCK02C051773; Fri, 11 Apr 2014 12:20:00 GMT (envelope-from gnats) Resent-Date: Fri, 11 Apr 2014 12:20:00 GMT Resent-Message-Id: <201404111220.s3BCK02C051773@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "O. Hartmann" 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 BACF0A17 for ; Fri, 11 Apr 2014 12:12:18 +0000 (UTC) Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A67561066 for ; Fri, 11 Apr 2014 12:12:18 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s3BCCI2v016751 for ; Fri, 11 Apr 2014 12:12:18 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s3BCCIjk016738; Fri, 11 Apr 2014 12:12:18 GMT (envelope-from nobody) Message-Id: <201404111212.s3BCCIjk016738@cgiserv.freebsd.org> Date: Fri, 11 Apr 2014 12:12:18 GMT From: "O. Hartmann" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/188456: net/samba36: creation of /var/run/samba fails on startup on 11.0-CURRENT X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Apr 2014 12:20:00 -0000 >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: