2010-12-17 15:45:32 |
C de-Avillez |
bug |
|
|
added bug |
2010-12-17 15:45:52 |
C de-Avillez |
tags |
|
natty qa |
|
2010-12-17 15:53:22 |
C de-Avillez |
tags |
natty qa |
iso-testing natty qa |
|
2010-12-17 21:36:18 |
Serge Hallyn |
libvirt (Ubuntu): status |
New |
Incomplete |
|
2010-12-17 22:48:16 |
C de-Avillez |
libvirt (Ubuntu): status |
Incomplete |
New |
|
2010-12-22 19:44:07 |
Serge Hallyn |
libvirt (Ubuntu): status |
New |
Triaged |
|
2010-12-22 19:44:13 |
Serge Hallyn |
libvirt (Ubuntu): importance |
Undecided |
Low |
|
2010-12-22 19:59:15 |
Serge Hallyn |
bug watch added |
|
https://bugzilla.redhat.com/show_bug.cgi?id=568935 |
|
2010-12-22 19:59:15 |
Serge Hallyn |
bug task added |
|
libvirt |
|
2010-12-23 21:46:24 |
Serge Hallyn |
attachment added |
|
Proposed patch to not chown isos https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/691590/+attachment/1774914/+files/debdiff |
|
2011-01-06 09:17:32 |
James Page |
bug |
|
|
added subscriber James Page |
2011-06-06 16:06:09 |
Simon Déziel |
bug |
|
|
added subscriber Simon Déziel |
2011-12-02 17:25:30 |
Serge Hallyn |
libvirt (Ubuntu): status |
Triaged |
Won't Fix |
|
2012-09-26 19:08:47 |
C de-Avillez |
description |
Natty (and it was also the same on Maverick, IIRC).
When you assign an ISO to a VM, libvirt will take over onwership of the ISO. This creates problems if the ISO is updated.
For example, I am daily updating the Natty server ISOs, and running tests on them via KVM (all automated). The ISO updates will fail because libvirt chowns them.
I see no reason for this: libvirt only needs the ISO as input. |
Natty (and it was also the same on Maverick, IIRC).
When you assign an ISO to a VM, libvirt will take over onwership of the ISO. This creates problems if the ISO is updated.
For example, I am daily updating the Natty server ISOs, and running tests on them via KVM (all automated). The ISO updates will fail because libvirt chowns them.
I see no reason for this: libvirt only needs the ISO as input.
WORKAROUND:
edit /etc/libvirt/qemu.conf, change 'dynamic_ownership = 1', restart qemu/KVM. |
|
2012-09-26 19:17:02 |
C de-Avillez |
description |
Natty (and it was also the same on Maverick, IIRC).
When you assign an ISO to a VM, libvirt will take over onwership of the ISO. This creates problems if the ISO is updated.
For example, I am daily updating the Natty server ISOs, and running tests on them via KVM (all automated). The ISO updates will fail because libvirt chowns them.
I see no reason for this: libvirt only needs the ISO as input.
WORKAROUND:
edit /etc/libvirt/qemu.conf, change 'dynamic_ownership = 1', restart qemu/KVM. |
Natty (and it was also the same on Maverick, IIRC).
When you assign an ISO to a VM, libvirt will take over onwership of the ISO. This creates problems if the ISO is updated.
For example, I am daily updating the Natty server ISOs, and running tests on them via KVM (all automated). The ISO updates will fail because libvirt chowns them.
I see no reason for this: libvirt only needs the ISO as input.
WORKAROUND:
edit /etc/libvirt/qemu.conf, change 'dynamic_ownership = 0', restart qemu/KVM. |
|
2015-06-09 01:32:00 |
Phillip Susi |
libvirt (Ubuntu): status |
Won't Fix |
Triaged |
|
2015-06-09 01:32:00 |
Phillip Susi |
libvirt (Ubuntu): assignee |
|
Phillip Susi (psusi) |
|
2016-03-29 23:13:10 |
Andreas Hasenack |
bug |
|
|
added subscriber Andreas Hasenack |
2016-06-02 13:45:23 |
Bryan Quigley |
bug |
|
|
added subscriber Bryan Quigley |
2017-10-27 06:02:15 |
Bug Watch Updater |
libvirt: status |
Unknown |
Fix Released |
|
2017-10-27 06:02:15 |
Bug Watch Updater |
libvirt: importance |
Unknown |
Medium |
|
2020-06-22 10:31:52 |
Soren Hansen |
attachment added |
|
libvirt-attr.diff https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/691590/+attachment/5386068/+files/libvirt-attr.diff |
|
2020-06-22 10:32:07 |
Soren Hansen |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2020-06-22 11:31:35 |
Christian Ehrhardt |
libvirt (Ubuntu): assignee |
Phillip Susi (psusi) |
Christian Ehrhardt (paelzer) |
|
2020-06-22 11:31:39 |
Christian Ehrhardt |
libvirt (Ubuntu): importance |
Low |
Medium |
|
2020-06-22 11:31:45 |
Christian Ehrhardt |
tags |
iso-testing natty qa |
iso-testing libvirt-20.10 natty qa |
|
2020-06-22 11:32:42 |
Christian Ehrhardt |
libvirt (Ubuntu): status |
Triaged |
In Progress |
|
2020-06-22 11:33:11 |
Christian Ehrhardt |
summary |
libvirt should not take ownership of ISO images |
libvirt restore exactly the old ownership of images |
|
2020-06-22 17:12:23 |
Bryan Quigley |
removed subscriber Bryan Quigley |
|
|
|
2020-06-22 19:28:24 |
Christian Ehrhardt |
merge proposal linked |
|
https://code.launchpad.net/~paelzer/ubuntu/+source/libvirt/+git/libvirt/+merge/386212 |
|
2020-06-23 01:08:50 |
Mathew Hodson |
affects |
libvirt |
libvirt (Baltix) |
|
2020-06-23 01:14:17 |
Mathew Hodson |
affects |
libvirt (Baltix) |
ubuntu-translations |
|
2020-06-23 01:14:27 |
Mathew Hodson |
bug task deleted |
ubuntu-translations |
|
|
2020-06-25 03:41:46 |
Launchpad Janitor |
libvirt (Ubuntu): status |
In Progress |
Fix Released |
|
2020-06-25 09:54:15 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~paelzer/ubuntu/+source/libvirt/+git/libvirt/+merge/386376 |
|
2020-06-25 13:36:02 |
Christian Ehrhardt |
description |
Natty (and it was also the same on Maverick, IIRC).
When you assign an ISO to a VM, libvirt will take over onwership of the ISO. This creates problems if the ISO is updated.
For example, I am daily updating the Natty server ISOs, and running tests on them via KVM (all automated). The ISO updates will fail because libvirt chowns them.
I see no reason for this: libvirt only needs the ISO as input.
WORKAROUND:
edit /etc/libvirt/qemu.conf, change 'dynamic_ownership = 0', restart qemu/KVM. |
[Impact]
* A rather old bug which could have been solved much sooner. Attr support
was disabled way back in time for triggering some test issues. Since
then the test issues and also many more rough edges of ATTR support have
been fixed.
* This change shall enable attr support again which allows libvirt to
remember and carry ownership information on image files as extended
attributes.
[Test Case]
* Prepare a guest that you can start/stop e.g. with uvtool-libvirt
* Own the image by anything other than root:root
* Start the guest (ownership will change to the user the guest runs as)
* Stop the guest:
- fail: will set root:root to the images effectively stealing them
- correct: remembers the old ownership and restores that
[Regression Potential]
* This mostly influences DAC control of files, which is exactly what we
want to fix. There are a few lifecycle tasks which now also have to
carry labels e.g. on any image handling. I don't expect regressions, but
this is the place to look out for.
* The behavior on File systems unable to XATTR matches that of the
formerly disable feature, so on those cases where it has no positive
change it will have no change at all.
[Other Info]
* Technically we could backport this into all releases, but while I find
it right to fix in Focal OTOH Bionic and even more so Xenial really are
even "more stable" after their time in the field. Users either have
adapted already or even rely/expect the semi-broken behavior. Therefore
this is only targetting Focal intentionally.
* (very) worst case one can set the FS the images are on to "nouser_xattr"
as mount option.
---
Natty (and it was also the same on Maverick, IIRC).
When you assign an ISO to a VM, libvirt will take over onwership of the ISO. This creates problems if the ISO is updated.
For example, I am daily updating the Natty server ISOs, and running tests on them via KVM (all automated). The ISO updates will fail because libvirt chowns them.
I see no reason for this: libvirt only needs the ISO as input.
WORKAROUND:
edit /etc/libvirt/qemu.conf, change 'dynamic_ownership = 0', restart qemu/KVM. |
|
2020-06-25 13:36:13 |
Christian Ehrhardt |
nominated for series |
|
Ubuntu Focal |
|
2020-06-25 13:36:13 |
Christian Ehrhardt |
bug task added |
|
libvirt (Ubuntu Focal) |
|
2020-06-25 13:36:22 |
Christian Ehrhardt |
libvirt (Ubuntu Focal): importance |
Undecided |
Medium |
|
2020-06-25 13:36:24 |
Christian Ehrhardt |
libvirt (Ubuntu Focal): status |
New |
Triaged |
|
2020-07-15 14:40:15 |
Robie Basak |
libvirt (Ubuntu Focal): status |
Triaged |
Fix Committed |
|
2020-07-15 14:40:17 |
Robie Basak |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2020-07-15 14:40:19 |
Robie Basak |
bug |
|
|
added subscriber SRU Verification |
2020-07-15 14:40:26 |
Robie Basak |
tags |
iso-testing libvirt-20.10 natty qa |
iso-testing libvirt-20.10 natty qa verification-needed verification-needed-focal |
|
2020-07-15 14:49:34 |
Robie Basak |
removed subscriber Ubuntu Sponsors Team |
|
|
|
2020-07-16 11:53:00 |
Christian Ehrhardt |
tags |
iso-testing libvirt-20.10 natty qa verification-needed verification-needed-focal |
iso-testing libvirt-20.10 natty qa verification-done verification-done-focal |
|
2020-07-23 10:34:46 |
Łukasz Zemczak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2020-07-23 10:34:45 |
Launchpad Janitor |
libvirt (Ubuntu Focal): status |
Fix Committed |
Fix Released |
|