Description of problem:
Using yum update distro-sync from FC14 to FC15 doesn't leave
you with acpid, smartd, hwclock, readahead services enabled.
(and cron too, see https://bugzilla.redhat.com/show_bug.cgi?id=735802)
Version-Release number of selected component (if applicable):
systemd-26-9.fc15.i686
How reproducible:
100%
Steps to Reproduce:
1.yum --releasever=15 --disableplugin=presto distro-sync
2.yum groupinstall Base
3.grub-install /dev/whatever
4.sync; sync; reboot -f
Actual results:
ls -l /.readahead - file doesn't exist
ps -ef|grep acpid - not running
ps -ef|grep smartd - not running, despite enabled in /etc/rc*.d
Expected results:
If running before the upgrade they should be running after
Additional info:
These workaround the problem:
---
mkdir -p /etc/systemd/system/default.target.wants
ln -s /lib/systemd/system/systemd-readahead-collect.service /etc/systemd/system/default.target.wants/systemd-readahead-collect.service
ln -s /lib/systemd/system/systemd-readahead-replay.service /etc/systemd/system/default.target.wants/systemd-readahead-replay.service
mkdir -p /etc/systemd/system/sysinit.target.wants
ln -s /lib/systemd/system/hwclock-load.service /etc/systemd/system/sysinit.target.wants/hwclock-load.service
ln -s /lib/systemd/system/acpid.service /etc/systemd/system/multi-user.target.wants/acpid.service
ln -s /lib/systemd/system/smartd.service /etc/systemd/system/multi-user.target.wants/smartd.service
---
See https://bugzilla.redhat.com/show_bug.cgi?id=735802 for the cron workaround.
I suspect these (and the cron workaround) should be mentioned
in the distro-sync to FC15 section of the upgrade notes as they
will affect every upgrade.
There may be other services similary affected; these are just the ones
I've spotted in my travels so far.
This is a bug in the scripts for the converted services - please file against them.
Comment 2Lennart Poettering
2011-09-21 17:59:37 UTC
hwclock is unnecessary since PID 1 calls the one necessary ioctl anyway.
readahead got obsoleted by systemd's readahead implementation.
For the others please file individual bugs against those packages.
I got the hwclock, readahead etc links from a freshly installed FC15 system;
they were missing on my distro-sync upgraded one.
The readahead link is for the new systemd based readahead implementation.