Bug#387261: watchdog: Fails to configure

2006-09-13 Thread Lionel Elie Mamane
Package: watchdog
Version: 5.2.6-3
Severity: grave
Justification: renders package unusable

Setting up watchdog (5.2.6-3) ...
udev active, devices will be created in /dev/.static/dev/
udev active, devices will be created in /dev/.static/dev/
dpkg: error processing watchdog (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 watchdog


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (300, 'testing'), (200, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-1-686
Locale: LANG=fr_LU.UTF-8, LC_CTYPE=fr_LU.UTF-8 (charmap=UTF-8)

Versions of packages watchdog depends on:
ii  debconf [debconf-2.0]1.5.3   Debian configuration management sy
ii  libc62.3.6.ds1-4 GNU C Library: Shared libraries
ii  makedev  2.3.1-83creates device files in /dev
ii  udev 0.093-1 /dev/ and hotplug management daemo

watchdog recommends no packages.

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


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



Bug#387261: watchdog: Fails to configure

2006-09-13 Thread Michael Meskes
severity 387261 normal
tag 387261 unreproducible
tag 387261 moreinfo
thanks

 Setting up watchdog (5.2.6-3) ...
 udev active, devices will be created in /dev/.static/dev/
 udev active, devices will be created in /dev/.static/dev/
 dpkg: error processing watchdog (--configure):
  subprocess post-installation script returned error exit status 1
 Errors were encountered while processing:
  watchdog

On my system I get:

udev active, devices will be created in /dev/.static/dev/
udev active, devices will be created in /dev/.static/dev/
Restarting watchdog daemon...done.

Could you please run teh postinst script step by step to tell where the
error occurs?

Michael
-- 
Michael Meskes
Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: [EMAIL PROTECTED]
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!


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



Bug#387261: watchdog: Fails to configure

2006-09-13 Thread Lionel Elie Mamane
On Wed, Sep 13, 2006 at 01:02:27PM +0200, Michael Meskes wrote:

 Setting up watchdog (5.2.6-3) ...
 udev active, devices will be created in /dev/.static/dev/
 udev active, devices will be created in /dev/.static/dev/
 dpkg: error processing watchdog (--configure):
  subprocess post-installation script returned error exit status 1
 Errors were encountered while processing:
  watchdog

 On my system I get:

 udev active, devices will be created in /dev/.static/dev/
 udev active, devices will be created in /dev/.static/dev/
 Restarting watchdog daemon...done.

 Could you please run the postinst script step by step to tell where the
 error occurs?

I ran it under sh -x and:

+ default_format='# Start watchdog at boot time? 0 or 1
run_watchdog=%s
#
# Specify additional watchdog options here (see manpage).
'
+ db_get watchdog/run
+ _db_cmd 'GET watchdog/run'
+ printf '%s\n' 'GET watchdog/run'
+ IFS='
'
+ read -r _db_internal_line
+ RET=true
+ case ${_db_internal_line%%[   ]*} in
+ return 0
+ case $RET in
+ run_watchdog=1
+ '[' -f /etc/default/watchdog ']'
+ printf '# Start watchdog at boot time? 0 or 1
run_watchdog=%s
#
# Specify additional watchdog options here (see manpage).
' '.*'
+ grep -vxf - /etc/default/watchdog
+ grep -v watchdog_options
+ true
+ printf '# Start watchdog at boot time? 0 or 1
run_watchdog=%s
#
# Specify additional watchdog options here (see manpage).
' 1
+ '[' -f /etc/default/watchdog ']'
+ grep watchdog_options /etc/default/watchdog
[EMAIL PROTECTED]:~# echo $?
1

-- 
Lionel


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