Linux install script: safety upgrade #5811
Replies: 10 comments 2 replies
-
But that is a valid error: no project application should ever access any other folder except 'projects' and 'slots/N'. |
Beta Was this translation helpful? Give feedback.
-
I disagree. It is good programming etiquette to anticipate potential errors, and mitigate their potential effect. Especially when making changes to established custom and practice ... |
Beta Was this translation helpful? Give feedback.
-
A good etiquette is to create a software that doesn't violate security, and here GPUGrid obviously failed. |
Beta Was this translation helpful? Give feedback.
-
So that we can contribute positively to scientific research? |
Beta Was this translation helpful? Give feedback.
-
Ok to follow your logic: why we are running BOINC on Linux under special 'boinc' user with limited permissions if we can allow running it with sudo? |
Beta Was this translation helpful? Give feedback.
-
Many private (non-commercial) volunteers do that already. They have to have sudo access, because they don't have the backup of a professional sysadmin service to do it for them. |
Beta Was this translation helpful? Give feedback.
-
I am very sorry but I don't support this. |
Beta Was this translation helpful? Give feedback.
-
Just as a reference: https://www.ncsc.gov.uk/information/secure-default# |
Beta Was this translation helpful? Give feedback.
-
Well, you can see what you think of https://www.gpugrid.net/forum_thread.php?id=5428&nowrap=true#61811 Closing this conversation for now - my domestic electricity supply is about to be turned off (for an upgrade - not because I haven't paid my bill!) |
Beta Was this translation helpful? Give feedback.
-
thanks for finding this @RichardHaselgrove We use cupy in one of the GPUGRID apps. You can see here it has default values for this runtime environmental variable: This one in particular looks to be set to We use the boinc wrapper to run the python code. I can change the app to set the variable to the current running dir. |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
The new install script places the data directory at '/var/lib/boinc': previous repository installations have often used '/var/lib/boinc-client'.
I have now come across a project application - Quantum Chemistry at GPUGrid - which has the boinc-client version hard-coded in its cuda compile script. That's stupid, of course, but not under our direct control. The tasks fail with:
FileNotFoundError: [Errno 2] No such file or directory: '/var/lib/boinc-client/.cupy'
, from https://www.gpugrid.net/results.php?hostid=625407&offset=0&show_names=0&state=5&appid=47Suggestion
Many of the distro repo versions created a folder redirect entry at '/var/lib/boinc', to catch similar errors and redirect them to boinc-client. We should do the same in reverse - catching boinc-client and redirecting it to plain boinc. I have done that on the failing machine, and it is producing valid completions now.
System Information
Beta Was this translation helpful? Give feedback.
All reactions