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 - Missing "EnvironmentFile" directive in systemd file
Summary: Missing "EnvironmentFile" directive in systemd file
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: boinc-client
Version: epel7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Laurence Field
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-25 14:48 UTC by Jan van Eldik
Modified: 2018-06-01 09:25 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-06-01 08:46:21 UTC


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.