[Bug 1905377] Re: postrm fails in hirsute as the path generation for modules is broken

2020-11-30 Thread Christian Ehrhardt 
FYI - While the fix for this bug worked fine on qemu-block-extra (which is the only place module upgrade handling will be done in future). The dropping of any prerm for qemu-syste-gui has triggered bug 1906245. That essentially surfaces as the same issue, but for qemu-syste-gui by the broken old

[Bug 1905377] Re: postrm fails in hirsute as the path generation for modules is broken

2020-11-26 Thread Launchpad Bug Tracker
This bug was fixed in the package qemu - 1:5.1+dfsg-4ubuntu2 --- qemu (1:5.1+dfsg-4ubuntu2) hirsute; urgency=medium * Fix upgrade module handling (LP: #1905377) This was accetped in a slightly different form in qemu_5.0-6 and therefore allows to drop some former delta that i

[Bug 1905377] Re: postrm fails in hirsute as the path generation for modules is broken

2020-11-25 Thread Paride Legovini
Thanks for the additional info! I tried to reproduce this with piuparts, as it performs an install- upgrade-purge test by installing the package from the archive, upgrading it using the package to test, and then trying to remove it. It doesn't reproduce as apt-get detects the installed package has

[Bug 1905377] Re: postrm fails in hirsute as the path generation for modules is broken

2020-11-25 Thread Christian Ehrhardt 
Hmm, the other one takes at least a few day - maybe more due to other involved people being out for thanksgiving. Prepping this for a review. MP here: https://code.launchpad.net/~paelzer/ubuntu/+source/qemu/+git/qemu/+merge/394453 -- You received this bug notification because you are a member of

[Bug 1905377] Re: postrm fails in hirsute as the path generation for modules is broken

2020-11-25 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~paelzer/ubuntu/+source/qemu/+git/qemu/+merge/394453 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1905377 Title: postrm fails in hirsute as

[Bug 1905377] Re: postrm fails in hirsute as the path generation for modules is broken

2020-11-25 Thread Christian Ehrhardt 
Hi Paride, This is tied into upgrade mechanisms (as that is what it needs to fix, long running qemu's through an upgrade) It needs an upgrade to happen to enter the bad state: That upgrade doesn't have to be another version For example: $ apt install qemu-block-extra $ apt install --reinstall qem

[Bug 1905377] Re: postrm fails in hirsute as the path generation for modules is broken

2020-11-24 Thread Paride Legovini
Hi Christian, At least one qemu guest is needed to reproduce the issue, correct? As I couldn't with a simple install/uninstall. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1905377 Title: postrm f

[Bug 1905377] Re: postrm fails in hirsute as the path generation for modules is broken

2020-11-24 Thread Christian Ehrhardt 
Fixed in PPA [1] for testing [1]: https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/4348 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1905377 Title: postrm fails in hirsute as the path g

[Bug 1905377] Re: postrm fails in hirsute as the path generation for modules is broken

2020-11-24 Thread Christian Ehrhardt 
df9ba08d6cdb50bd66792db2b02a31e1fc8befef has also added +# save block-extra loadable modules on upgrades +# other module types for now (5.0) can't be loaded at runtime, only at startup + echo 'case $$1 in (upgrade|deconfigure) mkdir -p ${SAVEMODDIR}; cp -p ${libdir}/qemu/block-*.so ${SAVEMO

[Bug 1905377] Re: postrm fails in hirsute as the path generation for modules is broken

2020-11-24 Thread Christian Ehrhardt 
The string in --version is the same: QEMU emulator version 5.1.0 (Debian 1:5.1+dfsg-4ubuntu1) QEMU emulator version 5.0.0 (Debian 1:5.0-5ubuntu9.1) Templates as well: mkdir -p /var/run/qemu/@PKGVERSION@ cp /usr/lib/@ARCH@/qemu/block-*.so /var/run/qem

[Bug 1905377] Re: postrm fails in hirsute as the path generation for modules is broken

2020-11-24 Thread Christian Ehrhardt 
Due to the above it also might leave dirs like "1:5.1+dfsg-4ubuntu1" wherever it was running - bump severity ** Changed in: qemu (Ubuntu) Status: New => Triaged ** Changed in: qemu (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of

[Bug 1905377] Re: postrm fails in hirsute as the path generation for modules is broken

2020-11-24 Thread Christian Ehrhardt 
prerm (and others) have the same issue: mkdir -p /var/run/qemu/Debian 1:5.1+dfsg-4ubuntu1 cp /usr/lib/x86_64-linux-gnu/qemu/block-*.so /var/run/qemu/Debian 1:5.1+dfsg-4ubuntu1/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to U

[Bug 1905377] Re: postrm fails in hirsute as the path generation for modules is broken

2020-11-24 Thread Christian Ehrhardt 
Example from Focal (how it should be): 26 rm -f /var/run/qemu/Debian_1_5.0-5ubuntu9~backport20.04-202010241037~ubuntu20.04.1/ui-gtk.so 27 rm -f /var/run/qemu/Debian_1_5.0-5ubuntu9~backport20.04-202010241037~ubuntu20.04.1/audio-*.so This is generated from debversion in d/rules a

[Bug 1905377] Re: postrm fails in hirsute as the path generation for modules is broken

2020-11-24 Thread Christian Ehrhardt 
Until resolved affected users can rather safely run rm -rf /var/run/qemu/Debian Afterwards the remove/purge will work. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1905377 Title: postrm fails in