Summary: | Reloading systemd config causes ExecStartPre in unchanged units to run more than once | ||
---|---|---|---|
Product: | systemd | Reporter: | Jonathan Short <jonathan.short> |
Component: | general | Assignee: | systemd-bugs |
Status: | RESOLVED FIXED | QA Contact: | systemd-bugs |
Severity: | normal | ||
Priority: | medium | CC: | jonathanboulle |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Jonathan Short
2014-10-17 19:29:50 UTC
Yeah, this is a known issue, but I am not sure what the correct behaviour is if the unit files are modified: try to rememebr the number of the ExecStartPre= line we were last processing? Try to find it again by comparing the whole command line (but what would we do if we don#t find it?)? I think it's fine (and better) to rerun if unit file has changed. Shouldn't it call stop on previous unit, before running the updated one? (In reply to Kane Kim from comment #2) > I think it's fine (and better) to rerun if unit file has changed. Shouldn't > it call stop on previous unit, before running the updated one? Well, I am pretty sure we shouldn't trigger per-daemon restarts if the user just wants to reload systemd's own configuration. This has been fixed in v234. Closing. |
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.