Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 436386 - x11-libs/virtualgl should install /etc/VirtualGLvgl_xauth_key ?
Summary: x11-libs/virtualgl should install /etc/VirtualGLvgl_xauth_key ?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Pacho Ramos
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-27 08:40 UTC by Szymon Walczak
Modified: 2012-09-29 09:33 UTC (History)
2 users (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 Szymon Walczak 2012-09-27 08:40:49 UTC

    
Comment 1 Szymon Walczak 2012-09-27 08:43:12 UTC
The file /etc/VirtualGL/vgl_xauth_key is missed. The manual creation of empty file solved the problem with vgl anb bumblebee.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-09-28 14:19:22 UTC
What does create /etc/VirtualGL/ in the first place?
Comment 3 Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2012-09-28 16:36:29 UTC
No, ebuild shouldn't install /etc/VirtualGL/vgl_xauth_key, since it creates every vgl init-script startup and removes everry stop.
But it seems, we need "keepdir /etc/VirtualGL".
Pacho?
Comment 4 Reinis Danne 2012-09-28 17:10:31 UTC
VirtualGl ebuild was creating /etc/VirtualGL, but it was moved to /var/lib/VirtualGL. Whoever did the move forgot to adjust the init script and test if vgl actually uses the key in new path.
Comment 5 Pacho Ramos gentoo-dev 2012-09-29 09:03:55 UTC
I am using it just now with no problems at all without /etc/VirtualGL, instead, I have:

# ls -l /var/lib/VirtualGL/vgl_xauth_key 
-rw-r--r-- 1 root root 52 sep 29 10:34 /var/lib/VirtualGL/vgl_xauth_key

I also see no trace of /etc in init.d script neither conf.d file

Also, problem is missing at first comment

I have x11-misc/virtualgl-2.3.1 and bumblebee-3.0.1
Comment 6 Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2012-09-29 09:20:26 UTC
> I also see no trace of /etc in init.d script neither conf.d file

Really? :)

% grep -rc /etc/ /usr/portage/x11-misc/virtualgl/files
/usr/portage/x11-misc/virtualgl/files/vgl.initd-r1:5
/usr/portage/x11-misc/virtualgl/files/vgl.initd:5
/usr/portage/x11-misc/virtualgl/files/vgl.confd:1
/usr/portage/x11-misc/virtualgl/files/vgl.confd-r1:1

% emerge --info 2>&1 | head -n5
Portage 2.2.0_alpha128 (default/linux/amd64/10.0/desktop/kde, gcc-4.6.3, unavailable, 3.5.3-gentoo-note x86_64)
=================================================================
System uname: Linux-3.5.3-gentoo-note-x86_64-Intel-R-_Core-TM-_i3-2310M_CPU_@_2.10GHz-with-gentoo-2.1
Timestamp of tree: Thu, 27 Sep 2012 15:30:01 +0000
Comment 7 Pacho Ramos gentoo-dev 2012-09-29 09:33:27 UTC
That's true :O


+*virtualgl-2.3.1-r1 (29 Sep 2012)
+
+  29 Sep 2012; Pacho Ramos <pacho@gentoo.org> +virtualgl-2.3.1-r1.ebuild,
+  -virtualgl-2.3.1.ebuild, files/vgl.initd-r1:
+  Really use updated conf.d and init.d files as looks like I forgot to
+  effectively commit them in the past and was using them only locally, bug
+  #436386 by Szymon Walczak, My Th and mva.
+