link to global_prefs_override.xml when installing

Christian Beer djangofett at gmx.net
Fri Nov 22 10:39:36 UTC 2013


Hi Gianfranco,

the main problem here is the upstream behaviour. At the moment the
client just looks for the file and parses it. For every value it can't
find it uses the default. So it expects the file to contain meaningfull
elements. An empty file like in the boinc-client package triggers the
defaults after every install.

For the moment I consider this a bug in the boinc-client package.
Removing the symlink would be a first step and upstream has to come up
with a better behaviour for an empty file and after this the symlink can
be put in place. But than still the behaviour of the manager is that
when I click delete local preferences the symlink is removed and never
restored. To fix this the debian boinc-manager needs a feature patch for
this function. I don't know if this is desirable.

I'm also wrapped up with the VirtualBox wrapping stuff over at RNA World
at the moment so I can't help you much.

Regards
Christian

Am 22.11.2013 10:42, schrieb Gianfranco Costamagna:
> Hi Christian, sorry for the long delay
>
>
> this should be the content of our global_prefs_override.xml file
> <!--
> This configuration file global_prefs_override.xml for the BOINC core client
> can be used to override global preferences locally. For a complete list of
> all preferences which can be overridden see:
> http://boinc.berkeley.edu/trac/wiki/PrefsOverride
> -->
> <global_preferences>
> </global_preferences>
>
>
> So by default boinc has larger values than yours...
>
> I honestly don't know how to fix this, removing the symlink is not ideal as you said...
>
> You have a good knowledge about boinc, what about joining pkg-boinc on alioth and help us in fixing bugs? :)
>
> the file is on debian/conffiles/
> and it is linked in boinc-client.postint file
>
>
> Bests,
>
> Gianfranco
>
>
>
>
>> Il Sabato 19 Ottobre 2013 15:06, Christian Beer <djangofett at gmx.net> ha scritto:
>>> Hi,
>> I just updated my boinc packages from Sid and recognized that the client
>> used the global_prefs_override.xml file. I haven't specified anything so
>> I wondered what happened. I quickly deleted the file using the BOINC
>> Manager so I don't know if this was a symlink or a file that comes with
>> the package.
>>
>> Nevertheless this shouldn't happen. In my case I downloaded lots of work
>> for Einstein at home after the update because the override had a larger
>> buffer setting than my normal preferences. So in future packages please
>> don't place a symlink or a file from
>> /var/lib/boinc-client/global_prefs_override.xml to
>> /etc/boinc-client/global_prefs_override.xml (the later is provided by
>> the package) I know this is not ideal because the manager doesn't create
>> the symlink again and creates a new file in /var/lib/boinc-client when
>> changing local preferences via BOINC Manager.
>>
>> Maybe rename the file in /etc/boinc-client/ to
>> example_global_prefs_override.xml but than the user would just rename
>> the file but it would have no effect because the client looks in the
>> wrong place.
>>
>> Regards
>> Christian
>>
>> -- 
>> 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