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.
Based on comment 3 closing this as not a bug.
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.
Based on comment 5 re-opening the bug as a valid bug.
As discussed with Talur, this needs to be fixed and hence providing devel_ack
Verified , works as per Comment 10.
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.
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