Samba crashes on upgrade on RHEL7 nor RHEL8

Solution Verified - Updated -

Issue

When upgrading Samba while the service is running, it stops and has to be relaunched.

# systemctl status smb.service
● 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.

Environment

  • Red Hat Enterprise Linux (RHEL) 7
  • Red Hat Enterprise Linux (RHEL) 8
  • Samba (smb)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In