Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 698755 - RFE: EnvironmentFile= is missing support for specifiers
RFE: EnvironmentFile= is missing support for specifiers
Product: Fedora
Classification: Fedora
Component: systemd (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Lennart Poettering
Fedora Extras Quality Assurance
Depends On:
Blocks: 695736
  Show dependency treegraph
Reported: 2011-04-21 13:23 EDT by Jóhann B. Guðmundsson
Modified: 2011-07-14 08:44 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2011-07-14 08:44:59 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jóhann B. Guðmundsson 2011-04-21 13:23:21 EDT
Description of problem:

Using for example 

EnvironmentFile=/etc/sysconfig/service-%i <-- Does not work 


Template services cant use their own environment files  

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


How reproducible:


Steps to Reproduce:
1. Create an service that uses an service template with the above mention EnvironmentFile=/path/to/file-%i
Actual results:

systemd[1]: Failed to load environment files: No such file or directory

Expected results:

Having the ablity to allow each template service having it's own corresponding environment file

Additional info:

We are unable to port 389 Directory server to a native systemd ones until this get fixed since each service instance needs to have it's own configurable environmentfile
Comment 1 Lennart Poettering 2011-07-12 22:02:40 EDT
This is fixed in systemd git btw.
Comment 2 Lennart Poettering 2011-07-14 08:44:59 EDT
And fixed in Rawhide now too.

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