systemd service file dependancy is broken

Bug #1534882 reported by hiroaki mizuguchi
52
This bug affects 13 people
Affects Status Importance Assigned to Milestone
kimchi (Ubuntu)
Triaged
Medium
Unassigned
Xenial
Confirmed
Medium
Unassigned

Bug Description

kimchi.service in unbutu is used fedora base systemd service file.
depended service in fedra is libvirtd.service, but depended service in ubuntu is libvirt-bin.service

my workaround
sed sed -e 's/libvirtd/libvirt-bin/g' /lib/systemd/system/kimchi.service > /etc/systemd/system/kimchi.service
systemctl daemon-reload
systemctl start kimchi

For this reason, kimchi postinstall script is hang up because kimchi.service is not running.

Tags: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in kimchi (Ubuntu):
status: New → Confirmed
Revision history for this message
fmyhr (fmyhr) wrote :

This bit me yesterday. OP's fix works. Surprised that 3 months later this bug hasn't been fixed -- is this package even maintained? In case it helps, I'm attaching a patch that does the same thing as OP's workaround.

Revision history for this message
fmyhr (fmyhr) wrote :
Revision history for this message
Jon Grimm (jgrimm) wrote :

Upstream fix:

https://github.com/kimchi-project/kimchi/commit/375466014e9a5650846a1f976da132b234e39154

Needs fixed in Xenial. Probably not broken in Yakkety due to their being able to specify either libvirtd or libvirt-bin, but that should be verified.

Kimchi packager aware this needs fixed up.

Changed in kimchi (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Paulo Vital (pvital) wrote :

This debdiff fixes the issue.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "kimchi_1.5.0_fix#1534882.debdiff" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]

tags: added: patch
Mathew Hodson (mhodson)
Changed in kimchi (Ubuntu):
importance: Undecided → Medium
Mathew Hodson (mhodson)
Changed in kimchi (Ubuntu Xenial):
importance: Undecided → Medium
Revision history for this message
Brian Murray (brian-murray) wrote :

With regards to the debdiff, the correct syntax for closing bug reports in Launchpad is LP: #1534882 while Closes: is used with the Debian bug tracker.

Additionally, the patch still contains the template which it shouldn't and the Bug-Debian reference should be a Bug-Ubuntu one.

Thanks for working on this though and I'll get it squared away.

Revision history for this message
Brian Murray (brian-murray) wrote :

The package fails to build with the attached debdiff.

"
mv /<<PKGBUILDDIR>>/debian/kimchi/lib/systemd/system/kimchid.service /<<PKGBUILDDIR>>/debian/kimchi/lib/systemd/system/kimchi.service
mv: cannot stat '/<<PKGBUILDDIR>>/debian/kimchi/lib/systemd/system/kimchid.service': No such file or directory
"

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in kimchi (Ubuntu Xenial):
status: New → Confirmed
Revision history for this message
etienne (etjenne) wrote :

The package hang on install,
tried github: doesn't install

Last Status in dpkg.log: half configured

idk what else to add, fell free to communicate

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.