[Bug 257188] net/samba4*: samba_server service file force runs all daemons if called with 'onestart'
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 257188] net/samba4*: samba_server service file force runs all daemons if called with 'onestart'"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 257188] net/samba4*: samba_server service file force runs all daemons if called with 'onestart'"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 257188] net/samba4*: samba_server service file force runs all daemons if called with 'onestart'"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 257188] net/samba4*: samba_server service file force runs all daemons if called with 'onestart'"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 257188] net/samba4*: samba_server service file force runs all daemons if called with 'onestart'"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 257188] net/samba4*: samba_server service file force runs all daemons if called with 'onestart'"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 257188] net/samba4*: samba_server service file force runs all daemons if called with 'onestart'"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 257188] net/samba4*: samba_server service file force runs all daemons if called with 'onestart'"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 257188] net/samba4*: samba_server service file force runs all daemons if called with 'onestart'"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 257188] net/samba4*: samba_server service file force runs all daemons if called with 'onestart'"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 257188] net/samba4*: samba_server service file force runs all daemons if called with 'onestart'"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 257188] net/samba4*: samba_server service file force runs all daemons if called with 'onestart'"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 14 Jul 2021 16:57:45 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257188
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}" = "one" ] || [ -n "${rc_force}" ] || [ -n "${rc_fast}" ]; then
> force_run=yes
> fi
forces nmbd and winbindd to be started regardless of the values of nmbd_enable
and winbindd_enable in /etc/rc.conf.
If one wants to start samba_server manually (without having set
samba_server_enable="YES") after boot they have no option but to use 'onestart'
but then that will ignore disabling of nmbd and winbindd in rc.conf; even in
situations where 'disable netbios = yes' is explicitly set in smb4.conf.
This leaves one with no option to start only smbd manually after boot without
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.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.