[Spice-devel] [vdagent-linux] Fix gdm autostart path

Christophe Fergeau cfergeau at redhat.com
Fri Feb 28 09:54:35 PST 2014


Hey,

On Wed, Feb 26, 2014 at 02:47:13PM +0100, Marc-André Lureau wrote:
> This change now triggers some warnings and selinux errors on f20:
> 
> Feb 26 14:36:12 localhost.localdomain spice-vdagent[833]: warning
> could not get file xfer save dir, using cwd
> 
> 
> 
> Feb 26 14:36:14 localhost.localdomain setroubleshoot[835]: SELinux is
> preventing /usr/sbin/spice-vdagentd from search access on the
> directory 833. For complete SELinux messages
> 
> Perhaps we should consider a --nohome or --gdm option?

Fwiw, the 2 issues seem unrelated, I'd fix #1 by just disabling c&p if we
can't get the user home dir rather than defaulting to cwd.
#2 seems to happen when spice-vdagentd tries to access /proc/$(pidof
spice-vdagent)/cgroup through session_info_session_for_pid().

Will spend more time on that next week..

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20140228/28dfa83f/attachment.pgp>


More information about the Spice-devel mailing list