Bug 2049485

Summary: smb.service: Got notification message from PID [pid1], but reception only permitted for main PID [pid2]
Product: Red Hat Enterprise Linux 9 Reporter: Andreas Schneider <asn>
Component: sambaAssignee: Andreas Schneider <asn>
Status: CLOSED ERRATA QA Contact: Denis Karpelevich <dkarpele>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0CC: aboscatt, asn, bstinson, dkarpele, gdeschner, jarrpa, jwboyer, pfilipen
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: samba-4.15.5-100.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2043154 Environment:
Last Closed: 2022-05-17 16:00:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andreas Schneider 2022-02-02 10:34:06 UTC
+++ This bug was initially created as a clone of Bug #2043154 +++

Description of problem:

The "[Service]" section of /usr/lib/systemd/system/smb.service included with samba-4.15.3-0.el8.x86_64 has "Type=notify".  When the service is started, one of more instances of the following message are produced: "smb.service: Got notification message from PID [pid of child process], but reception only permitted for main PID [pid of the main smbd process]".  The Service section should be amended to include "NotifyAccess=all" to allow systemd to accept notifications from all members of the service's control group.  See the systemd.service(5) man page for more information.  This extra line is already present in the RHEL7 version of this package, which does not exhibit this behavior.

Version-Release number of selected component (if applicable):

samba-4.15.3-0.el8.x86_64

How reproducible:

100%

Steps to Reproduce:
1. dnf install samba
2. systemctl start smb.service

Actual results:

systemctl status smb.service | grep notification
Jan 19 15:10:38 hostname.example.com systemd[1]: smb.service: Got notification message from PID 3694238, but reception only permitted for main PID 3694231

Expected results:

Error should not occur.

Additional info:

Comment 4 errata-xmlrpc 2022-05-17 16:00:28 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (new packages: samba), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:4014