Bug 252255
Summary: | anacron unhappy on a startup about connection to hald due to ordering | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Michal Jaegermann <michal> |
Component: | anacron | Assignee: | Marcela Mašláňová <mmaslano> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | rawhide | CC: | jik, s.adam |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-08-17 10:30:20 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Michal Jaegermann
2007-08-14 22:39:19 UTC
Thanks for report. I moved anacron after hald. *** Bug 252166 has been marked as a duplicate of this bug. *** *** Bug 252454 has been marked as a duplicate of this bug. *** > I moved anacron after hald.
No quite, I am afraid. Until you will do
/sbin/chkconfig --del anacron
/sbin/chkconfig --add anacron
old links /etc/rc.d/rc.?d/S95anacron stay and a problem is still there.
You could do the above in %post - say conditionally if one
of /etc/rc.d/rc.?d/S95anacron links exist. Something like that:
for l in /etc/rc.d/rc.?d/S95anacron ; do
[ -h $l ] || continue
mv $l ${l%95anacron}"99anacron"
done
That should handle safely also situations when anacron was turned off.
Strictly speaking instead of "/etc/rc.d" above likely an ouput
of "dirname %{_initrdir}" should be used.
Thank you, it was really helping. I believe the only macros, which can be used in spec file could be found in /usr/share/doc/rpm-4.4.2/macros and %{_initrdir} isn't there. > I believe the only macros, which can be used in spec file
> could be found in /usr/share/doc/rpm-4.4.2/macros
I really do not know what formal requirements are here and besides I
made a typo. It is %_initrddir and you can find it in an output
of 'grep -r _initrddir /usr/lib/rpm/' and 'rpm --showrc' defined
in terms of %{_sysconfdir}. Possibly the later one should be there
instead.
|