Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 378833 - app-emulation/spice-vdagent-0.8.1 - Check for CONFIG_VIRTIO_CONSOLE and add default options in conf.d script
Summary: app-emulation/spice-vdagent-0.8.1 - Check for CONFIG_VIRTIO_CONSOLE and add d...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Tiziano Müller (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-11 20:38 UTC by Chris Mayo
Modified: 2012-07-08 03:20 UTC (History)
1 user (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 Chris Mayo 2011-08-11 20:38:28 UTC
A few suggestions from my experience of getting spice-vdagent working:

 - In ebuild also check for CONFIG_VIRTIO_CONSOLE in kernel config
 
 - Modify /etc/conf.d/spice-vdagent:
SPICE_VDAGENT_ARGS="-u /dev/input/uinput"

That's where uinput shows with sys-kernel/gentoo-sources-2.6.39-r3 for me, else vdagentd exits as it is has /dev/uinput as default.

- Add line continuation characters on same line as "start-stop-daemon" in init script start() and stop()
I get e.g.:
/etc/init.d/spice-vdagent: line 48: --stop: command not found             [ !! ]
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-08-15 00:43:01 UTC
I fixed the init.d script problem in 0.8.1-r1. The other stuff is beyond my knowledge. Over to dev-zero.
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2012-07-08 02:48:19 UTC
(In reply to comment #0)
> A few suggestions from my experience of getting spice-vdagent working:
> 
>  - In ebuild also check for CONFIG_VIRTIO_CONSOLE in kernel config
>  
>  - Modify /etc/conf.d/spice-vdagent:
> SPICE_VDAGENT_ARGS="-u /dev/input/uinput"
> 
> That's where uinput shows with sys-kernel/gentoo-sources-2.6.39-r3 for me,
> else vdagentd exits as it is has /dev/uinput as default.
> 
> - Add line continuation characters on same line as "start-stop-daemon" in
> init script start() and stop()
> I get e.g.:
> /etc/init.d/spice-vdagent: line 48: --stop: command not found             [
> !! ]

With Linux 3.3.8, its at /dev/uinput but the kernel docs say its at /dev/input/uinput. Most likely its udev that's changing it based on DEVTMPFS being enabled and automounted by the kernel.

I'll add some checking and commit updates.
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2012-07-08 03:19:45 UTC
I bumped the version and fixed all these issues. Let me know if the problem persists.