Bug 1459296 - Unable to start Samba services after upgrade to version 4.6.3-2
Summary: Unable to start Samba services after upgrade to version 4.6.3-2
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: samba
Version: rhgs-3.3
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: RHGS 3.3.0
Assignee: Michael Adam
QA Contact: Vivek Das
URL:
Whiteboard:
Depends On:
Blocks: 1417151
TreeView+ depends on / blocked
 
Reported: 2017-06-06 18:01 UTC by Vivek Das
Modified: 2017-09-21 04:47 UTC (History)
8 users (show)

Fixed In Version: samba-4.6.3-3.el7rhgs
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-09-21 04:47:10 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:2780 0 normal SHIPPED_LIVE Red Hat Gluster Storage 3.3.0 samba bug fixes and enhancement update 2017-09-21 08:17:05 UTC

Description Vivek Das 2017-06-06 18:01:15 UTC
Description of problem:
After upgrading the cluster to samba 4.6.3-2 samba services are not getting started. They remain in failed state. 

Version-Release number of selected component (if applicable):
samba-4.6.3-2.el7rhgs.x86_64
glusterfs-server-3.8.4-27.el7rhgs.x86_64

How reproducible:
Always

Steps to Reproduce:
1. On an existing CTDB setup
2. Stop CTDB services
3. Upgrade samba to 4.6.3-2
4. Start CTDB services
5. Check for smb services status

Actual results:
Samba does not start

Expected results:
Samba should be active after upgrade

Additional info:
Jun  6 17:35:08 dhcp43-28 systemd: Failed to start Samba SMB Daemon.
Jun  6 17:35:08 dhcp43-28 systemd: Unit smb.service entered failed state.
Jun  6 17:35:08 dhcp43-28 systemd: smb.service failed.
Jun  6 17:35:13 dhcp43-28 systemd: Starting Samba SMB Daemon...
Jun  6 17:35:13 dhcp43-28 smbd: /usr/sbin/smbd: relocation error: /usr/lib64/samba/libgse-samba4.so: symbol krb5_get_init_creds_opt_set_pac_request, version krb5_3_MIT not defined in file libkrb5.so.3 with link time reference
Jun  6 17:35:13 dhcp43-28 systemd: smb.service: main process exited, code=exited, status=127/n/a
Jun  6 17:35:13 dhcp43-28 systemd: Failed to start Samba SMB Daemon.
Jun  6 17:35:13 dhcp43-28 systemd: Unit smb.service entered failed state.
Jun  6 17:35:13 dhcp43-28 systemd: smb.service failed.
Jun  6 17:35:19 dhcp43-28 systemd: Starting Samba SMB Daemon...
Jun  6 17:35:19 dhcp43-28 smbd: /usr/sbin/smbd: relocation error: /usr/lib64/samba/libgse-samba4.so: symbol krb5_get_init_creds_opt_set_pac_request, version krb5_3_MIT not defined in file libkrb5.so.3 with link time reference
Jun  6 17:35:19 dhcp43-28 systemd: smb.service: main process exited, code=exited, status=127/n/a
Jun  6 17:35:19 dhcp43-28 systemd: Failed to start Samba SMB Daemon.
Jun  6 17:35:19 dhcp43-28 systemd: Unit smb.service entered failed state.
Jun  6 17:35:19 dhcp43-28 systemd: smb.service failed.
Jun  6 17:35:24 dhcp43-28 systemd: Starting Samba SMB Daemon...
Jun  6 17:35:25 dhcp43-28 smbd: /usr/sbin/smbd: relocation error: /usr/lib64/samba/libgse-samba4.so: symbol krb5_get_init_creds_opt_set_pac_request, version krb5_3_MIT not defined in file libkrb5.so.3 with link time reference
Jun  6 17:35:25 dhcp43-28 systemd: smb.service: main process exited, code=exited, status=127/n/a
Jun  6 17:35:25 dhcp43-28 systemd: Failed to start Samba SMB Daemon.
Jun  6 17:35:25 dhcp43-28 systemd: Unit smb.service entered failed state.
Jun  6 17:35:25 dhcp43-28 systemd: smb.service failed.
Jun  6 17:35:30 dhcp43-28 systemd: Starting Samba SMB Daemon...
Jun  6 17:35:30 dhcp43-28 smbd: /usr/sbin/smbd: relocation error: /usr/lib64/samba/libgse-samba4.so: symbol krb5_get_init_creds_opt_set_pac_request, version krb5_3_MIT not defined in file libkrb5.so.3 with link time reference
Jun  6 17:35:30 dhcp43-28 systemd: smb.service: main process exited, code=exited, status=127/n/a
Jun  6 17:35:30 dhcp43-28 systemd: Failed to start Samba SMB Daemon.
Jun  6 17:35:30 dhcp43-28 systemd: Unit smb.service entered failed state.
Jun  6 17:35:30 dhcp43-28 systemd: smb.service failed.
Jun  6 17:35:36 dhcp43-28 systemd: Starting Samba SMB Daemon...
Jun  6 17:35:36 dhcp43-28 smbd: /usr/sbin/smbd: relocation error: /usr/lib64/samba/libgse-samba4.so: symbol krb5_get_init_creds_opt_set_pac_request, version krb5_3_MIT not defined in file libkrb5.so.3 with link time reference
Jun  6 17:35:36 dhcp43-28 systemd: smb.service: main process exited, code=exited, status=127/n/a
Jun  6 17:35:36 dhcp43-28 systemd: Failed to start Samba SMB Daemon.
Jun  6 17:35:36 dhcp43-28 systemd: Unit smb.service entered failed state.
Jun  6 17:35:36 dhcp43-28 systemd: smb.service failed.
Jun  6 17:35:41 dhcp43-28 systemd: Starting Samba SMB Daemon...
Jun  6 17:35:41 dhcp43-28 smbd: /usr/sbin/smbd: relocation error: /usr/lib64/samba/libgse-samba4.so: symbol krb5_get_init_creds_opt_set_pac_request, version krb5_3_MIT not defined in file libkrb5.so.3 with link time reference
Jun  6 17:35:41 dhcp43-28 systemd: smb.service: main process exited, code=exited, status=127/n/a
Jun  6 17:35:41 dhcp43-28 systemd: Failed to start Samba SMB Daemon.
Jun  6 17:35:41 dhcp43-28 systemd: Unit smb.service entered failed state.
Jun  6 17:35:41 dhcp43-28 systemd: smb.service failed.
Jun  6 17:35:46 dhcp43-28 systemd: Starting Samba SMB Daemon...
Jun  6 17:35:47 dhcp43-28 smbd: /usr/sbin/smbd: relocation error: /usr/lib64/samba/libgse-samba4.so: symbol krb5_get_init_creds_opt_set_pac_request, version krb5_3_MIT not defined in file libkrb5.so.3 with link time reference
Jun  6 17:35:47 dhcp43-28 systemd: smb.service: main process exited, code=exited, status=127/n/a
Jun  6 17:35:47 dhcp43-28 systemd: Failed to start Samba SMB Daemon.
Jun  6 17:35:47 dhcp43-28 systemd: Unit smb.service entered failed state.
Jun  6 17:35:47 dhcp43-28 systemd: smb.service failed.

Comment 4 Vivek Das 2017-06-07 13:05:21 UTC
Based on comment 3 closing this as not a bug.

Comment 5 Raghavendra Talur 2017-06-08 12:34:23 UTC
IMO, we should have updated the dependencies in spec file for the krb libs to whatever version provides the new function krb5_get_init_creds_opt_set_pac_request() .

As per https://web.mit.edu/kerberos/krb5-devel/doc/appdev/refs/api/krb5_get_init_creds_opt_set_pac_request.html , it is in 1.15 version.

I request that the bug be re-opened.

Comment 6 Vivek Das 2017-06-08 13:35:19 UTC
Based on comment 5 re-opening the bug as a valid bug.

Comment 7 Atin Mukherjee 2017-06-13 05:37:49 UTC
As discussed with Talur, this needs to be fixed and hence providing devel_ack

Comment 12 Vivek Das 2017-07-06 12:58:16 UTC
Verified , works as per Comment 10.

Comment 13 Geordie Guy 2017-08-02 09:30:06 UTC
I'm not sure if this is the same thing or not, from the logs of an automated CI/CD pipeline - I've not seen this in the last 150 builds;

2017-08-02 08:05:33,932 P3717 [INFO] 	[DEBUG MESSAGE]:  Creating credentials file for CIFS
2017-08-02 08:05:33,932 P3717 [INFO] 	[DEBUG MESSAGE]:  Setting permissions on credentials file
2017-08-02 08:05:33,932 P3717 [INFO] 	[DEBUG MESSAGE]:  Creating SMB share for log folder
2017-08-02 08:05:33,932 P3717 [INFO] 	[DEBUG MESSAGE]: Setting smb password for inform user
2017-08-02 08:05:33,933 P3717 [INFO] 	unable to write 'random state'
2017-08-02 08:05:33,933 P3717 [INFO] 	smbpasswd: relocation error: /usr/lib64/samba/libgse-samba4.so: symbol krb5_get_init_creds_opt_set_pac_request, version krb5_3_MIT not defined in file libkrb5.so.3 with link time reference
2017-08-02 08:05:33,933 P3717 [INFO] 	[DEBUG MESSAGE]:  SMB password is WuwnXIz+Ctt9NuJM1koj3Ua5Ks7S4XRz
2017-08-02 08:05:33,933 P3717 [INFO] 	[DEBUG MESSAGE]:  Connecting to CIFS
2017-08-02 08:05:33,933 P3717 [INFO] 	[DEBUG MESSAGE]:  Running mount -a to load CIFS
2017-08-02 08:05:33,933 P3717 [INFO] 	[DEBUG MESSAGE]:  Configuring Samba to start at boot
2017-08-02 08:05:33,933 P3717 [INFO] 	Note: Forwarding request to 'systemctl enable smb.service'.
2017-08-02 08:05:33,933 P3717 [INFO] 	Created symlink from /etc/systemd/system/multi-user.target.wants/smb.service to /usr/lib/systemd/system/smb.service.
2017-08-02 08:05:33,933 P3717 [INFO] 	[DEBUG MESSAGE]:  Starting SMB now
2017-08-02 08:05:33,933 P3717 [INFO] 	Redirecting to /bin/systemctl start  smb.service
2017-08-02 08:05:33,933 P3717 [INFO] 	Job for smb.service failed because the control process exited with error code. See "systemctl status smb.service" and "journalctl -xe" for details.

Comment 15 errata-xmlrpc 2017-09-21 04:47:10 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, 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-2017:2780


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