[Bug 1448924] Re: watchdogd doesn't start on boot
Ryan Harper
1448924 at bugs.launchpad.net
Tue Jun 28 14:21:04 UTC 2016
On Mon, Jun 13, 2016 at 8:18 PM, David Kowis <dkowis at shlrm.org> wrote:
> Sorry for the noise on this bug! It turns out I'm simply not waiting
> long enough for it to come up. It is being started on boot, and
> everything is working like I expect, just isn't showing up.
>
>
> I do still have the question about when it'll make it into a
> Xenial-updates repo, though.
>
It won't go into Xenial automatically. We'd need to fix a specific bug. I
think that for this bug in particular,
the missing [Install] section in the systemd service file (and the missing
quote) are the two changes that
we'd like backported to 5.14.
For now, in Xenial, if you apply this diff to your
/lib/systemd/system/watchdog.service file
% diff -u watchdog.service-xenial watchdog.service-yakkety
--- watchdog.service-xenial 2016-06-28 09:15:26.794096890 -0500
+++ watchdog.service-yakkety 2016-06-28 09:15:42.938657193 -0500
@@ -12,3 +12,5 @@
ExecStopPost=/bin/sh -c '[ $run_wd_keepalive != 1 ] || false'
[Install]
+WantedBy=default.target
+
And then:
systemctl daemon-reload
systemctl enable watchdog
And reboot
You should find watchdog service started at boot time.
If that's sufficient for you, I can start the SRU process for bringing in
the change to the service file in Xenial.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to watchdog in Ubuntu.
https://bugs.launchpad.net/bugs/1448924
Title:
watchdogd doesn't start on boot
Status in watchdog package in Ubuntu:
Fix Released
Bug description:
Description: Ubuntu 15.04
Release: 15.04
watchdog:
Installed: 5.14-3
Candidate: 5.14-3
Version table:
*** 5.14-3 0
500 http://de.archive.ubuntu.com/ubuntu/ vivid/universe amd64 Packages
100 /var/lib/dpkg/status
Expected:
Watchdog daemon starts on system boot.
Current:
After updating from Utopic to Vivid the watchdog daemon doesn't start. A manual service watchdog start after boot up starts the daemon normally.
There seems to be a problem with the transition of the init scripts from Upstart to SystemD.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/watchdog/+bug/1448924/+subscriptions
More information about the foundations-bugs
mailing list