Your message dated Tue, 17 Nov 2026 17:46:48 +0100 with message-id <87h5hfxv5z.fsf@manticora> and subject line Re: Bug#1152846: ntpsec: Please stop shipping /etc/apparmor.d/tunables/ntpd has caused the Debian Bug report #1152846, regarding ntpsec: Please stop shipping /etc/apparmor.d/tunables/ntpd to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 1152846: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1152846 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: ntpsec Version: 1.2.5+dfsg-1 Severity: serious Tags: patch Justification: package uninstallable in most common configurations Hi, apparmor 5.0 ships /etc/apparmor.d/tunables/ntpd with a compatible configuration format (same variable name). This triggered a conffile conflict (#1152663) which makes ntpsec and apparmor not co-installable at the moment. Sorry I did not spot that before uploading! (I'm going to add ntpsec to the "test-installed" autopkgtest in src:apparmor so this gets spotted next time.) It seems to me the best way forward is that ntpsec stops shipping that conffile: there's nothing specific to ntpsec in there, and the filename clearly belongs to a namespace that is broader than just ntpsec, so it makes sense it's shipped in a more central package, and can be shared by AppArmor profiles for various NTP implementations. So I propose we do this: 1. ntpsec stops shipping /etc/apparmor.d/tunables/ntpd, presumably in 1.2.5+dfsg-2 I don't think you need to add a dependency (stronger than the existing Suggests:) on apparmor: the apparmor package ships the parser, so without the tunable, there's no parser, and then no change your policy depends on a missing tunable. The attached untested patch should do most, if not all, that's needed. 2. apparmor takes over the conffile: Breaks: ntpsec (<< 1.2.5+dfsg-2~) Replaces: ntpsec (<< 1.2.5+dfsg-2~) I'll do that once (1) has happened. What do you think?
0001-Stop-shipping-etc-apparmor.d-tunables-ntpd-1152663.patch
Description: application/mbox
--- End Message ---
--- Begin Message ---Hi, Adrian Bunk (2026-11-09): > Without going into the moving discussion, ntpsec also does: > install -D -m 0644 debian/apparmor-profile \ > debian/ntpsec/etc/apparmor.d/usr.sbin.ntpd > > > apparmor also ships a (different!) version of this file as > profiles/apparmor.d/usr.sbin.ntpd in its sources. That one seems to be for other implementations of ntpd. > It wouldn't make much sense if the tunables file and the file being > tuned were now in different packages, either both or none > should move. This makes sense to me. Initially I thought that tunables/ntpd could be shared infrastructure, that multiple ntpd implementations could use. But apparently only 1 of them uses that tunable, so I agree it's better to leave it there for now. We can reconsider if there's a need & will to share later on! So I'm closing this bug. I'm not a fan of using the namespace like that and would prefer if it were called tunables/ntpsec, but that's beside the point. Cheers, -- intrigeri
--- End Message ---

