Your message dated Sun, 18 Apr 2010 23:37:27 +0000
with message-id <e1o3e3l-0006jt...@ries.debian.org>
and subject line Bug#576785: fixed in netbase 4.41
has caused the Debian Bug report #576785,
regarding netbase: Network disabled on shutdown while iSCSI root is used
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 ow...@bugs.debian.org
immediately.)


-- 
576785: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=576785
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: netbase
Version: 4.40
Severity: normal
Tags: patch

When iSCSI root is used (something now possible with the open-iscsi
package), the network is deconfigured on shutdown or reboot, while / is
still mounted.

The netbase init script already tries to detect network root drives, but
it does not detect iSCSI drives. The patch below fixes this problem.

diff -Nru netbase-4.40/debian/netbase.init netbase-4.41/debian/netbase.init
--- netbase-4.40/debian/netbase.init    2009-12-06 17:12:24.000000000 +0100
+++ netbase-4.41/debian/netbase.init    2010-04-07 10:04:17.000000000 +0200
@@ -24,6 +24,11 @@
 check_network_file_systems() {
     [ -e /proc/mounts ] || return 0
 
+    if [ -f /etc/iscsi/iscsi.initramfs ]; then
+       log_warning_msg "not deconfiguring network interfaces: iSCSI root is in 
use."
+       exit 0
+    fi
+
     exec 9<&0 < /proc/mounts
     while read DEV MTPT FSTYPE REST; do
        case $DEV in


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages netbase depends on:
ii  initscripts                   2.87dsf-10 scripts for initializing and shutt
ii  lsb-base                      3.2-23     Linux Standard Base 3.2 init scrip

Versions of packages netbase recommends:
ii  ifupdown                      0.6.10     high level tools to configure netw

netbase suggests no packages.

-- debconf information excluded



--- End Message ---
--- Begin Message ---
Source: netbase
Source-Version: 4.41

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

netbase_4.41.dsc
  to main/n/netbase/netbase_4.41.dsc
netbase_4.41.tar.gz
  to main/n/netbase/netbase_4.41.tar.gz
netbase_4.41_all.deb
  to main/n/netbase/netbase_4.41_all.deb



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 576...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Marco d'Itri <m...@linux.it> (supplier of updated netbase 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 ftpmas...@debian.org)


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

Format: 1.8
Date: Mon, 19 Apr 2010 00:41:46 +0200
Source: netbase
Binary: netbase
Architecture: source all
Version: 4.41
Distribution: unstable
Urgency: low
Maintainer: Marco d'Itri <m...@linux.it>
Changed-By: Marco d'Itri <m...@linux.it>
Description: 
 netbase    - Basic TCP/IP networking system
Closes: 576785
Changes: 
 netbase (4.41) unstable; urgency=low
 .
   * Do not disable networking on shutdown if the root file system is
     mounted over iSCSI. (Closes: #576785)
   * etc-protocols: added shim6 (140), wesp (141), rohc (142).
Checksums-Sha1: 
 550e702a1a73af6bb623799bd14b2fa54d376db6 682 netbase_4.41.dsc
 1513773afad250e805003b146a3095b66e250e38 34348 netbase_4.41.tar.gz
 774bdf974ad894ff97f6d509461639272feccf83 20122 netbase_4.41_all.deb
Checksums-Sha256: 
 7c755c0c8b3aed324955006a3a12414f5f7e21aca1260f5108ba02e19610d94d 682 
netbase_4.41.dsc
 64e34618a488d3e7f2e32d0172e31af060e7495214ac2c5647d0ecf30f94d0e0 34348 
netbase_4.41.tar.gz
 c2bc1987bde4347c254402d572141927a8f743f258fd2b05f782dc9421d40734 20122 
netbase_4.41_all.deb
Files: 
 4baf93c0c5d0514fdedefedb6cb48bc4 682 admin important netbase_4.41.dsc
 58255f1a729795a0c34197f223b1a155 34348 admin important netbase_4.41.tar.gz
 f716d37ce067febdbb3d6f1e3ea19364 20122 admin important netbase_4.41_all.deb

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

iEYEARECAAYFAkvLjbYACgkQFGfw2OHuP7EyGQCgglvFxAQoC5Uu0jzdYzmDyw1Z
FAQAn2ynvzoDHnFT885l48UCjxQl/Vs2
=2ZUj
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to