Description of problem: After setting up ctdb samba when I am trying to start ctdb by executing service ctdb start. CTDB fails to start because of missing ctdb directory from /var/run. Manually creating the directory will result in selinux issue. Selinux context is required to be set on /var/run/ctdb i.e we need ctdbd_var_run_t on /var/run/ctdb Version-Release number of selected component (if applicable): ctdb-4.9.8-109.el6rhs.x86_64 How reproducible: 2/4 times Steps to Reproduce: 1. RHEL-6 RHGS ISO 2. Upgrade to RHGS-3.5.0 build glusterfs + samba-ctdb 3. Setup samba-ctdb 4. Start ctdb Actual results: CTDB fails to start. Expected results: CTDB should start successfully Additional info: 2019/11/13 12:27:10.391372 ctdbd[7336]: Starting CTDBD (Version 4.9.8) as PID: 7336 2019/11/13 12:27:10.391565 ctdbd[7336]: Failed to create PID file /var/run/ctdb/ctdbd.pid
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/RHSA-2019:4023