Bug 1772836 - [RHEL-6] Unable to start ctdb because of missing /var/run/ctdb directory
Summary: [RHEL-6] Unable to start ctdb because of missing /var/run/ctdb directory
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: samba
Version: rhgs-3.5
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: ---
Assignee: Anoop C S
QA Contact: Vivek Das
URL:
Whiteboard:
Depends On:
Blocks: 1696809
TreeView+ depends on / blocked
 
Reported: 2019-11-15 09:49 UTC by Vivek Das
Modified: 2019-12-02 07:00 UTC (History)
6 users (show)

Fixed In Version: samba-4.9.8-110.el6rhs
Doc Type: Bug Fix
Doc Text:
Previously, CTDB was unable to start due to a missing filesystem directory. In spite of manually creating the directory, CTDB could not function properly due to an incorrect SELinux context. With this update, the rpm package now properly creates the missing directory with the required SELinux context and CTDB starts correctly.
Clone Of:
Environment:
Last Closed: 2019-12-02 07:00:14 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2019:4023 0 None None None 2019-12-02 07:00:21 UTC

Description Vivek Das 2019-11-15 09:49:47 UTC
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

Comment 7 errata-xmlrpc 2019-12-02 07:00:14 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/RHSA-2019:4023


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