From nobody Wed Jul 14 16:57:45 2021 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 124A31245C69 for ; Wed, 14 Jul 2021 16:57:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GQ3bD6z1rz4r4C for ; Wed, 14 Jul 2021 16:57:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D6BCA1987D for ; Wed, 14 Jul 2021 16:57:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 16EGvi4W054987 for ; Wed, 14 Jul 2021 16:57:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 16EGviJB054986 for ports-bugs@FreeBSD.org; Wed, 14 Jul 2021 16:57:44 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 257188] net/samba4*: samba_server service file force runs all daemons if called with 'onestart' Date: Wed, 14 Jul 2021 16:57:45 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: kmachine@free.fr X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257188 Bug ID: 257188 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 Keywords: needs-qa Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: kmachine@free.fr CC: kmachine@free.fr, miwi@FreeBSD.org, ports-bugs@FreeBSD.org, timur@FreeBSD.org, vlad-fbsd@acheronmedia.com, zurvan.akarana@gmail.com +++ This bug was initially created as a clone of Bug #209660 +++ 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 on the CC list for the bug. You are the assignee for the bug.=