Summary: | Environment file parser gets confused by comments | ||
---|---|---|---|
Product: | systemd | Reporter: | Alain Kalker <a.c.kalker> |
Component: | general | Assignee: | Zbigniew Jedrzejewski-Szmek <zbyszek> |
Status: | RESOLVED FIXED | QA Contact: | systemd-bugs |
Severity: | normal | ||
Priority: | medium | CC: | a.c.kalker, philantrop, zbyszek |
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
service file used for debugging
output of `systemctl status lm_sensors.service` after failure /etc/conf.d/lm_sensors failing output of `systemctl status lm_sensors.service` after success /etc/conf.d/lm_sensors working |
Created attachment 77899 [details]
output of `systemctl status lm_sensors.service` after failure
Created attachment 77901 [details]
/etc/conf.d/lm_sensors failing
Created attachment 77902 [details]
output of `systemctl status lm_sensors.service` after success
Created attachment 77903 [details]
/etc/conf.d/lm_sensors working
Thank's to sharing this news. if your want to entertain http://robloxfreerobuxgenerator.com your self then go to play this amazing robux online game, it is the best time taken place for all online user |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 77894 [details] service file used for debugging After installing lm_sensors package, I discovered that lm_sensors.service wasn't picking up its environment variables from its EnvironmentFile= directive. After some experimenting, I found that only the last environment variable defined in the environment file was non-blank. I found that the only way to ensure that all variables are set is to remove all comments (preceded by '#') from the environment file. As I'm not entirely sure what exactly in those comments is confusing systemd, I'm including a failing and a working environment file, as well as the service file I used for debugging.