[Bug 1966181] Re: ipa-client-install fails on restarting non-existing chrony.service
** Changed in: freeipa (Debian) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1966181 Title: ipa-client-install fails on restarting non-existing chrony.service To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/freeipa/+bug/1966181/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1966181] Re: ipa-client-install fails on restarting non-existing chrony.service
A-ha! I wasn't seeing things after all. Our test images install the "systemd-timesyncd" package (as we also run tests against that), and that removes the chrony package and installs the mask: # apt install systemd-timesyncd Reading package lists... Done Building dependency tree... Done Reading state information... Done The following packages will be REMOVED: chrony The following NEW packages will be installed: systemd-timesyncd 0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded. Need to get 30.8 kB of archives. After this operation, 364 kB disk space will be freed. Do you want to continue? [Y/n] y Get:1 http://archive.ubuntu.com/ubuntu impish-updates/main amd64 systemd-timesyncd amd64 248.3-1ubuntu8.2 [30.8 kB] Fetched 30.8 kB in 0s (82.3 kB/s) dpkg: chrony: dependency problems, but removing anyway as you requested: systemd depends on systemd-timesyncd | time-daemon; however: Package systemd-timesyncd is not installed. Package time-daemon is not installed. Package systemd-timesyncd which provides time-daemon is not installed. Package chrony which provides time-daemon is to be removed. # ls -l /etc/systemd/system/chrony.service lrwxrwxrwx 1 root root 9 Mar 24 12:16 /etc/systemd/system/chrony.service -> /dev/null Mystery solved! So, sorry for the noise! ** Changed in: freeipa (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1966181 Title: ipa-client-install fails on restarting non-existing chrony.service To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/freeipa/+bug/1966181/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1966181] Re: ipa-client-install fails on restarting non-existing chrony.service
Hello Timo, I'm not actually sure where these /etc/systemd/system/chrony* files come from (in particular the mask). They are not owned by any package, nor does chrony's postinst seem to create it (but maybe through a helper, they are not exactly simple -- some weird interaction with the SysV compat code?). The chronyd.service link is created by the Alias=chronyd.service in chrony.service, and systemd creates that when enabling the service. My debian-testing VM has that chrony.service → /dev/null mask link right after a fresh install and boot, no IPA script was running yet. But I just saw that I apparently mixed up my VMs when reporting this here -- my ubuntu-stable VM does not have chrony installed at all (even though freeipa-client recommends it, and I don't use --no-install-recommends). I'll investigate this more thoroughly, chase down what creates that pesky chrony.service masking, and report back here. Thanks, and sorry for the noise so far! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1966181 Title: ipa-client-install fails on restarting non-existing chrony.service To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/freeipa/+bug/1966181/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1966181] Re: ipa-client-install fails on restarting non-existing chrony.service
Hi, chrony.service is masked for some reason? And I can't find chronyd.service file shipped by any package, so dunno why systemctl thinks it's available. There is code to disable chrony in a particular case during uninstall, but everything should work fine if you have a clean install. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1966181 Title: ipa-client-install fails on restarting non-existing chrony.service To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/freeipa/+bug/1966181/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1966181] Re: ipa-client-install fails on restarting non-existing chrony.service
** Changed in: freeipa (Debian) Status: Unknown => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1966181 Title: ipa-client-install fails on restarting non-existing chrony.service To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/freeipa/+bug/1966181/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs