Merge ~paelzer/ubuntu/+source/chrony:bionic-sru-lp-1771028-man-page-apparmor-paths into ubuntu/+source/chrony:ubuntu/bionic-devel

Proposed by Christian Ehrhardt 
Status: Merged
Approved by: Robie Basak
Approved revision: 7a8445db3842ed29c96dd06a5fa768d44ea70a2b
Merged at revision: 7a8445db3842ed29c96dd06a5fa768d44ea70a2b
Proposed branch: ~paelzer/ubuntu/+source/chrony:bionic-sru-lp-1771028-man-page-apparmor-paths
Merge into: ubuntu/+source/chrony:ubuntu/bionic-devel
Diff against target: 37 lines (+18/-0)
2 files modified
debian/changelog (+8/-0)
debian/usr.sbin.chronyd (+10/-0)
Reviewer Review Type Date Requested Status
Robie Basak Approve
Canonical Server Pending
Canonical Server packageset reviewers Pending
Review via email: mp+346740@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Trivial backport opening up apparmor rules slightly.

Picked from what we just reviewed, tested and pushed to Cosmic.

PPA: https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/3269
Bug: https://bugs.launchpad.net/ubuntu/+source/chrony/+bug/1771028

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Tested from PPA - fixing the bugs as expected.
No other issue found on the upgrade.

Also since old apparmor profile was on default there was no prompting for conffiles - this should be true for 99.999% of users as well.

Revision history for this message
Robie Basak (racb) wrote :

Verified in Cosmic via Debian (https://git.launchpad.net/ubuntu/+source/chrony/commit/debian/usr.sbin.chronyd?id=c670bb531fb4d3f741e3645221c1996dcd05ee4b and https://salsa.debian.org/debian/chrony/commit/294237ad25748246f79e83c177eec4809a8cf92e). The bug looks SRU ready, the changelog and proposed version is correct and the diff looks fine.

I think a conffile prompt is OK in this case.

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 78c6ecc..cfa85ad 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,11 @@
6+chrony (3.2-4ubuntu4.1) bionic; urgency=medium
7+
8+ * debian/usr.sbin.chronyd:
9+ - Support all paths suggested in the man page.
10+ (LP: #1771028, Closes: #898614)
11+
12+ -- Christian Ehrhardt <christian.ehrhardt@canonical.com> Wed, 23 May 2018 16:22:13 +0200
13+
14 chrony (3.2-4ubuntu4) bionic; urgency=medium
15
16 * d/postrm: re-establish systemd-timesyncd on removal (LP: #1764357)
17diff --git a/debian/usr.sbin.chronyd b/debian/usr.sbin.chronyd
18index 92f77a5..4424e3c 100644
19--- a/debian/usr.sbin.chronyd
20+++ b/debian/usr.sbin.chronyd
21@@ -32,6 +32,16 @@
22 # changes measured by a sensor close to the oscillator.
23 @{sys}/class/hwmon/hwmon[0-9]*/temp[0-9]*_input r,
24
25+ # Support all paths suggested in the man page (LP: #1771028). Assume these
26+ # are common use cases; others should be set as local include (see below).
27+ # Configs using a 'chrony.' prefix like the tempcomp config file example
28+ /etc/chrony.* r,
29+ # Example gpsd socket is outside /{,var/}run/chrony/
30+ /{,var/}run/chrony.tty{,*}.sock rw,
31+ # To sign replies to MS-SNTP clients by the smbd daemon
32+ /var/lib/samba/ntp_signd r,
33+ /var/lib/samba/ntp_signd/{,*} rw,
34+
35 # rtc
36 /etc/adjtime r,
37 /dev/rtc{,[0-9]*} rw,

Subscribers

People subscribed via source and target branches