Your message dated Fri, 18 Jun 2010 12:14:03 +0000
with message-id <[email protected]>
and subject line Bug#582766: fixed in watchdog 5.9-1
has caused the Debian Bug report #582766,
regarding watchdog.postinst: 92: MAKEDEV: not found
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
582766: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=582766
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: watchdog
Version: 5.8-1
Severity: minor
Tags: patch

Steps to reproduce:
1) upgrade watchdog from 5.7-4 to 5.8-1

Expected results:
1) 

Setting up watchdog (5.8-1) ...

Actual results:
1)

Setting up watchdog (5.8-1) ...
/var/lib/dpkg/info/watchdog.postinst: 92: MAKEDEV: not found

More info:
1) The check

if [ -x `which MAKEDEV` ]; then

in /var/lib/dpkg/info/watchdog.postinst does not seem to work:

li...@ginger:~$ which MAKEDEV
li...@ginger:~$ if [ -x `which MAKEDEV` ]; then echo FOUND; fi
FOUND
li...@ginger:~$ if [ -x "`which MAKEDEV`" ]; then echo FOUND; fi

I suggest the attached patch.

>From 0d6d7678104a77793aca9a0c8460d5691d0077ee Mon Sep 17 00:00:00 2001
From: Timo Juhani Lindfors <[email protected]>
Date: Sun, 23 May 2010 09:13:27 -0400
Subject: [PATCH] Fix check for MAKEDEV.

---
 debian/postinst |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/debian/postinst b/debian/postinst
index 0bb5289..f6b9e17 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -6,7 +6,7 @@ if [ "$1" = configure ]
 then
     . /usr/share/debconf/confmodule
 
-    if [ -x `which MAKEDEV` ]; then
+    if [ -x "`which MAKEDEV`" ]; then
 	    # do we have to create the device?
 	    if [ ! -c /dev/watchdog ]
 	    then
-- 
1.7.0.4




-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: armel (armv4tl)

Kernel: Linux 2.6.29-GTA02_lindi2-andy-tracking-mokodev
Locale: LANG=C, LC_CTYPE=fi_FI (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages watchdog depends on:
ii  debconf [debconf-2.0]         1.5.32     Debian configuration management sy
ii  libc6                         2.10.2-6   Embedded GNU C Library: Shared lib
ii  lsb-base                      3.2-23     Linux Standard Base 3.2 init scrip
ii  udev                          154-1      /dev/ and hotplug management daemo

watchdog recommends no packages.

watchdog suggests no packages.

-- Configuration Files:
/etc/watchdog.conf changed:
file                    = /etc/fstab
max-load-1              = 24
max-load-5              = 18
max-load-15             = 12
watchdog-device = /dev/watchdog
realtime                = yes
priority                = 1
watchdog-timeout        = 42


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

--- End Message ---
--- Begin Message ---
Source: watchdog
Source-Version: 5.9-1

We believe that the bug you reported is fixed in the latest version of
watchdog, which is due to be installed in the Debian FTP archive:

watchdog_5.9-1.diff.gz
  to main/w/watchdog/watchdog_5.9-1.diff.gz
watchdog_5.9-1.dsc
  to main/w/watchdog/watchdog_5.9-1.dsc
watchdog_5.9-1_amd64.deb
  to main/w/watchdog/watchdog_5.9-1_amd64.deb
watchdog_5.9.orig.tar.gz
  to main/w/watchdog/watchdog_5.9.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Meskes <[email protected]> (supplier of updated watchdog package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 17 Jun 2010 17:01:41 +0200
Source: watchdog
Binary: watchdog
Architecture: source amd64
Version: 5.9-1
Distribution: unstable
Urgency: low
Maintainer: Michael Meskes <[email protected]>
Changed-By: Michael Meskes <[email protected]>
Description: 
 watchdog   - A software watchdog
Closes: 582766
Changes: 
 watchdog (5.9-1) unstable; urgency=low
 .
   * New upstream version.
   * Fixed check for existance of MAKEDEV. (Closes: #582766) - thanks to Timo
     Juhani Lindfors <[email protected]>
   * Added source/format file.
Checksums-Sha1: 
 1365ab47adab46fb11abdafb85f89d1dcd0c948f 994 watchdog_5.9-1.dsc
 daf4ae6caa0e2dd7e480f0d1e27cb4b530a3b4f4 197609 watchdog_5.9.orig.tar.gz
 27837b2951eaa6483ac3c5c446d9e6310b0e6483 2835 watchdog_5.9-1.diff.gz
 14bc22a763a1df23720568d414657a74341798b0 83784 watchdog_5.9-1_amd64.deb
Checksums-Sha256: 
 73a88ab9073995b088b3c7d498e6d5dfc4fd640aa078a3ff99428013366d5ef2 994 
watchdog_5.9-1.dsc
 60d8e9180b8800e1b2386553a9f63a026bddad4997d21790f7c5dde7e77065ec 197609 
watchdog_5.9.orig.tar.gz
 204a5d5b3b3d008f0d081bcb8f6d5026f33cdda7b44444eac01385df0407091e 2835 
watchdog_5.9-1.diff.gz
 64d8b5e1f9b10916c7e713e4a5b51c8b6f1d3d90515da8bbe1125b1eb4ad697f 83784 
watchdog_5.9-1_amd64.deb
Files: 
 a0f49dd0616afdacdc687a80a990e15d 994 admin extra watchdog_5.9-1.dsc
 d7cae3c9829f5d9a680764f314234867 197609 admin extra watchdog_5.9.orig.tar.gz
 fde107eff02dc6439759957958afdc80 2835 admin extra watchdog_5.9-1.diff.gz
 2983852ad806dd05e91b3bc972ea0cfa 83784 admin extra watchdog_5.9-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iD8DBQFMGzJ0VkEm8inxm9ERAl0yAJ9Z5RRIIZ6NU3FXwdeO1/rSXqtoCQCfUCKk
rgXmng0iJ+mWgx6H0XoZako=
=bYHO
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to