Description of problem:
# LANG=C timedatectl
Failed to query server: Input/output error
Version-Release number of selected component (if applicable):
It worked before.
Created attachment 1163775 [details]
strace -f timedatectl
Looks like a there is a clashing BusName=org.freedesktop.timedate1 in /usr/lib/systemd/system/timedatex.service and /usr/lib/systemd/system/systemd-timedated.service
How do I fix this?
(In reply to Juan Orti from comment #2)
> How do I fix this?
# systemctl mask systemd-timedated
# systemctl stop systemd-timedated
In https://bugzilla.redhat.com/show_bug.cgi?id=1187072, timedatex.service was enabled in by default. timedatex.service should include Conflicts=systemd-timedated.
Ok, masking that unit fixes the problem. Thank you.
The timedatex package includes a symlink which masks systemd-timedated by default. Was the symlink removed? Maybe something related to presets?
This problem happened after I did a failed dnf upgrade to f24 which ended with many duplicate packages from f23 and f24. As I did a btrfs rollback of the root filesystem I thought everything was ok, but maybe I messed up things playing with the dnf command.
I've just verified that after installing F23, fully updating it and updating to F24 still leaves systemd-timedated masked.