Where is the cc_config.xml file suppose to live?

Message boards : Questions and problems : Where is the cc_config.xml file suppose to live?
Message board moderation

To post messages, you must log in.

AuthorMessage
Keithsplace

Send message
Joined: 28 Feb 16
Posts: 30
United States
Message 113368 - Posted: 14 Jan 2024, 6:58:51 UTC

Where is the cc_config.xml file suppose to reside?
When I edit my computing preferences and click save, it seems to take it but the preferences do not take.
Then when I looked at it again it says the the cc_config file was not found.
In other words Run Always and run based on preferences don't work.
I'm using Garuda Linux 6.6..10-zen-1zen(x86_64)

I could make the .xml file but I would need to know the format or template, and where to put it so that manager finds it.
The .boinc folder is in my /home folder. Other folder is in /user/bin it has a lot of xml files in it but nothing labled
cc_config.xml
Win11 x64-Asus AMD 2.7GHzX4-16GB-GT730 2GB
Garuda x64-ASUS-Intel 2.7GHzX4-8GB-GT450
Mint21.3 x64-Xeon 2.4GHzX4-32GB-nVidia GT730 2GB
Garuda Linux x64-Intel-2.1GHz-8GB
OMV-7 x64-NAS-i3-3.6GHz-32GB-29TB
ID: 113368 · Report as offensive
Profile Keith Myers
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 17 Nov 16
Posts: 871
United States
Message 113369 - Posted: 14 Jan 2024, 7:29:42 UTC - in response to Message 113368.  

The config file belongs in the BOINC folder. So wherever that is on your Linux distro. Most put that in /var/lib/boinc or /etc/boinc-client
ID: 113369 · Report as offensive
Bryn Mawr
Help desk expert

Send message
Joined: 31 Dec 18
Posts: 286
United Kingdom
Message 113372 - Posted: 14 Jan 2024, 10:44:23 UTC

If you go into options and change one of the log reporting flags then it will create a config file for you. I generally turn sched_ops on as the info is useful but not too many lines.
ID: 113372 · Report as offensive
Keithsplace

Send message
Joined: 28 Feb 16
Posts: 30
United States
Message 113474 - Posted: 27 Jan 2024, 22:58:27 UTC - in response to Message 113369.  

Thanks,
I run several different distro's some preferences work some don't one old one with a very old GPU rarely ever does follow prefs no matter what I do.
Most of my Linux mint machines run it fine
FFR- Garuda Linux (new for me) the main boinc folder I found in /var/lib/boinc there are other executable files, BOINC is in /home/username,
boinc_client, boinccmd, and boincmgr reside in the /user/bin folder,
I just droped a cc_config.xml file I coppied from another PC into the /var/lib/boinc.
Will test and see if preferences take with that.
Win11 x64-Asus AMD 2.7GHzX4-16GB-GT730 2GB
Garuda x64-ASUS-Intel 2.7GHzX4-8GB-GT450
Mint21.3 x64-Xeon 2.4GHzX4-32GB-nVidia GT730 2GB
Garuda Linux x64-Intel-2.1GHz-8GB
OMV-7 x64-NAS-i3-3.6GHz-32GB-29TB
ID: 113474 · Report as offensive
Profile Keith Myers
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 17 Nov 16
Posts: 871
United States
Message 113476 - Posted: 27 Jan 2024, 23:33:58 UTC - in response to Message 113474.  

If /var/lib/boinc is also where the project folders are . . . that is the correct location.
ID: 113476 · Report as offensive
Keithsplace

Send message
Joined: 28 Feb 16
Posts: 30
United States
Message 113539 - Posted: 3 Feb 2024, 17:00:34 UTC - in response to Message 113474.  
Last modified: 3 Feb 2024, 17:07:51 UTC

YES, the file cc_config file resides in the /var/lib/boinc.
Well the copy and paste of cc_config.xml file from another liux machine did not work. Boinc still ran fine but it still didn't follow preferences.
Let it run few days and nothing. Then when I went back into to check the file, it said it was corrupt.
So I tried the basic cc_config.xml file dropped into /var/lib/boinc
This is a minimal configuration file cc_config.xml of the BOINC core client.
For a complete list of all available options and logging flags and their
meaning see: https://boinc.berkeley.edu/wiki/client_configuration
-->
<cc_config>
  <log_flags>
    <task>1</task>
    <file_xfer>1</file_xfer>
    <sched_ops>1</sched_ops>
  </log_flags>
</cc_config>


This didn't seem to work either. Tried setting prefferences again and it doesn't change the file.
It's like manager doesn't know where to look for file or or is not creating or generating the file.
This particular PC I ma work on this is a Lenovo laptop, which I know is not going to do GPU tasks.
Running Garuda w/Linux 6.7.3-zen1-zen kernel, which is an arch fork from what I gather.
Installed with pamac
Boinc 7.24.1 (x64)
I beleive the download came from chaotic-aur repository

I get this behavior on 2 different PC's where preferences don't take or follow.
The other is an older Box Running Linux Mint with Linux 6.2.0-39 at the moment. but this box has always had same thing.
Kernel and Mint have updated and upgraded through several Mint versions and kernel updates/upgrades.
it is running Boinc 7.22.1 (x64) with Intel Xeon and nVidia GT-730 GPU
I beleive this one runs in Flatpak
On this one all the xml files are in the
/var/lib/boinc-client
folder.
I couldn't find any xml files in any of flatpak folders pertaining to Boinc.
I'd be willing to try some things if someone has a suggestions.
[/code]
Win11 x64-Asus AMD 2.7GHzX4-16GB-GT730 2GB
Garuda x64-ASUS-Intel 2.7GHzX4-8GB-GT450
Mint21.3 x64-Xeon 2.4GHzX4-32GB-nVidia GT730 2GB
Garuda Linux x64-Intel-2.1GHz-8GB
OMV-7 x64-NAS-i3-3.6GHz-32GB-29TB
ID: 113539 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15490
Netherlands
Message 113540 - Posted: 3 Feb 2024, 17:59:55 UTC - in response to Message 113539.  

Tried setting prefferences again and it doesn't change the file.
Which preferences did you try to change?
cc_config.xml holds debug flags and advanced options for running of apps, making log files and steering of GPUs. It does not hold the preferences from the preferences menu or the website. Those are stored in global_pref.xml (for preferences from the website) and global_prefs_override.xml (for preferences from BOINC Manager).
ID: 113540 · Report as offensive
Profile Keith Myers
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 17 Nov 16
Posts: 871
United States
Message 113541 - Posted: 3 Feb 2024, 22:12:30 UTC

The BOINC data directory location is always printed out in the beginning of the stdoutdae.txt file, IOW the BOINC Event Log.

If you can find that file, it will tell you where BOINC thinks its data directory is located.

As Jord states, client and project preferences are in the global_prefs and global_prefs_override xml file in the data directory.
ID: 113541 · Report as offensive

Message boards : Questions and problems : Where is the cc_config.xml file suppose to live?

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.