Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 238008 - app-emulation/libvirt init script doesn`t work on localized systems
Summary: app-emulation/libvirt init script doesn`t work on localized systems
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Micheal Marineau (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-18 12:49 UTC by Christian Kaps
Modified: 2008-11-23 21:57 UTC (History)
1 user (show)

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


Attachments
libvirtd init script patch (libvirtd-lcall-c.diff,1.68 KB, patch)
2008-11-21 02:41 UTC, Micheal Marineau (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Kaps 2008-09-18 12:49:02 UTC
The init script /etc/init.d/libvirtd dosent`t shutdown guests on my localized system, because the outputs from virsh version and virsh list are others.

On a german system:
pluto init.d # virsh version
Kompiliert gegen die Bibliothek: libvir 0.4.4
Verwende Bibliothek: libvir 0.4.4
Verwende API: QEMU 0.4.4
Laufender Hypervisor: QEMU 0.9.1

pluto init.d # virsh list
 Id Name                 Status
----------------------------------
  1 venus                laufend
  2 saturn               laufend

Reproducible: Always
Comment 1 Wormo (RETIRED) gentoo-dev 2008-09-19 07:11:19 UTC
Ah, 'grep running' fails for you. Something like 'LANG=C virsh list | grep running' should work better. Assigning to maintainers.
Comment 2 Micheal Marineau (RETIRED) gentoo-dev 2008-11-21 02:41:51 UTC
Created attachment 172596 [details, diff]
libvirtd init script patch

Please try the attached patch and see if it fixes the issue. Being a lame English speaker myself I don't have any other locals set up on my system to test with.
Comment 3 Micheal Marineau (RETIRED) gentoo-dev 2008-11-23 21:57:45 UTC
Should be fixed in libvirt 0.4.4-r2 and 0.4.6, re-open if you still have trouble.