Comment 3 for bug 7544

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Fri, 20 Aug 2004 17:51:04 -0700
From: jacob appelbaum <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: netbase: /etc/init.d/networking fails to actually bring up networking

--===============0459739117==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: netbase
Version: 4.18
Severity: grave
Justification: renders package unusable

Please see attached file.

-- System Information:
Debian Release: 3.1
  APT prefers experimental
  APT policy: (995, 'experimental'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.26
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8

Versions of packages netbase depends on:
ii debconf 1.4.30 Debian configuration management sy
ii ifupdown 0.6.4-4.10exp1 High level tools to configure netw
ii netkit-inetd 0.10-9 The Internet Superserver
ii netkit-ping [ping] 0.10-9 The ping utility from netkit
ii tcpd 7.6.dbs-5 Wietse Venema's TCP wrapper utilit

-- debconf information:
  netbase/spoofprot/pre-2.2-ip: 127.0.0.1/8
  netbase/upgrade-note/etc-network-interfaces-pre-3.17-1:
  netbase/upgrade-note/init.d-split-pre-3.16-1:
  netbase/upgrade-note/radius-ports-pre-3.05:
  netbase/ipv6-hosts: true
  netbase/spoofprot/pre-2.2-interfaces: eth0 eth1 ppp0
* netbase/spoofprot:
  netbase/upgrade-note/portmap-restart-pre-3.11-2:

--===============0459739117==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="network-bug-report"

Upon apt-get update; apt-get dist-upgrade; finishing and a restart of my laptop:

ssh -vv mephisto@mephisto
OpenSSH_3.8.1p1 Debian 1:3.8.1p1-6, OpenSSL 0.9.7d 17 Mar 2004
debug6761: Reading configuration data /home/error/.ssh/config
debug6761: Applying options for mephisto
debug6761: Reading configuration data /etc/ssh/ssh_config
debug6762: ssh_connect: needpriv 0
debug6761: Connecting to mephisto [64.62.166.246] port 22.
debug6761: connect to address 64.62.166.246 port 22: Network is unreachable
ssh: connect to host mephisto port 22: Network is unreachable

To which I see that the network seems to be down.

_[error@will:~] [Fri Aug 20] [10:33 AM]_
$ /sbin/ifconfig
_[error@will:~] [Fri Aug 20] [10:35 AM]_
$ /sbin/ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:E0:00:FB:8A:7A
          BROADCAST MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
          Interrupt:9 Base address:0xa000

lo Link encap:Local Loopback
          LOOPBACK MTU:16436 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

So I attempted to start the networking:
_[error@will:~] [Fri Aug 20] [10:35 AM]_
$ sudo -s
Password:
root@will:~# /etc/init.d/networking start
Setting up IP spoofing protection: rp_filter.
Configuring network interfaces...ifup: failed to stat statefile /etc/network/ifstate: No such file or directory
done.

root@will:~#

So I touched the file:
root@will:~# touch /etc/network/ifstate
root@will:~# /etc/init.d/networking start
Setting up IP spoofing protection: rp_filter.
Configuring network interfaces...Internet Systems Consortium DHCP Client V3.0.1
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

Listening on LPF/eth0/00:e0:00:fb:8a:7a
Sending on LPF/eth0/00:e0:00:fb:8a:7a
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPOFFER from 192.168.1.2
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.2
bound to 192.168.1.63 -- renewal in 266732 seconds.
done.
root@will:~#

Networking seems to be working just fine now with the exception of my dns.
For some reason, dhclient didn't replace the older dns information from the last network I was on. This is curious because it did replace the information before that with the name servers that are currently in the file:

root@will:~# cat /etc/resolv.conf
search gateway.2wire.net
nameserver 172.16.0.1

Manual editing of this file solves the problem but it's required each time I boot, much like the creation of the /etc/network/ifstate file.

What's the best way to report this as a bug (ie: which package has the bug?).
I am sure that once I know which package has the bug (I assume the package is the one that contains the /etc/init.d/networking script) that I can do the rest.

Thanks in advance.

--===============0459739117==--