Red Hat Bugzilla – Bug 850040
Introduce new systemd-rpm macros in autofs spec file
Last modified: 2012-09-17 19:11:04 EDT
Fedora 18 changes the way how to work with services in spec files. It introduces new macros - %systemd_post, %systemd_preun and %systemd_postun; which replace scriptlets from Fedora 17 and older (see https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Systemd, https://bugzilla.redhat.com/show_bug.cgi?id=850016).
So what should be done in this case in %post, since autofs is
permitted to be enable by default?
AFAICS the predefined macro doesn't do this.
Thank's for the information. Simply use the %systemd_post, autofs will be added to the presets as enabled.
autofs-5.0.7-2.fc18 has been submitted as an update for Fedora 18.
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing autofs-5.0.7-2.fc18'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
autofs-5.0.7-2.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.