Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 May 2016 10:14:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 209660] net/samba4*: samba_server service file force runs all daemons if called with 'onestart'
Message-ID:  <bug-209660-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209660

            Bug ID: 209660
           Summary: net/samba4*: samba_server service file force runs all
                    daemons if called with 'onestart'
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: zurvan.akarana@gmail.com

This clause in /usr/local/etc/rc.d/samba_server (lines 120-122):

>     if [ -n "${_rc_prefix}" -a "${_rc_prefix}" =3D "one" ] || [ -n "${rc_=
force}" ] || [ -n "${rc_fast}" ]; then
>         force_run=3Dyes
>     fi

forces nmbd and winbindd to be started regardless of the values of nmbd_ena=
ble
and winbindd_enable in /etc/rc.conf.

If one wants to start samba_server manually (without having set
samba_server_enable=3D"YES") after boot they have no option but to use 'one=
start'
but then that will ignore disabling of nmbd and winbindd in rc.conf; even in
situations where 'disable netbios =3D yes' is explicitly set in smb4.conf.

This leaves one with no option to start only smbd manually after boot witho=
ut
forcibly launching nmbd and winbindd which many not be desired in some
scenarios.

This was checked with samba_server script shipped with samba41-4.1.22_2.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209660-13>