[Bug 1821775] Re: ctdb cannot create PID file
This bug was fixed in the package samba - 2:4.10.0+dfsg-0ubuntu2.3 --- samba (2:4.10.0+dfsg-0ubuntu2.3) disco; urgency=medium * CTDB enablement for NFS HA (LP: #722201) and needed fixes: - d/p/ctdb-config-depend-on-etc-default-nodes-file.patch: do not try to start daemon without /etc/ctdb/nodes. - d/rules: installing provided config examples and helper scripts. - Examples of NFS HA CTDB config files + helper script: + d/ctdb.example.enable.nfs.sh + d/ctdb.example.nfs-common + d/ctdb.example.nfs-kernel-server + d/ctdb.example.services + d/ctdb.example.sysctl-nfs-static-ports.conf - d/p/fix-nfs-service-name-to-nfs-kernel-server.patch: change nfs service name from nfs to nfs-kernel-server. - d/p/ctdb-scripts-fix-tcp_tw_recycle-existence-check.patch: fix tcp_tw_recycle existence check. * Allow proper ctdb initalization (LP: #1828799): - d/ctdb.dirs: added /var/lib/ctdb/* directories - d/ctdb.postrm: remove leftovers from /var/lib/ctdb/{state,persistent,volatile,scripts} * d/ctdb.install, d/rules: create ctdb run directory into tmpfiles.d to allow pid file to exist (LP: #1821775) -- Rafael David Tinoco Thu, 11 Jul 2019 18:00:50 + ** Changed in: samba (Ubuntu Disco) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821775 Title: ctdb cannot create PID file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1821775/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821775] Re: ctdb cannot create PID file
Marking verification-done according to: https://bugs.launchpad.net/debian/+source/samba/+bug/722201/comments/53 ** Tags removed: verification-needed verification-needed-disco ** Tags added: verification-done verification-done-disco -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821775 Title: ctdb cannot create PID file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1821775/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821775] Re: ctdb cannot create PID file
FYI - this test fail was resolved by a retry as gvfs is somewhat flaky -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821775 Title: ctdb cannot create PID file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1821775/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821775] Re: ctdb cannot create PID file
Hello Robert, or anyone else affected, Accepted samba into disco-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/samba/2:4.10.0+dfsg- 0ubuntu2.3 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-disco to verification-done-disco. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-disco. In either case, without details of your testing we will not be able to proceed. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping! N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days. ** Changed in: samba (Ubuntu Disco) Status: Confirmed => Fix Committed ** Tags added: verification-needed verification-needed-disco -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821775 Title: ctdb cannot create PID file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1821775/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821775] Re: ctdb cannot create PID file
** Changed in: samba (Ubuntu Bionic) Status: Confirmed => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821775 Title: ctdb cannot create PID file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1821775/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821775] Re: ctdb cannot create PID file
** Description changed: - With the default installation on Ubuntu 19.04 ctdb does not start as it - cannot create its PID file: + [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/ctdb/ctdb.log): +- no /etc/ctdb/nodes file, can't start +- /var/lib/ctdb/volatile does not exist +- 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://discourse.ubuntu.com/t/ctdb-create-a-3-node-nfs-ha-backed-by-a + -clustered-filesystem/11608 + + 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/ctdb/ctdbd.pid After manually creating the directory /var/run/ctdb ctdb is able to start. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821775 Title: ctdb cannot create PID file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1821775/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821775] Re: ctdb cannot create PID file
** Merge proposal linked: https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/samba/+git/samba/+merge/370016 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821775 Title: ctdb cannot create PID file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1821775/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821775] Re: ctdb cannot create PID file
** Changed in: samba (Ubuntu Cosmic) Status: Confirmed => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821775 Title: ctdb cannot create PID file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1821775/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821775] Re: ctdb cannot create PID file
This bug was fixed in the package samba - 2:4.10.0+dfsg-0ubuntu5 --- samba (2:4.10.0+dfsg-0ubuntu5) eoan; urgency=medium * debian/rules: Make DEB_HOST_ARCH_CPU initialized through dpkg-architecture (Closes: #931138) * d/p/ctdb-scripts-fix-tcp_tw_recycle-existence-check.patch: fix tcp_tw_recycle existence check. (LP: #722201) * d/p/fix-nfs-service-name-to-nfs-kernel-server.patch: change nfs service name from nfs to nfs-kernel-server (LP: #722201) * d/ctdb.install, d/rules: create ctdb run directory into tmpfiles.d to allow pid file to exist (LP: #1821775) * Allow proper ctdb initialization (LP: #1828799): - d/ctdb.dirs: added /var/lib/ctdb/* directories - d/ctdb.postrm: remove leftovers from: /var/lib/ctdb/{state,persistent,volatile,scripts} * d/rules: installing provided config examples and helper scripts * Examples of NFS HA CTDB config files + helper script: - d/ctdb.example.enable.nfs.sh - d/ctdb.example.nfs-common - d/ctdb.example.nfs-kernel-server - d/ctdb.example.services - d/ctdb.example.sysctl-nfs-static-ports.conf * d/p/ctdb-config-depend-on-etc-default-nodes-file.patch: do not try to start daemon if /etc/ctdb/nodes does not exist * d/p/ctdb-config-enable-syslog-by-default.patch: enable syslog and systemd journal by default -- Rafael David Tinoco Fri, 28 Jun 2019 00:14:27 + ** Changed in: samba (Ubuntu Eoan) Status: In Progress => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821775 Title: ctdb cannot create PID file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1821775/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821775] Re: ctdb cannot create PID file
** Also affects: samba (Ubuntu Eoan) Importance: Medium Assignee: Rafael David Tinoco (rafaeldtinoco) Status: In Progress ** Changed in: samba (Ubuntu Disco) Status: In Progress => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821775 Title: ctdb cannot create PID file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1821775/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821775] Re: ctdb cannot create PID file
The fix (Eoan) and SRU (Disco, Cosmic and Bionic) for this bug is being done at: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/722201 ** Also affects: samba (Ubuntu Bionic) Importance: Undecided Status: New ** Also affects: samba (Ubuntu Disco) Importance: Undecided Status: New ** Also affects: samba (Ubuntu Cosmic) Importance: Undecided Status: New ** Changed in: samba (Ubuntu Bionic) Status: New => Confirmed ** Changed in: samba (Ubuntu Cosmic) Status: New => Confirmed ** Changed in: samba (Ubuntu Disco) Status: New => In Progress ** Changed in: samba (Ubuntu Bionic) Importance: Undecided => Medium ** Changed in: samba (Ubuntu Cosmic) Importance: Undecided => Medium ** Changed in: samba (Ubuntu Disco) Importance: Undecided => Medium ** Changed in: samba (Ubuntu Bionic) Assignee: (unassigned) => Rafael David Tinoco (rafaeldtinoco) ** Changed in: samba (Ubuntu Cosmic) Assignee: (unassigned) => Rafael David Tinoco (rafaeldtinoco) ** Changed in: samba (Ubuntu Disco) Assignee: (unassigned) => Rafael David Tinoco (rafaeldtinoco) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821775 Title: ctdb cannot create PID file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1821775/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821775] Re: ctdb cannot create PID file
** Merge proposal linked: https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/samba/+git/samba/+merge/368550 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821775 Title: ctdb cannot create PID file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1821775/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821775] Re: ctdb cannot create PID file
https://bugzilla.samba.org/show_bug.cgi?id=13984 ** Bug watch added: Samba Bugzilla #13984 https://bugzilla.samba.org/show_bug.cgi?id=13984 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821775 Title: ctdb cannot create PID file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1821775/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821775] Re: ctdb cannot create PID file
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929931 ** Bug watch added: Debian Bug tracker #929931 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929931 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821775 Title: ctdb cannot create PID file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1821775/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821775] Re: ctdb cannot create PID file
Doing the CTDB setup I faced the same issues as: https://bugs.launchpad.net/ubuntu/+source/ctdb/+bug/1335540 https://bugs.launchpad.net/ubuntu/+source/ctdb/+bug/1828799 https://bugs.launchpad.net/ubuntu/+source/samba/+bug/722201 I'll merge the fixes (for those and this bug) altogether. ** Changed in: ctdb (Ubuntu) Importance: Undecided => Medium ** Changed in: ctdb (Ubuntu) Assignee: (unassigned) => Rafael David Tinoco (rafaeldtinoco) ** Changed in: ctdb (Ubuntu) Status: Confirmed => In Progress ** Also affects: samba (Ubuntu) Importance: Undecided Status: New ** Changed in: samba (Ubuntu) Status: New => In Progress ** Changed in: samba (Ubuntu) Importance: Undecided => Medium ** Changed in: samba (Ubuntu) Assignee: (unassigned) => Rafael David Tinoco (rafaeldtinoco) ** No longer affects: ctdb (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821775 Title: ctdb cannot create PID file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1821775/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821775] Re: ctdb cannot create PID file
Changed /etc/init.d/ctdb pidfile="/var/run/ctdb/ctdbd.pid" to pidfile="/run/ctdb/ctdbd.pid" Then sudo systemctl edit ctdb [Service] ExecStartPre=/bin/mkdir -p /run/ctdb And it will work upon reboot as well. (/run is deleted every reboot) Still seems to be looking for /var/run in the logs though. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821775 Title: ctdb cannot create PID file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ctdb/+bug/1821775/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821775] Re: ctdb cannot create PID file
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: ctdb (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821775 Title: ctdb cannot create PID file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ctdb/+bug/1821775/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs