[systemd-devel] Query regarding "EnvironmentFile"
Jóhann B. Guðmundsson
johannbg at gmail.com
Mon Dec 21 06:08:32 PST 2015
On 12/21/2015 01:30 PM, Reindl Harald wrote:
> ExecStart=/path/to/daemon FOO would cut you from distro-changes in
> other params and explained abvoe sooner or later lead in failing and
> could even be security relevant depending on new options or removed
> options in the distro-unit
You do realize you have the exact same chances with an environment entry
line do you not?
The options being used there could be deprecated in the daemon startup
and for those daemon/services that are capable of reading their own
configuration files ( and thus those environment lines are not
applicable to ) are never changed on updates..
When an administrators makes a change to an configuration ( or in this
case type unit ) he is stating that he's deviating from the
distributions shipped defaults for that components and since there is no
reliable way for a system to detect and determine manual changes in
configuration, there is always the risk that an update will break
running system ( the administrators made changes ) which is why the
configuration files for a running daemon/service are saved as copy's and
the administrator who has made the deviation is expected to review and
apply those changes himself.
JBG
More information about the systemd-devel
mailing list