Page 1 of 1

Unsuccessful install on Fedora 32

Posted: Mon Oct 05, 2020 7:42 am
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?

Re: Unsuccessful install on Fedora 32

Posted: Wed Oct 07, 2020 1:31 pm
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

Re: Unsuccessful install on Fedora 32

Posted: Thu Oct 08, 2020 6:11 am
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/".