Merge ~ahasenack/ubuntu/+source/bind-dyndb-ldap:jammy-dyndb-ldap-dep8 into ubuntu/+source/bind-dyndb-ldap:ubuntu/jammy-devel

Proposed by Andreas Hasenack
Status: Merged
Approved by: git-ubuntu bot
Approved revision: not available
Merged at revision: e188cd39308dadbb46e6cbe218c6c820ca340331
Proposed branch: ~ahasenack/ubuntu/+source/bind-dyndb-ldap:jammy-dyndb-ldap-dep8
Merge into: ubuntu/+source/bind-dyndb-ldap:ubuntu/jammy-devel
Diff against target: 314 lines (+294/-0)
3 files modified
debian/changelog (+7/-0)
debian/tests/control (+7/-0)
debian/tests/dyndb-ldap (+280/-0)
Reviewer Review Type Date Requested Status
git-ubuntu bot Approve
Lucas Kanashiro (community) Approve
Canonical Server Reporter Pending
Review via email: mp+450608@code.staging.launchpad.net

Description of the change

Rebuild bind-dyndb-ldap with current bind9-libs, and add a DEP8 test to catch future regressions like this one.

In jammy, the ldap.so plugin is installed in /usr/lib/bind/ instead of /usr/lib/${triple-arch}/bind, so that's the only difference in the test script.

PPA: https://launchpad.net/~ahasenack/+archive/ubuntu/bind9-dyndb-ldap/+packages

DEP8: green locally, will trigger again in the ppa later

See https://bugs.launchpad.net/ubuntu/lunar/+source/bind-dyndb-ldap/+bug/1978849/comments/10 and https://bugs.launchpad.net/ubuntu/lunar/+source/bind-dyndb-ldap/+bug/1978849/comments/12 for details, but src:bind-dyndb-ldap really needs a rebuild everytime bind9 is updated, even if it's just a no-change rebuild. This is not because of the strict "Depends", but the actual soname of the bind9 libraries *change* with a simple rebuild as they incorporate the ubuntu version suffix.

As an example of what it looks like when the test fails, I left the focal[1] run up:

(...)
112s ## Configuring bind9 to use bind9-dyndb-ldap
112s ## Restarting bind9
112s
112s ## Checking DNS records
112s Using domain server:
112s Name: 127.0.0.1
112s Address: 127.0.0.1#53
112s Aliases:
112s
112s Host somehost.example.internal not found: 5(REFUSED)
112s ## Something failed, gathering logs
(...)
112s Sep 1 17:48:26 adt-focal-amd64-bind-dyndb-ldap-20230901-174634-juju-4d1272-pro named[2187]: loading DynDB instance 'ldap_zone' driver '/usr/lib/bind/ldap.so'
112s Sep 1 17:48:26 adt-focal-amd64-bind-dyndb-ldap-20230901-174634-juju-4d1272-pro named[2187]: failed to dynamically load instance 'ldap_zone' driver '/usr/lib/bind/ldap.so': /usr/lib/bind/ldap.so: undefined symbol: cfg_parse_buffer2 (failure)

1. https://autopkgtest.ubuntu.com/results/autopkgtest-focal-ahasenack-bind9-dyndb-ldap/focal/amd64/b/bind-dyndb-ldap/20230901_174839_8c68a@/log.gz

To post a comment you must log in.
Revision history for this message
Lucas Kanashiro (lucaskanashiro) wrote :

LGTM, +1.

review: Approve
Revision history for this message
git-ubuntu bot (git-ubuntu-bot) wrote :

Approvers: ahasenack, lucaskanashiro
Uploaders: ahasenack, lucaskanashiro
MP auto-approved

review: Approve
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Thanks, uploaded with rich history, and bugs updated with the SRU template:

Uploading bind-dyndb-ldap_11.9-5ubuntu0.22.04.2.dsc
Uploading bind-dyndb-ldap_11.9-5ubuntu0.22.04.2.debian.tar.xz
Uploading bind-dyndb-ldap_11.9-5ubuntu0.22.04.2_source.buildinfo
Uploading bind-dyndb-ldap_11.9-5ubuntu0.22.04.2_source.changes

There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches