Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 1517456

Summary: Missing "EnvironmentFile" directive in systemd file
Product: [Fedora] Fedora EPEL Reporter: Jan van Eldik <Jan.van.Eldik>
Component: boinc-clientAssignee: Laurence Field <Laurence.Field>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel7CC: germano.massullo, Laurence.Field, xjakub
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-01 08:46:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Jan van Eldik 2017-11-25 14:48:17 UTC
Description of problem:

A missing line "EnvironmentFile=/etc/sysconfig/boinc-client" in the file
/usr/lib/systemd/system/boinc-client.service means that the user can no
longer set environment variables. 

Version-Release number of selected component (if applicable):

boinc-client-7.6.22-7.el7

Additional info:

Adding the line (see below) allow me to successfully set the env. variables:



[Unit]
Description=Berkeley Open Infrastructure Network Computing Client
Documentation=man:boinc(1)
After=network-online.target

[Service]
Type=forking
Nice=10
User=boinc
WorkingDirectory=/var/lib/boinc
EnvironmentFile=/etc/sysconfig/boinc-client
ExecStart=/usr/bin/boinc_client --daemon --start_delay 1
ExecStop=/usr/bin/boinccmd --quit
ExecReload=/usr/bin/boinccmd --read_cc_config
ExecStopPost=/bin/rm -f /var/lib/boinc/lockfile
IOSchedulingClass=idle

[Install]
WantedBy=multi-user.target

Comment 1 Jan van Eldik 2018-06-01 08:46:21 UTC
Issue being tracked upstream https://github.com/BOINC/boinc/issues/2255