Your message dated Sun, 25 Sep 2005 19:57:18 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#256919: reopen (Linuxisms still there)
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)
--------------------------------------
Received: (at submit) by bugs.debian.org; 29 Jun 2004 21:08:40 +0000
>From [EMAIL PROTECTED] Tue Jun 29 14:08:40 2004
Return-path: <[EMAIL PROTECTED]>
Received: from 86.red-80-24-13.pooles.rima-tde.net (khazad.dyndns.org)
[80.24.13.86]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1BfPqJ-00018R-00; Tue, 29 Jun 2004 14:08:39 -0700
Received: from rmh by khazad.dyndns.org with local (Exim 3.36 #1 (Debian))
id 1BfPHc-0000nK-00; Tue, 29 Jun 2004 22:32:48 +0200
Content-Type: multipart/mixed; boundary="===============1554253233=="
MIME-Version: 1.0
From: Robert Millan <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: Linuxisms in /etc/init.d/networking
X-Mailer: reportbug 2.62
Date: Tue, 29 Jun 2004 22:32:48 +0200
Message-Id: <[EMAIL PROTECTED]>
Sender: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level:
This is a multi-part MIME message sent by reportbug.
--===============1554253233==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Package: netbase
Version: 4.17
Severity: normal
Tags: patch sid
Some functions in /etc/init.d/networking assume Linux and break on other
kernels (by reporting fake errors). Patch attached.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.26-1-k7
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (ignored: LC_ALL set to C)
Versions of packages netbase depends on:
ii debconf 1.4.29 Debian configuration management sy
ii ifupdown 0.6.4-4.8 High level tools to configure netw
ii inetutils-inetd [netk 2:1.4.2+20040511-1 Internet super server
ii inetutils-ping [ping] 2:1.4.2+20040511-1 ICMP ECHO tool
ii tcpd 7.6.dbs-4 Wietse Venema's TCP wrapper utilit
-- debconf information excluded
--===============1554253233==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="netbase.diff"
diff -ur netbase-4.17/debian/netbase.init netbase-4.17+kbsd/debian/netbase.init
--- netbase-4.17/debian/netbase.init 2004-02-13 12:35:29.000000000 +0100
+++ netbase-4.17+kbsd/debian/netbase.init 2004-06-30 00:25:16.000000000
+0200
@@ -23,12 +23,15 @@
}
spoofprotect () {
- echo -n "Setting up IP spoofing protection: "
- if spoofprotect_rp_filter; then
- echo "rp_filter."
- else
- echo "FAILED."
- fi
+ case `uname -s` in Linux)
+ echo -n "Setting up IP spoofing protection: "
+ if spoofprotect_rp_filter; then
+ echo "rp_filter."
+ else
+ echo "FAILED."
+ fi
+ ;;
+ esac
}
ip_forward () {
@@ -71,13 +74,13 @@
echo "done."
;;
stop)
- if sed -n 's/^[^ ]* \([^ ]*\) \([^ ]*\) .*$/\1 \2/p' /proc/mounts |
+ if [ "`uname -s`" == "Linux" ] && sed -n 's/^[^ ]* \([^ ]*\) \([^ ]*\)
.*$/\1 \2/p' /proc/mounts |
grep -q "^/ nfs$"; then
echo "NOT deconfiguring network interfaces: / is an NFS mount"
- elif sed -n 's/^[^ ]* \([^ ]*\) \([^ ]*\) .*$/\1 \2/p' /proc/mounts |
+ elif [ "`uname -s`" == "Linux" ] && sed -n 's/^[^ ]* \([^ ]*\) \([^
]*\) .*$/\1 \2/p' /proc/mounts |
grep -q "^/ smbfs$"; then
echo "NOT deconfiguring network interfaces: / is an SMB mount"
- elif sed -n 's/^[^ ]* \([^ ]*\) \([^ ]*\) .*$/\2/p' /proc/mounts |
+ elif [ "`uname -s`" == "Linux" ] && sed -n 's/^[^ ]* \([^ ]*\) \([^
]*\) .*$/\2/p' /proc/mounts |
grep -qE '^(nfs|smbfs|ncp|coda)$'; then
echo "NOT deconfiguring network interfaces: network shares still
mounted."
else
--===============1554253233==--
---------------------------------------
Received: (at 256919-done) by bugs.debian.org; 25 Sep 2005 17:55:39 +0000
>From [EMAIL PROTECTED] Sun Sep 25 10:55:39 2005
Return-path: <[EMAIL PROTECTED]>
Received: from 216.red-62-57-140.user.auna.net (khazad.dyndns.org)
[62.57.140.216]
by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
id 1EJaix-0004MF-00; Sun, 25 Sep 2005 10:55:39 -0700
Received: from rmh by khazad.dyndns.org with local (Exim 4.52)
id 1EJakZ-00069S-MC; Sun, 25 Sep 2005 19:57:19 +0200
Date: Sun, 25 Sep 2005 19:57:18 +0200
From: Robert Millan <[EMAIL PROTECTED]>
To: Marco d'Itri <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: Bug#256919: reopen (Linuxisms still there)
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[EMAIL PROTECTED]>
Sender: Robert Millan <[EMAIL PROTECTED]>
Organisation: free as in freedom
User-Agent: Mutt/1.5.10i
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
On Sun, Sep 25, 2005 at 10:50:43AM +0200, Marco d'Itri wrote:
> On Sep 25, Robert Millan <[EMAIL PROTECTED]> wrote:
>
> > I noticed that the init script has been reestructured, but it's still
> > assuming
> > it's being run on Linux.
> Who cares? Why can't you just delete /etc/network/options on old
> systems?
Oops, looks like I miss-read the script. Sorry.
--
Robert Millan
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]