Unsuccessful install on Fedora 32

Moderators: Site Moderators, FAHC Science Team

Post Reply
joarvat
Posts: 1
Joined: Mon Oct 05, 2020 7:31 am

Unsuccessful install on Fedora 32

Post by joarvat »

When trying to install via terminal I get:
sudo rpm -i --nodeps fahclient-7.6.13-1.x86_64.rpm
Starting fahclient ... FAIL
when installing package with Dolphin, I get a message about wrong GPG signature.

Ideas anyone?
gunnarre
Posts: 567
Joined: Sun May 24, 2020 7:23 pm
Location: Norway

Re: Unsuccessful install on Fedora 32

Post by gunnarre »

Check /var/lib/fahclient/log.txt Sometimes the service starter says "FAIL" even if it successfully started.

What if you leave out "--nodeps"?

Edit: Lib, not log
Last edited by gunnarre on Thu Oct 08, 2020 6:32 am, edited 1 time in total.
Image
Online: GTX 1660 Super, GTX 1080, GTX 1050 Ti 4G OC, RX580 + occasional CPU folding in the cold.
Offline: Radeon HD 7770, GTX 960, GTX 950
Whompithian
Posts: 39
Joined: Thu Jun 25, 2020 12:40 am

Re: Unsuccessful install on Fedora 32

Post by Whompithian »

I believe the error is because the install script expects to get a success message from OpenRC, which is not used on recent Fedora. So, even though systemd translates the init script and starts it successfully, the install script reports failure.

I don't have much faith in the supplied init script to run under systemd, though. On CentOS 8.2, I install with the following command:

Code: Select all

sudo rpm -i --nodeps --noscripts --notriggers fahclient-7.6.13-1.x86_64.rpm
I then issue the following:

Code: Select all

sudo systemctl edit --force --full FAHClient.service
and fill out the new systemd unit file as follows:

Code: Select all

[Unit]
Description=Folding@home V7 Client
 
[Service]
Type=simple
User=fahclient
Group=fahclient
WorkingDirectory=/var/lib/fahclient
ExecStart=/usr/bin/FAHClient --config=/etc/fahclient/config.xml --chdir=/var/lib/fahclient/
PrivateTmp=yes
 
[Install]
WantedBy=multi-user.target
Finally, enable it:

Code: Select all

sudo systemctl start FAHClient.service
sudo systemctl enable FAHClient.service
There are other variants of the unit file linked in these fora. Also, if you need to check the log, it is under "/var/lib/fahclient/log.txt" on Red Hat based systems, not under "/var/log/".
Post Reply