Package: watchdog
Version: 5.3.1-2
Severity: wishlist

Hi Michael,

would it be possible to check for [ -w /dev/watchdog ] in postinst
and to debconf-ask the user whether to load the softdog kernel
module if it is not present/writable?

Then, when the init.d script runs and the user chose yes and no
/dev/watchdog exists, it should load the softdog driver.

In addition, maybe the init script could detect failure to open
/dev/watchdog, load the module, then retry?

Thanks,

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (750, 'unstable'), (500, 'testing'), (250, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-686 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages watchdog depends on:
ii  debconf [debconf-2.0]         1.5.13     Debian configuration management sy
ii  libc6                         2.5-7      GNU C Library: Shared libraries
ii  makedev                       2.3.1-83   creates device files in /dev
ii  udev                          0.105-4    /dev/ and hotplug management daemo

watchdog recommends no packages.

-- debconf information:
* watchdog/run: true
* watchdog/restart: true

-- 
 .''`.   martin f. krafft <[EMAIL PROTECTED]>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems

Attachment: signature.asc
Description: Digital signature (GPG/PGP)

Reply via email to