← Back to team overview

aide team mailing list archive

[Question #686207]: Déplacer CLIENT_DIR ?

 

New question #686207 on boinc in Ubuntu:
https://answers.launchpad.net/ubuntu/+source/boinc/+question/686207

Bonjour,

Comment doit-on procéder pour déplacer le dossier /var/lib/boinc-client ailleurs que dans /var, par exemple dans /home/boinc-client ?

Créer /home/boinc-client, le donner à boinc:boinc, modifier BOINC_DIR  dans /etc/default/boinc-client, mettre un lien symbolique de /var/lib/boinc-client sur /home/boinc-client, modifier WorkingDirectory dans /lib/systemd/system/boinc-client.service suivi de systemctl daemon-reload, modifier le home dir de boinc dans /etc/passwd : rien ne fonctionne.

Dans le syslog : 
Nov 23 11:46:54 sd-157532 systemd[1]: Started Berkeley Open Infrastructure Network Computing Client.
Nov 23 11:46:54 sd-157532 systemd[15221]: boinc-client.service: Changing to the requested working directory failed: No such file or directory
Nov 23 11:46:54 sd-157532 systemd[15221]: boinc-client.service: Failed at step CHDIR spawning /usr/bin/boinc: No such file or directory
Nov 23 11:46:54 sd-157532 systemd[1]: boinc-client.service: Main process exited, code=exited, status=200/CHDIR
Nov 23 11:46:54 sd-157532 systemd[15229]: boinc-client.service: Changing to the requested working directory failed: No such file or directory
Nov 23 11:46:54 sd-157532 systemd[15229]: boinc-client.service: Failed at step CHDIR spawning /bin/rm: No such file or directory
Nov 23 11:46:54 sd-157532 systemd[1]: boinc-client.service: Control process exited, code=exited status=200
Nov 23 11:46:54 sd-157532 systemd[1]: boinc-client.service: Failed with result 'exit-code'.

-- 
You received this question notification because your team Communauté
d'aide d'Ubuntu en Français is an answer contact for Ubuntu.