Merge ~paelzer/ubuntu/+source/chrony:lp-fix-1867036-focal into ubuntu/+source/chrony:ubuntu/focal-devel

Proposed by Christian Ehrhardt 
Status: Merged
Approved by: Christian Ehrhardt 
Approved revision: 321e1096f49eb4765b55d7927bfd3d6725e4040d
Merge reported by: Christian Ehrhardt 
Merged at revision: 321e1096f49eb4765b55d7927bfd3d6725e4040d
Proposed branch: ~paelzer/ubuntu/+source/chrony:lp-fix-1867036-focal
Merge into: ubuntu/+source/chrony:ubuntu/focal-devel
Diff against target: 43 lines (+11/-2)
3 files modified
debian/changelog (+9/-0)
debian/chronyd-starter.sh (+1/-1)
debian/control (+1/-1)
Reviewer Review Type Date Requested Status
Robie Basak Approve
Canonical Server Pending
git-ubuntu developers Pending
Review via email: mp+381424@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :
Revision history for this message
Robie Basak (racb) wrote :

lgtm

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

uploaded

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 0ea8e2f..73c55aa 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,12 @@
6+chrony (3.5-6ubuntu2) focal; urgency=medium
7+
8+ * fix capsh usage in focal avoiding to always fall back to -x (LP: #1867036)
9+ - d/control: add versioned dependency to libcap2-bin new enough to
10+ support --has-p
11+ - d/chronyd-starter.sh: update capsh usage to use --has-p
12+
13+ -- Christian Ehrhardt <christian.ehrhardt@canonical.com> Tue, 31 Mar 2020 10:19:20 +0200
14+
15 chrony (3.5-6ubuntu1) focal; urgency=medium
16
17 * Merge with Debian unstable (LP: #1866753). Remaining changes:
18diff --git a/debian/chronyd-starter.sh b/debian/chronyd-starter.sh
19index c175db5..55cc285 100755
20--- a/debian/chronyd-starter.sh
21+++ b/debian/chronyd-starter.sh
22@@ -47,7 +47,7 @@ if [ ${X_SET} -ne 1 ]; then
23 HAS_CAP=1
24 CAPSH="/sbin/capsh"
25 if [ -x "${CAPSH}" ]; then
26- ${CAPSH} --print | grep -q "^Current.*${CAP}" || HAS_CAP=0
27+ ${CAPSH} --has-p="${CAP}" || HAS_CAP=0
28 fi
29
30 if [ ${HAS_CAP} -eq 0 ]; then
31diff --git a/debian/control b/debian/control
32index 830ff1f..8f9ec5c 100644
33--- a/debian/control
34+++ b/debian/control
35@@ -27,7 +27,7 @@ Architecture: linux-any
36 Pre-Depends: ${misc:Pre-Depends}
37 Depends: adduser,
38 iproute2 [linux-any],
39- libcap2-bin,
40+ libcap2-bin (>= 1:2.32-1),
41 ucf,
42 ${misc:Depends},
43 ${shlibs:Depends}

Subscribers

People subscribed via source and target branches