Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 792228 - app-emulation/libvirt-7.0.0-r2 syntax error in systemd unit files
Summary: app-emulation/libvirt-7.0.0-r2 syntax error in systemd unit files
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: https://gitlab.com/libvirt/libvirt/-/...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2021-05-26 09:11 UTC by Kai Krakow
Modified: 2021-06-10 14:41 UTC (History)
3 users (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 Kai Krakow 2021-05-26 09:11:56 UTC
The systemd unit files of libvirt are broken. I'm not sure if this is an upsteam problem but here we go:

[3540799.172512] systemd[1]: /usr/lib/systemd/system/virtproxyd.socket:4: Missing '=', ignoring line.
[3540799.172630] systemd[1]: /usr/lib/systemd/system/virtproxyd-tcp.socket:6: Missing '=', ignoring line.
[3540799.172780] systemd[1]: /usr/lib/systemd/system/virtproxyd-ro.socket:6: Missing '=', ignoring line.
[3540799.172934] systemd[1]: /usr/lib/systemd/system/virtproxyd-admin.socket:6: Missing '=', ignoring line.

Inspecting the files it looks like a newline sneaked into the "Before=" line:

[Unit]
Description=Libvirt proxy local socket
Before=virtproxyd.service
libvirtd.socket libvirtd-ro.socket libvirtd-admin.socket libvirtd-tcp.socket libvirtd-tls.socket
Comment 1 Larry the Git Cow gentoo-dev 2021-06-10 14:41:59 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f402fb9ae52e5f66a4aa845b878f15d3be2100d

commit 5f402fb9ae52e5f66a4aa845b878f15d3be2100d
Author:     Matthias Maier <tamiko@gentoo.org>
AuthorDate: 2021-06-10 14:41:13 +0000
Commit:     Matthias Maier <tamiko@gentoo.org>
CommitDate: 2021-06-10 14:41:13 +0000

    app-emulation/libvirt: fix systemd unit file for libvirt 7.0.0
    
    Closes: https://bugs.gentoo.org/792228
    Package-Manager: Portage-3.0.19, Repoman-3.0.3
    RepoMan-Options: --force
    Signed-off-by: Matthias Maier <tamiko@gentoo.org>

 .../files/libvirt-7.0.0-fix_virtproxyd_unit_file.patch | 18 ++++++++++++++++++
 ...libvirt-7.0.0-r2.ebuild => libvirt-7.0.0-r3.ebuild} |  1 +
 2 files changed, 19 insertions(+)