Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#33345 - [libvirt] packages installs invalid unit file for virtlockd

Attached to Project: Community Packages
Opened by Lars Kellogg-Stedman (larsks) - Wednesday, 09 January 2013, 16:00 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 29 January 2013, 13:03 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The "virtlockd.service" unit installed by libvirt has an invalid ExecStart entry:

ExecStart=@sbindir@/virtlockd

This should be a full path to the virtlockd executable:

ExecStart=/usr/sbin/virtlockd

Additionally, this unit file has no [Install] section so it cannot be enabled, nor does the [Unit] section set any dependencies vs. libvirtd. So the unit file should probably look something like:

[Unit]
Description=Virtual machine lock manager
Requires=virtlockd.socket
After=syslog.target
Before=libvirtd.service

[Service]
EnvironmentFile=-/etc/sysconfig/virtlockd
ExecStart=@sbindir@/virtlockd
ExecReload=/bin/kill -HUP $MAINPID
# Loosing the locks is a really bad thing that will
# cause the machine to be fenced (rebooted), so make
# sure we discourage OOM killer
OOMScoreAdjust=-900

[Install]
WantedBy=multi-user.target

Additional info:
* package version(s)

libvirt 1.0.1-1
This task depends upon

Closed by  Sergej Pupykin (sergej)
Tuesday, 29 January 2013, 13:03 GMT
Reason for closing:  Fixed
Additional comments about closing:  about [install] please report upstream
Comment by Sergej Pupykin (sergej) - Monday, 14 January 2013, 09:55 GMT
@sbindir@ fixed, about other issues please report upstream - this .service file is from libvirt source tarball.

Loading...