[Bug 1448924] Re: watchdogd doesn't start on boot

Ryan Harper 1448924 at bugs.launchpad.net
Tue Jun 28 14:10:32 UTC 2016


On Mon, Jun 13, 2016 at 8:10 PM, David Kowis <dkowis at shlrm.org> wrote:

> Also, I've grabbed and installed the 5.15-1 .dpkg. systemctl reports
> that it's enabled, but it never starts on boot. Checking right after
> boot yields this:
>
> ```
> root at hylden:~# systemctl status watchdog
> ● watchdog.service - watchdog daemon
>    Loaded: loaded (/lib/systemd/system/watchdog.service; enabled; vendor
> preset: enabled)
>    Active: inactive (dead)
> root at hylden:~# ps -eaf | grep watchdog
> root        10     2  0 20:01 ?        00:00:00 [watchdog/0]
> root        11     2  0 20:01 ?        00:00:00 [watchdog/1]
> root       978   959  0 20:02 pts/0    00:00:00 grep --color=auto watchdog
> ```
>
>
> ```
> root at hylden:/etc/default# systemctl is-enabled watchdog
> enabled
> ```
>
> I've disabled and re-enabled the init script via `systemctl disable
> watchdog` and `systemctl enable watchdog` but I never get a watchdog
> started on boot. I always have to manually start it.
>
> What am I missing?
>

Here's my path

1. apt-get install watchdog
2. systemctl status watchdog


>  systemctl status -l watchdog
> ● watchdog.service - watchdog daemon
>    Loaded: loaded (/lib/systemd/system/watchdog.service; static; vendor
> preset: enabled)
>    Active: inactive (dead)
>

it's enabled, but not started since we've not booted since the installation
of the package.

3. systemctl start watchdog
4. systemctl status -l watchdog
● watchdog.service - watchdog daemon
   Loaded: loaded (/lib/systemd/system/watchdog.service; static; vendor
preset: enabled)
   Active: active (running) since Tue 2016-06-28 14:07:28 UTC; 1min 37s ago
  Process: 1851 ExecStart=/bin/sh -c [ $run_watchdog != 1 ] || exec
/usr/sbin/watchdog $watchdog_options (
  Process: 1850 ExecStartPre=/bin/sh -c [ -z "${watchdog_module}" ] || [
"${watchdog_module}" = "none" ] |
 Main PID: 1853 (watchdog)
    Tasks: 1
   Memory: 184.0K
      CPU: 23ms
   CGroup: /system.slice/watchdog.service
           └─1853 /usr/sbin/watchdog

Jun 28 14:07:28 x1 systemd[1]: Started watchdog daemon.
Jun 28 14:07:28 x1 watchdog[1853]: starting daemon (5.14):
Jun 28 14:07:28 x1 watchdog[1853]: int=1s realtime=yes sync=no soft=no
mla=0 mem=0
Jun 28 14:07:28 x1 watchdog[1853]: ping: no machine to check
Jun 28 14:07:28 x1 watchdog[1853]: file: no file to check
Jun 28 14:07:28 x1 watchdog[1853]: pidfile: no server process to check
Jun 28 14:07:28 x1 watchdog[1853]: interface: no interface to check
Jun 28 14:07:28 x1 watchdog[1853]: temperature: no sensors to check

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
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 Ubuntu-sponsors mailing list