Bug 1227532 - BOINC not connecting to localhost
Summary: BOINC not connecting to localhost
Status: NEW
: 1227585 (view as bug list)
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other (show other bugs)
Version: Current
Hardware: x86-64 openSUSE Tumbleweed
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-08 21:18 UTC by Salim Anbar-Colas
Modified: 2024-07-14 05:39 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Salim Anbar-Colas 2024-07-08 21:18:17 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
Comment 1 hui 2024-07-09 16:36:55 UTC
*** Bug 1227585 has been marked as a duplicate of this bug. ***
Comment 2 Pieter v 2024-07-14 05:39:13 UTC
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