Red Hat Bugzilla – Bug 707877
hwclock-save.service lacks [Install] section
Last modified: 2011-05-30 07:36:21 EDT
$ systemctl enable hwclock-save.service
Unit files contain no applicable installation information. Ignoring.
I believe adding following section to /lib/systemd/system/hwclock-save.service should fix the problem:
If this is really a problem, I'd suggest to audit all systemd services and add this section where missing.
in git this service is removed
WONTFIX for two reasons:
1. The service is going away, as Harald mentioned.
2. It is valid to not have an [Install] section if the administrator is not
expected to enable/disable the service. hwclock-save.service is always
pulled in from shutdown.target using the symlink
(BTW, the administrator can still force a service like this to be disabled
using the masking mechanism - symlinking the service name in
/etc/systemd/system to /dev/null)
It may be fixed in git, but it's still not fixed in F15.
I'm running latest packages (incl. updates-testing).
Please keep it open until the change gets into F15.
You must have misunderstood the 2nd reason in comment #2.
It makes no sense to do "systemctl enable hwclock-save.service".