ctdb cannot create PID file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Fix Released
|
Medium
|
Rafael David Tinoco | ||
Bionic |
Won't Fix
|
Medium
|
Rafael David Tinoco | ||
Cosmic |
Won't Fix
|
Medium
|
Rafael David Tinoco | ||
Disco |
Fix Released
|
Medium
|
Rafael David Tinoco | ||
Eoan |
Fix Released
|
Medium
|
Rafael David Tinoco |
Bug Description
[Impact]
* LP: #722201 - SAMBA CTDB cluster suite does not work for High Available NFS setups
* LP: #1821775 - ctdb cannot create PID file
* LP: #1828799 - Package ctdb does not create directories in /var/lib/ctdb
[Test Case]
* Installing CTDB and trying to start the service (check /var/log/
- no /etc/ctdb/nodes file, can't start
- /var/lib/
- and some other errors addressed in here
[Regression Potential]
* very small chances of causing issues to other parts of samba
* ctdb app is placed in a specific directory and is not working nowadays
[Other Info]
* Documentation on how to enable this SRU: https:/
ORIGINAL DESCRIPTION:
With the default installation on Ubuntu 19.04 ctdb does not start as it cannot create its PID file:
2019/03/26 17:01:26.377449 ctdbd[530]: CTDB starting on node
2019/03/26 17:01:26.380654 ctdbd[536]: Starting CTDBD (Version 4.10.0-Ubuntu) as PID: 536
2019/03/26 17:01:26.380739 ctdbd[536]: Failed to create PID file /var/run/
After manually creating the directory /var/run/ctdb ctdb is able to start.
Related branches
- Andreas Hasenack: Approve
- Christian Ehrhardt (community): Needs Fixing
- Canonical Server: Pending requested
- Ubuntu Core Development Team: Pending requested
-
Diff: 617 lines (+499/-0)14 files modifieddebian/changelog (+25/-0)
debian/ctdb.dirs (+4/-0)
debian/ctdb.example.enable.nfs.sh (+196/-0)
debian/ctdb.example.nfs-common (+19/-0)
debian/ctdb.example.nfs-kernel-server (+16/-0)
debian/ctdb.example.services (+16/-0)
debian/ctdb.example.sysctl-nfs-static-ports.conf (+5/-0)
debian/ctdb.install (+1/-0)
debian/ctdb.postrm (+13/-0)
debian/patches/ctdb-config-depend-on-etc-default-nodes-file.patch (+36/-0)
debian/patches/ctdb-scripts-fix-tcp_tw_recycle-existence-check.patch (+43/-0)
debian/patches/fix-nfs-service-name-to-nfs-kernel-server.patch (+110/-0)
debian/patches/series (+3/-0)
debian/rules (+12/-0)
- Andreas Hasenack: Approve
- Canonical Server: Pending requested
-
Diff: 672 lines (+541/-0)15 files modifieddebian/changelog (+29/-0)
debian/ctdb.dirs (+4/-0)
debian/ctdb.example.enable.nfs.sh (+196/-0)
debian/ctdb.example.nfs-common (+19/-0)
debian/ctdb.example.nfs-kernel-server (+16/-0)
debian/ctdb.example.services (+16/-0)
debian/ctdb.example.sysctl-nfs-static-ports.conf (+5/-0)
debian/ctdb.install (+1/-0)
debian/ctdb.postrm (+13/-0)
debian/patches/ctdb-config-depend-on-etc-default-nodes-file.patch (+36/-0)
debian/patches/ctdb-config-enable-syslog-by-default.patch (+49/-0)
debian/patches/ctdb-scripts-fix-tcp_tw_recycle-existence-check.patch (+43/-0)
debian/patches/fix-nfs-service-name-to-nfs-kernel-server.patch (+97/-0)
debian/patches/series (+4/-0)
debian/rules (+13/-0)
Changed in samba (Ubuntu Disco): | |
status: | In Progress → Confirmed |
Changed in samba (Ubuntu Cosmic): | |
status: | Confirmed → Won't Fix |
description: | updated |
Changed in samba (Ubuntu Bionic): | |
status: | Confirmed → Won't Fix |
Status changed to 'Confirmed' because the bug affects multiple users.