Merge ~jj/ubuntu/+source/python-ldap:lp2130351-autopkgtest-apparmor-fix into ubuntu/+source/python-ldap:ubuntu/devel

Proposed by Jonas Jelten
Status: Merged
Approved by: Andreas Hasenack
Approved revision: afd10ad6802591f6cd862a477ef74c6fc27ff66b
Merged at revision: afd10ad6802591f6cd862a477ef74c6fc27ff66b
Proposed branch: ~jj/ubuntu/+source/python-ldap:lp2130351-autopkgtest-apparmor-fix
Merge into: ubuntu/+source/python-ldap:ubuntu/devel
Diff against target: 27 lines (+7/-1)
2 files modified
debian/changelog (+6/-0)
debian/tests/apparmor.sh (+1/-1)
Reviewer Review Type Date Requested Status
git-ubuntu bot Approve
Andreas Hasenack Approve
Canonical Server Reporter Pending
Review via email: mp+497057@code.launchpad.net

Description of the change

fix dep8 test apparmor profile changing permission

ppa: https://launchpad.net/~jj/+archive/ubuntu/lp2119884-openldap-fix-apparmor

  - python-ldap: resolute/python-ldap/3.4.4-2ubuntu1~ppa10 [amd64]
    + ✅ python-ldap on resolute for amd64 @ 08.12.25 15:12:14 Log️ 🗒️
  - python-ldap: resolute/python-ldap/3.4.4-2ubuntu1~ppa10 [arm64]
    + ✅ python-ldap on resolute for arm64 @ 08.12.25 15:13:54 Log️ 🗒️
  - python-ldap: resolute/python-ldap/3.4.4-2ubuntu1~ppa10 [armhf]
    + ✅ python-ldap on resolute for armhf @ 08.12.25 15:14:16 Log️ 🗒️
  - python-ldap: resolute/python-ldap/3.4.4-2ubuntu1~ppa10 [ppc64el]
    + ✅ python-ldap on resolute for ppc64el @ 08.12.25 15:13:24 Log️ 🗒️
  - python-ldap: resolute/python-ldap/3.4.4-2ubuntu1~ppa7 [riscv64]
    + ⛔ python-ldap on resolute for riscv64 @ 04.12.25 00:33:58 Log️ 🗒️
      • testbed BAD ⛔
  - python-ldap: resolute/python-ldap/3.4.4-2ubuntu1~ppa10 [s390x]
    + ✅ python-ldap on resolute for s390x @ 08.12.25 15:15:51 Log️ 🗒️

To post a comment you must log in.
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

+1, uploaded with -v3.4.4-2:

Uploading python-ldap_3.4.4-2ubuntu2.dsc
Uploading python-ldap_3.4.4-2ubuntu2.debian.tar.xz
Uploading python-ldap_3.4.4-2ubuntu2_source.buildinfo
Uploading python-ldap_3.4.4-2ubuntu2_source.changes

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

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

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/debian/changelog b/debian/changelog
2index b543b15..6c38282 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,9 @@
6+python-ldap (3.4.4-2ubuntu2) resolute; urgency=medium
7+
8+ * d/t/apparmor.sh: fix testing apparmor profile write access (LP: #2130351)
9+
10+ -- Jonas Jelten <jonas.jelten@canonical.com> Mon, 08 Dec 2025 15:45:13 +0100
11+
12 python-ldap (3.4.4-2ubuntu1) resolute; urgency=medium
13
14 * d/t/{startserver,upstream}: fix slapd apparmor access to test directory
15diff --git a/debian/tests/apparmor.sh b/debian/tests/apparmor.sh
16index 7308195..7840386 100644
17--- a/debian/tests/apparmor.sh
18+++ b/debian/tests/apparmor.sh
19@@ -51,7 +51,7 @@ apparmor_setup() {
20
21 # this directory is like /etc/slapd
22 echo "allowing $_apparmor_allowdir in apparmor..."
23- echo "$_apparmor_allowdir/** kwr," >> /etc/apparmor.d/local/usr.sbin.slapd
24+ echo "$_apparmor_allowdir/** kwr," | sudo tee -a /etc/apparmor.d/local/usr.sbin.slapd
25
26 _apparmor_check sudo apparmor_parser -W -T -r /etc/apparmor.d/usr.sbin.slapd
27 fi

Subscribers

People subscribed via source and target branches