Red Hat Bugzilla – Bug 1255210
systemd in older Fedora releases needs .service suffix
Last modified: 2015-10-20 23:25:34 EDT
Description of problem:
Recent versions of systemd will assume a suffix of .service when you specify a unit name with no suffix, for example:
systemctl enable beah-srv
is equivalent to
systemctl enable beah-srv.service
However older versions did not have this heuristic.
Bug 1202075 has made it possible to provision EOL'ed Fedora releases, and in testing that we discovered this next problem affecting Fedora 17-19.
Version-Release number of selected component (if applicable):
easily, with the patch for bug 1202075
Steps to Reproduce:
1. Provision Fedora 19 with ks_meta="no_updates_repos"
Tasks never start because in kickstart %post, beah services fail to be enabled:
+ systemctl enable beah-srv
Operation failed: Invalid argument
Kickstart %post succeeds, beah services are enabled and recipe runs successfully.
This is essentially an RFE in the sense that we have never tried to support EOL'ed Fedora releases before.
I'm not sure if it's a good idea to cram this into 21.0, given that it affects every single generated kickstart. I am more inclined to leave this for 21.1 (or even 22.0?) and call bug 1202075 done based on the fact that it got past the first error, even though F17-19 are still not able to be provisioned due to this bug.
Beaker 21.1 has been released.