Merge ~paelzer/ubuntu/+source/libvirt:lp-691590-enable-attr-for-image-ownership into ubuntu/+source/libvirt:ubuntu/groovy-devel

Proposed by Christian Ehrhardt 
Status: Merged
Approved by: Christian Ehrhardt 
Approved revision: b928cec6577c1dd7e25fb5b5fb3d0bbcfc62ca5f
Merged at revision: b928cec6577c1dd7e25fb5b5fb3d0bbcfc62ca5f
Proposed branch: ~paelzer/ubuntu/+source/libvirt:lp-691590-enable-attr-for-image-ownership
Merge into: ubuntu/+source/libvirt:ubuntu/groovy-devel
Diff against target: 58 lines (+13/-1)
3 files modified
debian/changelog (+9/-0)
debian/control (+1/-0)
debian/rules (+3/-1)
Reviewer Review Type Date Requested Status
Rafael David Tinoco (community) Approve
Canonical Server Pending
Canonical Server packageset reviewers Pending
Review via email: mp+386212@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
Christian Ehrhardt  (paelzer) wrote :

Tests LGTM actually, in the test-spirit I agree let us make it available early to get the report of breakage in early :-)

prep (x86_64) : Pass 25 F/S/N 0/0/0 - RC 0 (20 min 71562 lin)
migrate (x86_64) : Pass 287 F/S/N 1/0/0 - RC 1 (77 min 217932 lin)
cross (x86_64) : Pass 52 F/S/N 0/1/3 - RC 0 (113 min 94363 lin)
misc (x86_64) : Pass 73 F/S/N 0/0/0 - RC 0 (40 min 43848 lin)

prep (s390x) : Pass 25 F/S/N 0/0/0 - RC 0 (12 min 46811 lin)
migrate (s390x) : Pass 267 F/S/N 1/5/0 - RC 1 (66 min 161138 lin)
cross (s390x) : Pass 58 F/S/N 0/1/2 - RC 0 (78 min 90803 lin)
misc (s390x) : Pass 67 F/S/N 0/0/0 - RC 0 (24 min 31813 lin)

The one fail is due to the qemu which is waiting on its MP but the tests already expect that to be present.

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

FYI the explicit disabling was from 6 years ago:

commit 0fa762425da7039f2d238d7c819c29cfd2ee134e
Author: Guido Günther <email address hidden>
Date: Sat May 10 13:04:10 2014 +0200

    Disable tests requiring filesystem attributes

    since they seem to fail on the buildd

    Closes: #747565

diff --git a/debian/rules b/debian/rules
index d62d674659..12c484756a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -108,7 +108,8 @@ DEB_CONFIGURE_EXTRA_ARGS := \
        $(WITH_DTRACE) \
        $(WITH_AUDIT) \
        --without-hal \
- --without-firewalld
+ --without-firewalld \
+ --without-attr

 DEB_BUILDDIR := $(CURDIR)/debian/build
 LOGROTATE = $(basename $(basename $(notdir $(wildcard daemon/libvirtd*.logrotate.in))))

The autokgtests are running in the ticket to the PPA and at build time no issue happened.
Seems this can be enabled without an issue these days.

Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote :

Simple enough for a quick +1 here.

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

To ssh://git.launchpad.net/~usd-import-team/ubuntu/+source/libvirt
 * [new tag] upload/6.0.0-0ubuntu10 -> upload/6.0.0-0ubuntu10

Uploading to ubuntu (via ftp to upload.ubuntu.com):
  Uploading libvirt_6.0.0-0ubuntu10.dsc: done.
  Uploading libvirt_6.0.0-0ubuntu10.debian.tar.xz: done.
  Uploading libvirt_6.0.0-0ubuntu10_source.buildinfo: done.
  Uploading libvirt_6.0.0-0ubuntu10_source.changes: done.
Successfully uploaded packages.

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 78a41da..3d8b2de 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,12 @@
6+libvirt (6.0.0-0ubuntu10) groovy; urgency=medium
7+
8+ * enable attr support to store XATTR labels. Among other things
9+ this allows to properly restore file ownership (LP: #691590)
10+ - d/control: build depend to libattr1-dev
11+ - d/rules: configure --with-attr
12+
13+ -- Christian Ehrhardt <christian.ehrhardt@canonical.com> Mon, 22 Jun 2020 21:30:50 +0200
14+
15 libvirt (6.0.0-0ubuntu9) groovy; urgency=medium
16
17 * d/p/ubuntu/lp-1879325-*: avoid issues with apparmor metadata labeling
18diff --git a/debian/control b/debian/control
19index 0ad7d5c..3ef41f7 100644
20--- a/debian/control
21+++ b/debian/control
22@@ -23,6 +23,7 @@ Build-Depends:
23 libdevmapper-dev [linux-any],
24 uuid-dev,
25 libudev-dev [linux-any],
26+ libattr1-dev [linux-any],
27 libpciaccess-dev,
28 kmod [linux-any],
29 policykit-1 (>= 0.105-4~),
30diff --git a/debian/rules b/debian/rules
31index ee31f98..ab8c858 100755
32--- a/debian/rules
33+++ b/debian/rules
34@@ -45,6 +45,7 @@ ifneq (,$(findstring $(DEB_HOST_ARCH_OS), linux))
35 WITH_INIT_SCRIPT = --with-init-script=systemd
36 WITH_SYSTEMD = --with-systemd-daemon
37 WITH_FIREWALLD = --without-firewalld
38+ WITH_ATTR = --with-attr
39 WITH_AUDIT = --with-audit
40 WITH_SELINUX = --with-selinux --with-secdriver-selinux --with-selinux-mount=/sys/fs/selinux
41 WITH_APPARMOR = --with-apparmor --with-secdriver-apparmor --with-apparmor-profiles
42@@ -82,6 +83,7 @@ else
43 WITH_INIT_SCRIPT = --with-init-script=none
44 WITH_SYSTEMD = --without-systemd-daemon
45 WITH_FIREWALLD = --without-firewalld
46+ WITH_ATTR = --without-attr
47 WITH_AUDIT = --without-audit
48 WITH_SELINUX = --without-selinux
49 WITH_APPARMOR = --without-apparmor
50@@ -134,7 +136,7 @@ DEB_CONFIGURE_EXTRA_ARGS := \
51 $(WITH_AUDIT) \
52 --without-hal \
53 $(WITH_FIREWALLD) \
54- --without-attr \
55+ $(WITH_ATTR) \
56 $(WITH_NSS_PLUGIN) \
57 --with-wireshark-dissector \
58 $(NULL)

Subscribers

People subscribed via source and target branches