RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1930747 - [RHEL7.9] smb.service stops when samba rpms are updated
Summary: [RHEL7.9] smb.service stops when samba rpms are updated
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: samba
Version: 7.9
Hardware: All
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: Andreas Schneider
QA Contact: sssd-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-19 14:04 UTC by Sebastien Aime
Modified: 2024-10-01 17:35 UTC (History)
7 users (show)

Fixed In Version: samba-4.10.16-14.el7_9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-06-08 22:30:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1924571 0 medium CLOSED smb.service stops when samba rpms are updated 2024-10-01 17:29:11 UTC
Red Hat Issue Tracker SSSD-3254 0 None None None 2024-10-01 17:35:53 UTC
Red Hat Issue Tracker SSSD-3255 0 None None None 2024-10-01 17:35:58 UTC

Description Sebastien Aime 2021-02-19 14:04:46 UTC
This is a "clone" of https://bugzilla.redhat.com/show_bug.cgi?id=1924571 where the same problem was reported on RHEL8.

The problem also affects RHEL7.


---

Hello all,

If samba rpm packages are updated while smb.service is running, it stops.

systemctl status smb.service shows:

● smb.service - Samba SMB Daemon
   Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Thu 2021-01-28 16:08:20 CET; 12s ago
     Docs: man:smbd(8)
           man:samba(7)
           man:smb.conf(5)
 Main PID: 3581 (code=exited, status=1/FAILURE)

Jan 28 16:08:20 localhost.localdomain systemd[1]: Stopped Samba SMB Daemon.
Jan 28 16:08:20 localhost.localdomain systemd[1]: Starting Samba SMB Daemon...
Jan 28 16:08:20 localhost.localdomain smbd[3581]: /usr/sbin/smbd: /usr/lib64/samba/libreplace-samba4.so: version `SAMBA_4.9.1' not found (required by /lib64/libwbclient.so.0)
Jan 28 16:08:20 localhost.localdomain smbd[3581]: /usr/sbin/smbd: /usr/lib64/samba/libwinbind-client-samba4.so: version `SAMBA_4.9.1' not found (required by /lib64/libwbclient.so.0)
Jan 28 16:08:20 localhost.localdomain systemd[1]: smb.service: Main process exited, code=exited, status=1/FAILURE
Jan 28 16:08:20 localhost.localdomain systemd[1]: smb.service: Failed with result 'exit-code'.
Jan 28 16:08:20 localhost.localdomain systemd[1]: Failed to start Samba SMB Daemon.

Restarting smb.service fixes the issue.

Steps to reproduce:

1. I install a RHEL8.0 VM (any minor version will do as long as it's not the most recent one)
2. Set the system release version to 8.0

    # subscription-manager release --set=8.0

3. Install samba rpms packages
4. Enable and start smb.service

    # systemctl enable smb.service ; systemctl start smb.service

5. Set the system release version to 8.3 (any minor version will do as long as it's not the oldest one)

    # subscription-manager release --set=8.3

6. While smb.service is running, update samba packages

7. Check the status of smb.service (you will find it failed)

Comment 13 errata-xmlrpc 2021-06-08 22:30:45 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 (Moderate: samba security and bug fix update), 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/RHSA-2021:2313


Note You need to log in before you can comment on or make changes to this bug.