Description of problem: When running systemctl status foo the ouput does not replace the specier with it's value. For example ExecStart with %i in the paths Version-Release number of selected component (if applicable): systemd-24-1.fc15.x86_64 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
This is actually a feature. Wildcards are only replaced at time of execution, not at reload, and we want to make that clear. That means if you use "systemctl set-environment" or edit a file specified in EnvironmentFile the changes will apply on next start of your service, not only when you reload systemd. If we would do wildcard expansion also on "systemctl" the output could get very confusing, since what is executed is not necessarily what we show. So I think we shouldn't try to do this.