qemu-guest-agent init script launch start-stop-daemon with argument '--pidfile /var/run/qemu-ga.pid' in start() and stop() functions. Instead of /var/run /run should be used for pid-files as describe in #361349. This result by qemu-guest-agent could not start : # /etc/init.d/qemu-guest-agent start * Caching service dependencies ... [ ok * Starting QEMU Guest Agent ... 1376088593.550871: critical: Cannot lock pid file, No such file or directory 1376088593.550916: critical: failed to create pidfile Reproducible: Always
Please, show your output for $ ls -ld /run /var/run and $ emerge --info At least on linux after proper migration /var/run should point to the /run.
Created attachment 355692 [details] emerge --info (In reply to Sergei Trofimovich from comment #1) > Please, show your output for > $ ls -ld /run /var/run $ ls -ld /var/run lrwxrwxrwx 1 root root 4 Sep 7 2012 /var/run -> /run > and > $ emerge --info > > At least on linux after proper migration /var/run should point to the /run.
(In reply to Bertrand Jacquin from comment #2) > Created attachment 355692 [details] > emerge --info > > (In reply to Sergei Trofimovich from comment #1) > > Please, show your output for > > $ ls -ld /run /var/run > > $ ls -ld /var/run > lrwxrwxrwx 1 root root 4 Sep 7 2012 /var/run -> /run > > > and > > $ emerge --info > > > > At least on linux after proper migration /var/run should point to the /run. Oh, our qemu-guest-agent completely broken. It's default paths are /usr/loca/ relative. Including default PID path. >>> Configuring source in /tmp/portage/app-emulation/qemu-guest-agent-1.5.2/work/qemu-1.5.2 ... Install prefix /usr/local BIOS directory /usr/local/share/qemu binary directory /usr/local/bin library directory /usr/local/lib libexec directory /usr/local/libexec include directory /usr/local/include config directory /usr/local/etc local state directory /usr/local/var Manual directory /usr/local/share/man ELF interp prefix /usr/gnemul/qemu-%M Source path /tmp/portage/app-emulation/qemu-guest-agent-1.5.2/work/qemu-1.5.2
(In reply to Sergei Trofimovich from comment #3) > (In reply to Bertrand Jacquin from comment #2) > > Created attachment 355692 [details] > > emerge --info > > > > (In reply to Sergei Trofimovich from comment #1) > > > Please, show your output for > > > $ ls -ld /run /var/run > > > > $ ls -ld /var/run > > lrwxrwxrwx 1 root root 4 Sep 7 2012 /var/run -> /run > > > > > and > > > $ emerge --info > > > > > > At least on linux after proper migration /var/run should point to the /run. > > Oh, our qemu-guest-agent completely broken. > It's default paths are /usr/loca/ relative. > Including default PID path. > > >>> Configuring source in /tmp/portage/app-emulation/qemu-guest-agent-1.5.2/work/qemu-1.5.2 ... > Install prefix /usr/local > BIOS directory /usr/local/share/qemu > binary directory /usr/local/bin > library directory /usr/local/lib > libexec directory /usr/local/libexec > include directory /usr/local/include > config directory /usr/local/etc > local state directory /usr/local/var > Manual directory /usr/local/share/man > ELF interp prefix /usr/gnemul/qemu-%M > Source path > /tmp/portage/app-emulation/qemu-guest-agent-1.5.2/work/qemu-1.5.2 Bummer. I asked someone to test it a while back before committing the original and all I've done since then are bumps. There should now be qemu-1.5.2-r1 and should have the issues fixed.
Please let me know if that solves the issue.
That should have been qemu-guest-agent-1.5.2-r1.
(In reply to Doug Goldstein from comment #4) > (In reply to Sergei Trofimovich from comment #3) > > (In reply to Bertrand Jacquin from comment #2) > > > Created attachment 355692 [details] > > > emerge --info > > > > > > (In reply to Sergei Trofimovich from comment #1) > > > > Please, show your output for > > > > $ ls -ld /run /var/run > > > > > > $ ls -ld /var/run > > > lrwxrwxrwx 1 root root 4 Sep 7 2012 /var/run -> /run > > > > > > > and > > > > $ emerge --info > > > > > > > > At least on linux after proper migration /var/run should point to the /run. > > > > Oh, our qemu-guest-agent completely broken. > > It's default paths are /usr/loca/ relative. > > Including default PID path. > > > > >>> Configuring source in /tmp/portage/app-emulation/qemu-guest-agent-1.5.2/work/qemu-1.5.2 ... > > Install prefix /usr/local > > BIOS directory /usr/local/share/qemu > > binary directory /usr/local/bin > > library directory /usr/local/lib > > libexec directory /usr/local/libexec > > include directory /usr/local/include > > config directory /usr/local/etc > > local state directory /usr/local/var > > Manual directory /usr/local/share/man > > ELF interp prefix /usr/gnemul/qemu-%M > > Source path > > /tmp/portage/app-emulation/qemu-guest-agent-1.5.2/work/qemu-1.5.2 > > Bummer. I asked someone to test it a while back before committing the > original and all I've done since then are bumps. > > There should now be qemu-1.5.2-r1 and should have the issues fixed. I can confirm this is OK. Thanks Doug.
(In reply to Bertrand Jacquin from comment #7) > > I can confirm this is OK. Thanks Doug. YW. Let me know if there's other issues.