Possible xhost error in boinc-client script

Gianfranco Costamagna costamagnagianfranco at yahoo.it
Mon Jan 4 11:10:12 UTC 2016


Hi


>I figured that the "35x11-common_xhost-local" file came from another
>package (or is otherwise a base file with Debian). I just used it as
>the baseline/template for a new "36x11-common_xhost-boinc" file that
>permits access to the boinc user. Keeping the files separate is just a
>useful way to make package separation easier.
>
>And yeah, looks like the 35 file comes from x11-common:
>
>I'm not sure if having the file be provided by two different packages
>would lead to conflicts upon attempting to upgrade/install boinc or
>not. Granted, the version that was pushed with boinc is identical to
>what's in the x11-common package right now, so maybe there wouldn't be
>any issues. In any case I think only the 36 file is needed in the
>boinc package.


nack, this was leading to an impossibility to install the client package :S

I removed the 35 file and reuploaded on experimental :)

>Nah I'm patient :) Looks like it's already up in any case. Good job
>keeping up with the packaging!


thanks for caring and fixing!

cheers,

G.

On 01/03/2016 09:38 AM, Gianfranco Costamagna wrote:
> Hi Preston!
> 
>> Whelp, my pull request reinstating and improving the XSS idle 
>> detection was accepted and merged upstream a few days ago:
>> 
>> https://github.com/BOINC/boinc/pull/1453
>> 
>> I don't know which point release it'll end up in, but the code
>> is there now, along with a debug flag I added to the code for
>> inclusion in the cc_config.xml file named "idle_detection_debug".
>> An example configuration file:
> 
> will be there in the next 7.6.x release, I see the fix has
> cherry-picked from master into 7.6 branch 
> https://github.com/BOINC/boinc/tree/client_release/7/7.6
> 
>> The PR link also has my eventual discovery of a simple,
>> programmatic way to handle running the appropriate xhost commands
>> that addresses all of these concerns. As usual, perusal of the
>> documentation is the best cure for ignorance. From "man 5
>> xsession":
> 
> wonderful!
> 
>> Because the order in which the various scripts in 
>> /etc/X11/Xsession.d are executed is important, files to be added
>> to this directory should have a well-formed name.  The following
>> format is recommended:
> 
>> $ cat /etc/X11/Xsession.d/35x11-common_xhost-local $ cat
>> /etc/X11/Xsession.d/36x11-common_xhost-boinc
> 
> do we really need two files?
> 
> This works for me. Logging in as other users --and logging out/back
> in as my normal user-- shows the boinc user in the acl list when
> just running "xhost".
> 
>> (Fedora and other distributions seem to have a similar setup in 
>> /etc/X11/xinitrc/xinitrc.d/.)
> 
> 
> ok
>> This gives boinc access to DISPLAYs as they come and go. My PR
>> just polls the displays found in /tmp/.X11-unix/ periodically, so
>> there's no need for bouncing the boinc client. And finally, since
>> it polls periodically, boot order (for idle detection at least,
>> can't speak for other issues) isn't a problem.
> 
> 
> yes, no problem for this
> 
> I think I committed it right here 
> http://anonscm.debian.org/cgit/pkg-boinc/boinc.git/commit/?id=a854682b
57ea3345d684ca9b3a46079730be8d59
>>
> 
Yay!
> 
> 
> +1
> 
> I'm really happy this old old problem seems to be finally fixed! 
> thanks a lot!!! It is committed and I'll upload on
> debian/experimental shortly.
> 
> cheers!
> 
> (unstable upload will be performed as soon as a new tarball is out,
> to avoid having too many patches on our packaging. let me know if
> you want an unstable upload right now)
> 
> Gianfranco
> 

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJWiaGiAAoJEFpzcfOOuHp0j8cQAOTiWrJAZPkcBwpJk+D2NKYH
tFdesLv++dluqldEH1Ccd5qqK7yuhzmur1qjcS+jfy/Hetd+n7geMvt9Cp0Mf2DH
DHEPxLUCoCssFJCvlFSx5zBLD6i9+rckb6LMKv8QJKidoqK0YeqdL61Hlshc/CEb
Y/RuL1dDynKutG+V/v732Q2f50fRGC+nDlZiX5Zy1U8r69MSttXB4cqm3T4s7Ku1
IzrkMIv2ZeagB6Mgc1llQveCHKfaLFVRO+dnpcF1VZ4kNAVJBAesVThRdyMzvGG4
kZbVBGVQEMSWwjYqC/kfjKcV+bj8FdBHcA5AL4M6vjtAzZmiaD2mJA4G/eLokU1x
gfmQNWUOFVJePkXkoLOmnrYVuhsYerMWmF0I47gaYIpAYNeu9/kn/kKIhqTN/OYf
4FDhoYQWlvbatiux0rO8OWDBhw4oY6ZPXOHC6hgO6Ysrd3ScX542Tua96NmG59x0
ZmPV+0/HbmOrHQ8X5/pq5tr81uYyZi5xzPXUb4O+YOt/mUmsBqpe6u2vl6NMKuqx
a2bv7vmVqHnyCI81eyNuPi/zXUL4zlBPlUUEZYK4bAoyn0RrUMDSBOP6yuzQYJ/i
3OL9q535IxmnJHd24d3w510Q2KFknIlh6cxSb8h9vcTZNeabaqDDno+L8fU8vwxw
RHi+u58UjLEbTammU//I
=snJw
-----END PGP SIGNATURE-----


-- 
pkg-boinc-devel mailing list
pkg-boinc-devel at lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-boinc-devel



More information about the pkg-boinc-devel mailing list