#985277 "systemctl reload virtlogd" fails: Cannot disable close-on-exec flag on socket -1: Bad file descriptor

Package:
libvirt-daemon
Source:
libvirt
Description:
Virtualization daemon
Submitter:
"Trent W. Buck"
Date:
2021-03-16 08:18:04 UTC
Severity:
normal
Tags:
#985277#5
Date:
2021-03-15 11:30:07 UTC
From:
To:
I noticed virtlogd in "systemctl --state=failed".
It restarted OK, but failed to reload (see attached).
I haven't looked yet, but I'm guessing logrotate triggers reload each night?
No idea about the EBADF either, maybe a double-close problem.

The only remotely interesting thing I'm doing on this host is using ZFS and virtio-fs.
Otherwise it's a fairly standard Debian 11 install with a couple of Debian 11 guest VMs, all currently off.
I can provide more debugging if needed.