Package: watchdog
Version: 5.14-3
Severity: important

Dear Maintainer,

Watchdog daemon does not automatically get started on system boot.
Trying to enable it via systemctl yields:

    root@jessie-box ~ > systemctl enable watchdog
    Synchronizing state for watchdog.service with sysvinit using update-rc.d...
    Executing /usr/sbin/update-rc.d watchdog defaults
    Executing /usr/sbin/update-rc.d watchdog enable
    The unit files have no [Install] section. They are not meant to be enabled
    using systemctl.
    Possible reasons for having this kind of units are:
    1) A unit may be statically enabled by being symlinked from another unit's
       .wants/ or .requires/ directory.
    2) A unit's purpose may be to act as a helper for some other unit which has
       a requirement dependency on it.
    3) A unit may be started when needed via activation (socket, path, timer,
       D-Bus, udev, scripted systemctl call, ...).

If you now add the following line to /lib/systemd/system/watchdog.service to
the install section, then it works

    [Install]
    WantedBy=multi-user.target

as expected. Systemctl enable works and the daemon gets started on boot.

-- System Information:
Debian Release: 8.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages watchdog depends on:
ii  debconf [debconf-2.0]  1.5.56
ii  init-system-helpers    1.22
ii  libc6                  2.19-18
ii  lsb-base               4.1+Debian13+nmu1
ii  udev                   215-17+deb8u1

watchdog recommends no packages.

watchdog suggests no packages.

-- Configuration Files:
/etc/watchdog.conf changed:
watchdog-device = /dev/watchdog
realtime        = yes
priority        = 1


-- debconf information:
  watchdog/module: none
  watchdog/run_keepalive: true
  watchdog/restart: false
  watchdog/run: true


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to