Bugzilla – Bug 1227532
BOINC not connecting to localhost
Last modified: 2024-07-14 05:39:13 UTC
Boinc is unable to connect to localhost. Running sudo systemctl start boinc-client yields the following error: Failed to start boinc-client.service: Unit boinc-client.service has a bad unit file setting. See system logs and 'systemctl status boinc-client.service' for details Running systemctl status boinc-client.service yields the following: ○ boinc-client.service - Berkeley Open Infrastructure Network Computing Client Loaded: bad-setting (Reason: Unit boinc-client.service has a bad unit file setting.) Active: inactive (dead) Docs: man:boinc(1) Cat boinc-client.service yields the following: [Unit] Description=Berkeley Open Infrastructure Network Computing Client Documentation=man:boinc(1) After=network-online.target [Service] Type=simple EnvironmentFile=-/etc/sysconfig/boinc-client Nice=10 User=boinc ProtectHome=true ProtectSystem=full ProtectControlGroups=true ReadWritePaths=-$BOINC_BOINC_DIR WorkingDirectory=$BOINC_BOINC_DIR CPUSchedulingPolicy=batch Slice=background.slice boinc logs (with --redirectio) to stdoutdae.txt and stderrdae.txt #PermissionsStartOnly=yes #ExecStartPre=/bin/sleep 1 #ExecStartPre=/usr/bin/touch /var/log/boinc-client.log /var/log/boinc-client.err.log #ExecStartPre=/usr/bin/chown $BOINC_BOINC_USR:$BOINC_BOINC_GRP /var/log/boinc-client.log /var/log/boinc-client.err.log ExecStart=/usr/bin/boinc --dir $BOINC_BOINC_DIR $BOINC_BOINC_OPTS ExecStop=/usr/bin/boinccmd --quit ExecReload=/usr/bin/boinccmd --read_cc_config ExecStopPost=/bin/rm -f $BOINC_BOINC_DIR/lockfile [Install] WantedBy=multi-user.target
*** Bug 1227585 has been marked as a duplicate of this bug. ***
I followed the advice in bug 1227092 and changed the working directory, replacing $BOINC_BOINC_DIR in WorkingDirectory=$BOINC_BOINC_DIR with /var/lib/boinc After restarting the PC Boinc Manager started okay and it's now working again. Apparently there's going to be a change to revert back to the previous version. See build opensuse: https://build.opensuse.org/request/show/1186996