Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708782 - app-emulation/libvirt-6.0.0 : ListenStream= references a path below legacy directory in systemd unit files: virtlockd.socket, virtlockd-admin.socket, virtlogd.socket, virtlogd-admin.socket, libvirtd-admin.socket, libvirtd-ro.socket, libvirtd.socket
Summary: app-emulation/libvirt-6.0.0 : ListenStream= references a path below legacy di...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Matthias Maier
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-02-09 08:56 UTC by Julien Delquié
Modified: 2020-02-10 16:04 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Delquié 2020-02-09 08:56:21 UTC
Hello,

Here is what I find in my /var/log/messages with libvirt v6.0.0:

systemd: /lib/systemd/system/virtlogd.socket:6: ListenStream= references a path below legacy directory /var/run/, updating /var/run/libvirt/virtlogd-sock → /run/libvirt/virtlogd-sock; please update the unit file accordingly.
systemd: /lib/systemd/system/virtlogd-admin.socket:8: ListenStream= references a path below legacy directory /var/run/, updating /var/run/libvirt/virtlogd-admin-sock → /run/libvirt/virtlogd-admin-sock; please update the unit file accordingly.
systemd: /lib/systemd/system/libvirtd-admin.socket:9: ListenStream= references a path below legacy directory /var/run/, updating /var/run/libvirt/libvirt-admin-sock → /run/libvirt/libvirt-admin-sock; please update the unit file accordingly.
systemd: /lib/systemd/system/libvirtd-ro.socket:9: ListenStream= references a path below legacy directory /var/run/, updating /var/run/libvirt/libvirt-sock-ro → /run/libvirt/libvirt-sock-ro; please update the unit file accordingly.
systemd: /lib/systemd/system/libvirtd.socket:7: ListenStream= references a path below legacy directory /var/run/, updating /var/run/libvirt/libvirt-sock → /run/libvirt/libvirt-sock; please update the unit file accordingly.
systemd: /lib/systemd/system/virtlockd.socket:6: ListenStream= references a path below legacy directory /var/run/, updating /var/run/libvirt/virtlockd-sock → /run/libvirt/virtlockd-sock; please update the unit file accordingly.
systemd: /lib/systemd/system/virtlockd-admin.socket:8: ListenStream= references a path below legacy directory /var/run/, updating /var/run/libvirt/virtlockd-admin-sock → /run/libvirt/virtlockd-admin-sock; please update the unit file accordingly.
Comment 1 Michal Privoznik 2020-02-10 10:49:24 UTC
This is beacuse in the ebuild we are not passing --with-runstatedir=/run rather relying on libvirt's default which in turn rely on autoconf-2.69 defaults. I will post a fix for this shortly.
Comment 2 Larry the Git Cow gentoo-dev 2020-02-10 16:04:23 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d0cc6913081b83e692189b025b7f781e344a183

commit 9d0cc6913081b83e692189b025b7f781e344a183
Author:     Matthias Maier <tamiko@gentoo.org>
AuthorDate: 2020-02-10 16:03:11 +0000
Commit:     Matthias Maier <tamiko@gentoo.org>
CommitDate: 2020-02-10 16:03:57 +0000

    app-emulation/libvirt: Also update 6.0.0
    
    Closes: https://bugs.gentoo.org/708782
    Package-Manager: Portage-2.3.87, Repoman-2.3.20
    Signed-off-by: Matthias Maier <tamiko@gentoo.org>

 ...ibvirt-6.0.0.ebuild => libvirt-6.0.0-r1.ebuild} | 22 ++--------------------
 1 file changed, 2 insertions(+), 20 deletions(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05da722fe8ad1c924d188b5099bc1f189c406fb4

commit 05da722fe8ad1c924d188b5099bc1f189c406fb4
Author:     Michal Privoznik <mprivozn@redhat.com>
AuthorDate: 2020-02-10 12:50:20 +0000
Commit:     Matthias Maier <tamiko@gentoo.org>
CommitDate: 2020-02-10 16:03:48 +0000

    app-emulation/libvirt-9999: Provide modern runtime directory
    
    Because of autoconf-2.69 and its defaults, the configure script
    will default to /var/run instead of /run. This may trigger
    warnings in some packages which expect libvirt to provide modern
    paths (e.g. systemd and location of .socket files).
    
    Bug: https://bugs.gentoo.org/708782
    Closes: https://github.com/gentoo/gentoo/pull/14613
    Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
    Signed-off-by: Matthias Maier <tamiko@gentoo.org>

 app-emulation/libvirt/libvirt-9999.ebuild | 2 ++
 1 file changed, 2 insertions(+)