[Bug 1577596] Re: ntpd not started by systemd
On second thought, It maybe that ntp can't open port 123 since it's already opened by ntpdate. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577596 Title: ntpd not started by systemd To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/1577596/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577596] Re: ntpd not started by systemd
This problem occurs when the ntpdate package is also installed. Remove ntpdate and ntp starts correctly. This smells like there is some expectation of these being mutually exclusive. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577596 Title: ntpd not started by systemd To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/1577596/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577596] Re: ntpd not started by systemd
** Attachment added: "list-deps.txt" https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/1577596/+attachment/4654853/+files/list-deps.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577596 Title: ntpd not started by systemd To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/1577596/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577596] Re: ntpd not started by systemd
Attached. Also attached the output of `systemctl list-dependencies` in case that helps any. $ systemctl status ntp ntp.service - LSB: Start NTP daemon Loaded: loaded (/etc/init.d/ntp; bad; vendor preset: enabled) Active: inactive (dead) Docs: man:systemd-sysv-generator(8) May 03 19:28:45 Fusion systemd[1]: Stopped LSB: Start NTP daemon. May 03 19:28:48 Fusion systemd[1]: Stopped LSB: Start NTP daemon. $ systemctl is-enabled ntp ntp.service is not a native service, redirecting to systemd-sysv-install Executing /lib/systemd/systemd-sysv-install is-enabled ntp enabled ** Attachment added: "journal.txt" https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/1577596/+attachment/4654852/+files/journal.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577596 Title: ntpd not started by systemd To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/1577596/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577596] Re: ntpd not started by systemd
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: ntp (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577596 Title: ntpd not started by systemd To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/1577596/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577596] Re: ntpd not started by systemd
I cannot immediately reproduce that by installing ntp on 16.04, that works fine and starts both after package install and after reboot. I suppose that this causes a dependency cycle somewhere. Please do "sudo journalctl -b > /tmp/journal.txt" after a clean boot and attach /tmp/journal.txt. ** Changed in: systemd (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577596 Title: ntpd not started by systemd To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/1577596/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577596] Re: ntpd not started by systemd
** Changed in: ntp (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577596 Title: ntpd not started by systemd To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/1577596/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577596] Re: ntpd not started by systemd
I came across a box that was running Ubuntu 15.10 with ntpd. systemd was automatically starting ntpd on boot on that system: # systemctl status ntp ntp.service - LSB: Start NTP daemon Loaded: loaded (/etc/init.d/ntp) Active: active (running) since Sun 2016-04-24 14:48:26 EDT; 1 weeks 1 days ago Docs: man:systemd-sysv-generator(8) CGroup: /system.slice/ntp.service └─849 /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 106:115 Apr 24 14:44:41 host systemd[1]: Starting LSB: Start NTP daemon... Apr 24 14:44:41 host ntp[894]: * Starting NTP server ntpd Apr 24 14:48:26 host ntp[894]: lockfile creation failed: exceeded maximum number of lock attempts Apr 24 14:48:26 host ntp[894]: ...done. Apr 24 14:48:26 host systemd[1]: Started LSB: Start NTP daemon. After updating to 16.04 (ntp:amd64 1:4.2.6.p5+dfsg-3ubuntu8.2 -> 1:4.2.8p4+dfsg-3ubuntu5, systemd:amd64 225-1ubuntu9.1 -> 229-4ubuntu4, systemd-sysv:amd64 225-1ubuntu9.1 -> 229-4ubuntu4), systemd no longer starts ntpd on boot: # systemctl status ntp ntp.service - LSB: Start NTP daemon Loaded: loaded (/etc/init.d/ntp; bad; vendor preset: enabled) Active: inactive (dead) Docs: man:systemd-sysv-generator(8) May 02 23:22:37 host systemd[1]: Stopped LSB: Start NTP daemon. May 02 23:22:37 host systemd[1]: Stopped LSB: Start NTP daemon. ** Also affects: systemd (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577596 Title: ntpd not started by systemd To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/1577596/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs