← Back to team overview

aide team mailing list archive

Re: [Question #686207]: Déplacer CLIENT_DIR ?

 

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

    Status: Needs information => Open

manu gave more information on the question:
Thanks @m-hampl.

$ ls -ld /home/boinc-client
drwxr-xr-x 6 boinc boinc 4096 nov.  25 10:07 /home/boinc-client

$ cat /lib/systemd/system/boinc-client.service
[Unit]
Description=Berkeley Open Infrastructure Network Computing Client
Documentation=man:boinc(1)
After=network-online.target

[Service]
ProtectHome=true
Type=simple
Nice=10
User=boinc
WorkingDirectory=/home/boinc-client
ExecStart=/usr/bin/boinc
ExecStop=/usr/bin/boinccmd --quit
ExecReload=/usr/bin/boinccmd --read_cc_config
ExecStopPost=/bin/rm -f lockfile
IOSchedulingClass=idle

[Install]
WantedBy=multi-user.target

$grep boinc /etc/passwd
boinc:x:122:130:BOINC core client,,,:/home/boinc-client:/bin/false

When I add "--dir /home/boinc-client" to the ExecStart value in
/lib/systemd/system/boinc-client.service, followed by a systemctl
daemon-relaod I still get these messages in syslog :

Nov 25 10:15:31 localhost systemd[1]: Started Berkeley Open Infrastructure Network Computing Client.
Nov 25 10:15:31 localhost systemd[18824]: boinc-client.service: Changing to the requested working directory failed: No such file or directory
Nov 25 10:15:31 localhost systemd[18824]: boinc-client.service: Failed at step CHDIR spawning /usr/bin/boinc: No such file or directory
Nov 25 10:15:31 localhost systemd[1]: boinc-client.service: Main process exited, code=exited, status=200/CHDIR
Nov 25 10:15:31 localhost systemd[18828]: boinc-client.service: Changing to the requested working directory failed: No such file or directory
Nov 25 10:15:31 localhost systemd[18828]: boinc-client.service: Failed at step CHDIR spawning /bin/rm: No such file or directory
Nov 25 10:15:31 localhost systemd[1]: boinc-client.service: Control process exited, code=exited status=200
Nov 25 10:15:31 localhost 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.