Package ctdb does not create directories in /var/lib/ctdb
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:
The current (2:4.10.
2019/03/26 13:56:50.460842 ctdbd[4149]: CTDB starting on node
2019/03/26 13:56:50.462027 ctdbd[4149]: Volatile database directory /var/lib/
2019/03/26 13:57:22.546397 ctdbd[4178]: CTDB starting on node
2019/03/26 13:57:22.547336 ctdbd[4178]: Persistent database directory /var/lib/
2019/03/26 13:57:34.704469 ctdbd[4200]: CTDB starting on node
2019/03/26 13:57:34.705171 ctdbd[4200]: State database directory /var/lib/ctdb/state does not exist
Please include /var/lib/
PS: Bug #1821775 reports that /run/ctdb also needs to be created on startup.
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 |
Doing the CTDB setup I faced the same issues as:
https:/ /bugs.launchpad .net/ubuntu/ +source/ ctdb/+bug/ 1335540 /bugs.launchpad .net/ubuntu/ +source/ ctdb/+bug/ 1821775 /bugs.launchpad .net/ubuntu/ +source/ samba/+ bug/722201
https:/
https:/
I'll merge the fixes (for those and this bug) altogether.