Your message dated Mon, 16 Jul 2007 18:49:37 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Removed
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: hotplug
Version: 0.0.20020826-1; reported 2003-03-27
Severity: minor
Tags: patch

diff -ur /tmp/etc/hotplug/hotplug.functions /etc/hotplug/hotplug.functions
--- /tmp/etc/hotplug/hotplug.functions  Fri Sep  6 16:16:24 2002
+++ /etc/hotplug/hotplug.functions      Thu Mar 27 16:34:53 2003
@@ -1,4 +1,3 @@
-#
 #!/bin/bash
 #
 # Setup and utility functions for use in hotplug agents
@@ -26,17 +25,24 @@
     mesg () {
        echo "$@"
     }
+    debug_mesg () {
+       if [ "$DEBUG" = yes ]; then echo "$@"; fi
+    }
+    error_mesg () {
+       echo "$@" >&2
+    }
 else
     mesg () {
-       /usr/bin/logger -t $0 "$@"
+       /usr/bin/logger -t "$(basename $0)[$$]" -p daemon.notice "$@"
+    }
+    error_mesg () {
+       /usr/bin/logger -t "$(basename $0)[$$]" -p daemon.error "$@"
+    }
+    debug_mesg () {
+       /usr/bin/logger -t "$(basename $0)[$$]" -p daemon.debug "$@"
     }
 fi
 
-debug_mesg () {
-    test "$DEBUG" = no && return
-    mesg "$@"
-}
-
 #
 # The modules.*map parsing uses BASH ("declare -i") and some version
 # of AWK, typically /bin/gawk.  Most GNU/Linux distros have these,
@@ -114,7 +120,8 @@
            DRIVERS=`$LISTER`
            ;;
        
-       *)      mesg "how to invoke ${TYPE}modules ??"
+       *)
+           mesg "how to invoke ${TYPE}modules ??"
            LISTER=
        esac
     fi
@@ -149,7 +156,7 @@
            # it's not an error if a module doesn't exist
            if $MODPROBE -n $MODULE >/dev/null 2>&1 &&
                    ! $MODPROBE $MODULE >/dev/null 2>&1 ; then
-               mesg "... can't load module $MODULE"
+               error_mesg "... can't load module $MODULE"
            else
                # /etc/modules.conf may have set non-default module
                # parameters ... handle per-device parameters in apps
@@ -167,7 +174,7 @@
            fi
 
            if [ $LOADED = false ]; then
-               mesg "missing kernel or user mode driver $MODULE "
+               error_mesg "missing kernel or user mode driver $MODULE "
            fi
        fi
     done
diff -ur /tmp/etc/hotplug/ieee1394.agent /etc/hotplug/ieee1394.agent
--- /tmp/etc/hotplug/ieee1394.agent     Fri Sep  6 16:16:24 2002
+++ /etc/hotplug/ieee1394.agent Thu Mar 27 16:02:12 2003
@@ -34,7 +34,7 @@
 DRIVERS=
 
 if [ "$ACTION" = "" ]; then
-    mesg Bad IEEE1394 agent invocation
+    error_mesg Bad IEEE1394 agent invocation
     exit 1
 fi
 
@@ -100,7 +100,7 @@
     fi
 
     if [ "$DRIVERS" == "" ]; then
-       mesg "... no drivers for $LABEL"
+       error_mesg "... no drivers for $LABEL"
        exit 2
     fi
     ;;
@@ -116,7 +116,7 @@
     ;;
 
 *)
-    mesg "IEEE1394 '$ACTION' event not supported"
+    error_mesg "IEEE1394 '$ACTION' event not supported"
     exit 1
     ;;
 
diff -ur /tmp/etc/hotplug/net.agent /etc/hotplug/net.agent
--- /tmp/etc/hotplug/net.agent  Fri Sep  6 16:16:24 2002
+++ /etc/hotplug/net.agent      Thu Mar 27 16:25:08 2003
@@ -21,10 +21,14 @@
 # DEBUG=yes export DEBUG
 
 if [ "$INTERFACE" = "" ]; then
-    mesg Bad NET invocation: \$INTERFACE is not set
+    error_mesg Bad NET invocation: \$INTERFACE is not set
     exit 1
 fi
 
 case $ACTION in
 register)
 
@@ -45,11 +45,11 @@
                debug_mesg invoke ifup $INTERFACE
                exec /sbin/ifup $INTERFACE
            else
-               mesg "how do I bring interfaces up on this distro?"
+               error_mesg "how do I bring interfaces up on this distro?"
            fi
            ;;
     esac
-    mesg $1 $ACTION event not handled
+    error_mesg $1 $ACTION event not handled
     ;;
 
 unregister)
@@ -58,12 +58,12 @@
     # ifstate database otherwise.
     if [ -x /sbin/ifdown ]; then
        debug_mesg invoke ifdown $INTERFACE
-        exec /sbin/ifdown $INTERFACE
+       exec /sbin/ifdown $INTERFACE
     else
        # mesg "how do I bring interfaces up on this distro?"
-       mesg "E: /sbin/ifdown not found. You need to install ifupdown package"
+       error_mesg "E: /sbin/ifdown not found. You need to install ifupdown 
package"
     fi
-    mesg $1 $ACTION event not handled
+    error_mesg $1 $ACTION event not handled
     ;;
 
 *)
diff -ur /tmp/etc/hotplug/pci.agent /etc/hotplug/pci.agent
--- /tmp/etc/hotplug/pci.agent  Fri Sep  6 16:16:24 2002
+++ /etc/hotplug/pci.agent      Thu Mar 27 16:05:40 2003
@@ -42,7 +42,7 @@
 DRIVERS=
 
 if [ "$PCI_CLASS" = ""  -o "$PCI_CLASS" = "" ]; then
-    mesg Bad PCI agent invocation
+    error_mesg Bad PCI agent invocation
     exit 1
 fi
 
@@ -65,7 +65,7 @@
 pci_convert_vars ()
 {
     if [ "$AWK" = "" ]; then
-       mesg "can't find awk!"
+       error_mesg "can't find awk!"
        exit 1
     fi
 
@@ -155,7 +155,7 @@
     fi
 
     if [ "$DRIVERS" == "" ]; then
-       mesg "... no modules for $LABEL"
+       error_mesg "... no modules for $LABEL"
        exit 2
     fi
 
diff -ur /tmp/etc/hotplug/usb.agent /etc/hotplug/usb.agent
--- /tmp/etc/hotplug/usb.agent  Fri Sep  6 16:16:24 2002
+++ /etc/hotplug/usb.agent      Thu Mar 27 16:06:21 2003
@@ -95,7 +95,7 @@
 DRIVERS=""
 
 if [ "$PRODUCT" = "" -o "$ACTION" = "" ]; then
-    mesg Bad USB agent invocation
+    error_mesg Bad USB agent invocation
     exit 1
 fi
 
@@ -119,7 +119,7 @@
 usb_convert_vars ()
 {
     if [ "$AWK" = "" ]; then
-       mesg "can't find awk!"
+       error_mesg "can't find awk!"
        exit 1
     fi
 
@@ -354,7 +354,7 @@
     done
 
     if [ "$FOUND" = "false" ]; then
-       mesg "... no modules for $LABEL"
+       error_mesg "... no modules for $LABEL"
        exit 2
     fi
 

-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux joerg 2.4.19 #1 Fre Jan 10 20:56:34 MET 2003 i586
Locale: LANG=de_DE, LC_CTYPE=de_DE


--- End Message ---
--- Begin Message ---
This package has been removed from Debian unstable.  I'm therefore
closing this bug report.  The package has been removed because it
has been superseded by udev.  It's quite unlikely that your bug still
exists in udev, but if it does, please let me know.

-- 
Martin Michlmayr
http://www.cyrius.com/

--- End Message ---

Reply via email to