Bug 55880

Summary: RFE: add sample /etc/sysconfig/spice-vdagentd file for systemd-enabled builds
Product: Spice Reporter: David Jaša <jasa.david>
Component: unix agentAssignee: Spice Bug List <spice-bugs>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium CC: jwrdegoede
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description David Jaša 2012-10-11 16:29:56 UTC
The file should contain empty SPICE_VDAGENTD_EXTRA_ARGS variable because it is referenced in the spice-vdagentd.service file and it isn't obvious where it should be found.

sysv-enabled builds could get such default file too but I'm not sure how the default location for such files is determined (I recall /etc/default in Debian-based system etc. :/)
Comment 1 Hans de Goede 2012-10-15 09:42:34 UTC
Adding an "empty" sysconfig file sounds like a sane request to me, this should be easy for anyone to write a patch for. So; patches welcome!
Comment 2 Marc-Andre Lureau 2014-11-03 13:16:20 UTC
I am not convinced it is such a good idea.
- the vdagentd arguments are mostly for debugging purposes
- empty files to be open/read at boot is recipe for slower boot time
- the sysconfig files are well-known and documented, it's not something specific to vdagent
Comment 3 David Jaša 2014-11-05 21:18:18 UTC
OK, so what about installing the sample file to /usr/share/doc? I can say for myself that I always have to search for the exact name of the variable...
Comment 4 Victor Toso 2015-03-03 16:38:50 UTC
(In reply to David Jaša from comment #3)
> OK, so what about installing the sample file to /usr/share/doc? I can say
> for myself that I always have to search for the exact name of the variable...

As I just did :-)
You can check the file and variable name with in spice-vdagentd man page.
Comment 5 GitLab Migration User 2018-06-03 10:26:32 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/spice/linux/vd_agent/issues/1.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.