Package: kopanocore Version: 8.7.0-5 Severity: normal Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu focal ubuntu-patch
Dear maintainers, Since 8.7.0-3, the autopkgtests for kopanocore have been failing in Ubuntu, due to an apparmor denial when kopano-search tries to access /usr/sbin/ldconfig: [413685.899592] audit: type=1400 audit(1576179514.224:92): apparmor="DENIED" operation="open" profile="/usr/sbin/kopano-search" name="/usr/sbin/ldconfig" pid=298626 comm="ldconfig" requested_mask="r" denied_mask="r" fsuid=0 ouid=0 The reason for this is that ldconfig on Ubuntu is a wrapper script around ldconfig.real. The attached patch fixes the autopkgtest failure (and the subsequent runtime failures) on Ubuntu. Please consider applying this in Debian. Thanks, -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developer https://www.debian.org/ slanga...@ubuntu.com vor...@debian.org
diff -Nru kopanocore-8.7.0/debian/apparmor/usr.sbin.kopano-search kopanocore-8.7.0/debian/apparmor/usr.sbin.kopano-search --- kopanocore-8.7.0/debian/apparmor/usr.sbin.kopano-search 2019-10-29 10:43:03.000000000 -0700 +++ kopanocore-8.7.0/debian/apparmor/usr.sbin.kopano-search 2019-12-12 14:06:36.000000000 -0800 @@ -41,7 +41,7 @@ /lib/@{multiarch}/ld-*.so mr, - /{,usr/}sbin/ldconfig Pix, + /{,usr/}sbin/ldconfig{,.real} Pixr, /run/kopano/search.pid rw, /run/kopano/search.pid.lock lrw,