ubuntu debs missing ctdb_mutex_ceph_rados_helper

Bug #1850648 reported by Harry Coin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

In the samba source subdirectory ctdb/utils/ceph there is ctdb_mutex_ceph_rados_helper.c, needed for proper operation of ctdb in a ceph environment. But, ubuntu doesn't include the --enable-ceph-reclock option so that program doesn't appear in the ubuntu version of the ctdb/samba debs. As ubuntu distributes ceph, it should provide the ctdb support package.

Thanks
HC

Revision history for this message
Harry Coin (hcoin) wrote :

When --enable-ceph-relock is added to rules, and librados-dev is installed, dpkg-buildpackage reports this error:
ake[1]: Entering directory '/tmp/samba/samba-4.10.7+dfsg'
dh_missing --fail-missing
dh_missing: usr/lib/x86_64-linux-gnu/ctdb/ctdb_mutex_ceph_rados_helper exists in debian/tmp but is not installed to anywhere
dh_missing: usr/share/man/man7/ctdb_mutex_ceph_rados_helper.7 exists in debian/tmp but is not installed to anywhere
The following debhelper tools have reported what they installed (with files per package)
* dh_install: ctdb (58), libnss-winbind (2), libpam-winbind (4), libparse-pidl-perl (9), libsmbclient (3), libsmbclient-dev (3), libwbclient-dev (3), libwbclient0 (4), python3-samba (1), registry-tools (8), samba (56), samba-common (5), samba-common-bin (23), samba-dev (113), samba-dsdb-modules (2), samba-libs (157), samba-testsuite (12), samba-vfs-modules (82), smbclient (23), winbind (23)
* dh_installdocs: ctdb (6), libnss-winbind (0), libpam-winbind (0), libparse-pidl-perl (0), libsmbclient (0), libsmbclient-dev (0), libwbclient-dev (0), libwbclient0 (0), python3-samba (0), registry-tools (0), samba (0), samba-common (2), samba-common-bin (0), samba-dev (0), samba-dsdb-modules (0), samba-libs (0), samba-testsuite (0), samba-vfs-modules (0), smbclient (0), winbind (0)
* dh_installexamples: ctdb (9), libnss-winbind (0), libpam-winbind (1), libparse-pidl-perl (0), libsmbclient (0), libsmbclient-dev (24), libwbclient-dev (0), libwbclient0 (0), python3-samba (0), registry-tools (0), samba (4), samba-common (1), samba-common-bin (0), samba-dev (5), samba-dsdb-modules (0), samba-libs (0), samba-testsuite (1), samba-vfs-modules (0), smbclient (0), winbind (0)
* dh_installman: ctdb (0), libnss-winbind (0), libpam-winbind (0), libparse-pidl-perl (0), libsmbclient (0), libsmbclient-dev (0), libwbclient-dev (0), libwbclient0 (0), python3-samba (0), registry-tools (0), samba (1), samba-common (0), samba-common-bin (0), samba-dev (0), samba-dsdb-modules (0), samba-libs (0), samba-testsuite (0), samba-vfs-modules (0), smbclient (0), winbind (0)
If the missing files are installed by another tool, please file a bug against it.
When filing the report, if the tool is not part of debhelper itself, please reference the
"Logging helpers and dh_missing" section from the "PROGRAMMING" guide for debhelper (10.6.3+).
(in the debhelper package: /usr/share/doc/debhelper/PROGRAMMING.gz)
Be sure to test with dpkg-buildpackage -A/-B as the results may vary when only a subset is built
For a short-term work-around: Add the files to debian/not-installed
dh_missing: missing files, aborting
make[1]: *** [debian/rules:251: override_dh_missing] Error 255
make[1]: Leaving directory '/tmp/samba/samba-4.10.7+dfsg'
make: *** [debian/rules:88: binary] Error 2

Revision history for this message
Harry Coin (hcoin) wrote :

Adding
usr/lib/*/ctdb/ctdb_mutex_ceph_rados_helper
and
usr/share/man/man7/ctdb_mutex_ceph_rados_helper.7
to
/debian/ctdb.install
puts those files in the ctdb deb and corrects the above.

Paride Legovini (paride)
tags: added: server-triage-discuss
Paride Legovini (paride)
tags: removed: server-triage-discuss
Revision history for this message
Paride Legovini (paride) wrote :

Thank you for your report. This issue is present in Debian too, and it would be best fixed in Debian; Ubuntu will then pick it up on the next merge. Would you mind filing a bug against Debian samba package please?

Changed in samba (Ubuntu):
status: New → Triaged
importance: Undecided → Wishlist
Revision history for this message
Sergio Durigan Junior (sergiodj) wrote :

This has been fixed in Debian since 4.13.4+dfsg-1, which was merged into Ubuntu during the Impish cycle, so I'm marking this bug as Fix Released.

Changed in samba (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Sergio Durigan Junior (sergiodj) wrote :

FWIW, this is the commit that fixed it in Debian:

commit 60b1dd0be150ae5819d424e4c948ce0076b03570
Author: Mathieu Parent <email address hidden>
AuthorDate: Tue Feb 9 20:39:12 2021 +0100
Commit: Mathieu Parent <email address hidden>
CommitDate: Tue Feb 9 21:00:30 2021 +0100

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.