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]