> On Tue, Jan 28, 2025 at 09:20:38PM -0500, Kevin Otte wrote:
> > On Tue, 28 Jan 2025 19:28:24 -0500 Kevin Otte wrote:
> > > The package manifest includes an AppArmor template, but it is
> > > not seen on the filesystem after the package is installed:
> > > 
> > > # dpkg -L libvirt-daemon-driver-qemu | grep -i template
> > > /etc/apparmor.d/libvirt/TEMPLATE.qemu
> > > 
> > > # ls -l /etc/apparmor.d/libvirt/
> > > total 0

Hey Kevin,

I notice that a few other conffiles are missing:

> > > -- Configuration Files:
> > > /etc/apparmor.d/libvirt/TEMPLATE.qemu [file not found]
> > > /etc/libvirt/qemu-lockd.conf [file not found]
> > > /etc/libvirt/qemu-sanlock.conf [file not found]
> > > /etc/libvirt/qemu.conf [Errno 13] Permission denied: 
> > > '/etc/libvirt/qemu.conf'
> > > /etc/logrotate.d/libvirtd.qemu [file not found]

That's very interesting because that almost completely overlaps with
the list of conffiles that have been moved from the
libvirt-daemon-system package, where they historically lived, to the
libvirt-daemon-driver-qemu package.

We have special handling in maintainer scripts for those, and though
it should be fairly battle-tested by now it's not impossible that we
would have some lingering bugs.

However...

> This was an upgrade from the previous version in testing, so it may be
> something to be aware of in the upgrade process.

... this is surprising, since the files were moved in 10.6.0-2. If
you were upgrading from the previous version in testing (10.10.0-3),
that special handling shouldn't have been triggered.

I'll ask you to please verify a few things for me. You should be able
to gather all the information by looking at /var/log/apt/term.log*.

What version of libvirt did you have installed before the upgrade?

Do you have the libvirt-daemon-system package installed? And was it
installed before the upgrade?

Was any message containing the string "transfer of config file" shown
during the upgrade?

What does the output of

  $ sudo find /etc/libvirt/ -name '*dpkg*'

look like?

Thanks in advance!

-- 
Andrea Bolognani <e...@kiyuko.org>
Resistance is futile, you will be garbage collected.

Attachment: signature.asc
Description: PGP signature

Reply via email to