[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#258430: marked as done (s390-netdevice: IUCV support broken again: wrong device name)



Your message dated Sun, 18 Jul 2004 17:02:05 -0400
with message-id <E1BmInN-00078S-00@newraff.debian.org>
and subject line Bug#258430: fixed in s390-netdevice 0.0.6
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; 9 Jul 2004 16:43:46 +0000
>From athornton@sinenomine.net Fri Jul 09 09:43:46 2004
Return-path: <athornton@sinenomine.net>
Received: from sine.sctelecom.com (mailbox.sinenomine.net) [192.204.203.218] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BiyTR-0000tR-00; Fri, 09 Jul 2004 09:43:46 -0700
Received: from localhost (mailbox.sinenomine.net [192.168.101.9])
	by mailbox.sinenomine.net (8.12.6/8.12.6/SuSE Linux 0.6) with ESMTP id i69Ghcjb014387
	for <submit@bugs.debian.org>; Fri, 9 Jul 2004 12:43:39 -0400
Subject: s390-netdevice: IUCV support broken again: wrong device name
From: Adam Thornton <athornton@sinenomine.net>
To: submit@bugs.debian.org
Content-Type: multipart/mixed; boundary="=-7VBkdKT2e84S3kjxGQgK"
Organization: Sine Nomine Associates
Message-Id: <[🔎] 1089391498.8249.25.camel@dev-linux.fsf.net>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.4 
Date: Fri, 09 Jul 2004 11:44:58 -0500
X-Virus-Scanned: by AMaViS - amavis-milter (http://www.amavis.org/)
Delivered-To: submit@bugs.debian.org
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: 


--=-7VBkdKT2e84S3kjxGQgK
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Package: s390-netdevice
Version: 0.0.6
Severity: important
Tags: patch

"type_text" (=="iucv") is not the right identifier for doing a modprobe
if the device is IUCV.  The iucv module provides the IUCV base
functions, but the netiucv module provides an interface suitable for 
treating like a NIC.  This is done to allow iucv to act as a general
inter-virtual-machine communications path, even in the absence of
TCP/IP.

A patch is attached to correct the issue.

Adam

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (700, 'testing')
Architecture: s390Locale: LANG=C, LC_CTYPE=C
Kernel: Linux 2.4.17


--=-7VBkdKT2e84S3kjxGQgK
Content-Disposition: attachment; filename=netdevice.c.patch
Content-Type: text/plain; name=netdevice.c.patch; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit

--- netdevice.c.orig	2004-07-09 12:31:44.000000000 -0400
+++ netdevice.c	2004-07-09 12:01:46.000000000 -0400
@@ -476,7 +476,7 @@
 static int setup (void)
 {
 	FILE *f;
-	char buf[256], buf1[256] = "", *ptr = NULL;
+	char buf[256], buf1[256] = "", buf2[256], *ptr = NULL;
 
 	if (mkdir ("/etc/modutils", 777) && errno != EEXIST)
 		return 1;
@@ -486,6 +486,7 @@
 		case TYPE_QETH:
 		case TYPE_CTC:
 		case TYPE_LCS:
+                        strncpy(buf2,type_text,sizeof(type_text));
 			if (strlen (chandev_parm))
 				ptr = chandev_parm;
 
@@ -521,6 +522,10 @@
 			break;
 
 		case TYPE_IUCV:
+                        strncpy(buf2,"netiucv",sizeof("netiucv"));
+			/* This is necessary because the "iucv" module */
+                        /*  provides the basic IUCV functions, but the */
+			/* "netiucv" module provides TCP/IP support.   */
 			f = fopen("/etc/modutils/netiucv", "a");
 			if (!f)
 				 return 1;
@@ -532,7 +537,7 @@
 			break;
 	}
 
-	snprintf (buf, sizeof (buf), "modprobe %s %s", type_text, buf1);
+	snprintf (buf, sizeof (buf), "modprobe %s %s", buf2, buf1);
 
 	di_exec_shell_log (buf);
 

--=-7VBkdKT2e84S3kjxGQgK--


---------------------------------------
Received: (at 258430-close) by bugs.debian.org; 18 Jul 2004 21:08:18 +0000
>From katie@ftp-master.debian.org Sun Jul 18 14:08:18 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BmItO-0005zY-00; Sun, 18 Jul 2004 14:08:18 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1BmInN-00078S-00; Sun, 18 Jul 2004 17:02:05 -0400
From: Bastian Blank <waldi@debian.org>
To: 258430-close@bugs.debian.org
X-Katie: $Revision: 1.51 $
Subject: Bug#258430: fixed in s390-netdevice 0.0.6
Message-Id: <E1BmInN-00078S-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sun, 18 Jul 2004 17:02:05 -0400
Delivered-To: 258430-close@bugs.debian.org
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=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 2

Source: s390-netdevice
Source-Version: 0.0.6

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

s390-netdevice_0.0.6.dsc
  to pool/main/s/s390-netdevice/s390-netdevice_0.0.6.dsc
s390-netdevice_0.0.6.tar.gz
  to pool/main/s/s390-netdevice/s390-netdevice_0.0.6.tar.gz
s390-netdevice_0.0.6_s390.udeb
  to pool/main/s/s390-netdevice/s390-netdevice_0.0.6_s390.udeb



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

Debian distribution maintenance software
pp.
Bastian Blank <waldi@debian.org> (supplier of updated s390-netdevice 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 ftpmaster@debian.org)


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

Format: 1.7
Date: Sun, 18 Jul 2004 22:47:44 +0200
Source: s390-netdevice
Binary: s390-netdevice
Architecture: source s390
Version: 0.0.6
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Bastian Blank <waldi@debian.org>
Description: 
 s390-netdevice - Configure network hardware (udeb)
Closes: 258108 258430 259604
Changes: 
 s390-netdevice (0.0.6) unstable; urgency=low
 .
   * Adam Thornton
     - Changed priority of CTC protocol question and default protocol.
       (closes: #259604)
   * Bastian Blank
     - Add iucv support. Derived patch from Adam Thornton.
     (closes: #258108, #258430)
   * Christian Perrier
     - reworded the "Is this configuration correct?" question for being less
       dependent on debconf interface. Run debconf-updatepo
   * Updated translations:
     - Bulgarian (bg.po) by Ognyan Kulev
     - Bosnian (bs.po) by Safir Å eÄ?eroviÄ?
     - Catalan (ca.po) by Jordi Mallach
     - Czech (cs.po) by Miroslav Kure
     - Danish (da.po) by Claus Hindsgaul
     - German (de.po) by Dennis Stampfer
     - Greek (el.po) by George Papamichelakis
     - Spanish (es.po) by Teófilo Ruiz Suárez
     - Basque (eu.po) by Piarres Beobide Egaña
     - Finnish (fi.po) by Tapio Lehtonen
     - French (fr.po) by Christian Perrier
     - Hebrew (he.po) by Lior Kaplan
     - Hungarian (hu.po) by VER�K István
     - Indonesian (id.po) by Parlin Imanuel Toh
     - Japanese (ja.po) by Kenshi Muto
     - Korean (ko.po) by Changwoo Ryu
     - Lithuanian (lt.po) by Marius Gedminas
     - Dutch (nl.po) by Bart Cornelis
     - Norwegian (nn.po) by HÃ¥vard Korsvoll
     - Polish (pl.po) by Bartosz Fenski
     - Portuguese (Brazil) (pt_BR.po) by André Luís Lopes
     - Portuguese (pt.po) by Miguel Figueiredo
     - Romanian (ro.po) by Eddy Petrisor
     - Russian (ru.po) by Nikolai Prokoschenko
     - Slovak (sk.po) by Peter KLFMANiK Mann
     - Albanian (sq.po) by Elian Myftiu
     - Turkish (tr.po) by Osman Yüksel
     - Ukrainian (uk.po) by Eugeniy Meshcheryakov
     - Simplified Chinese (zh_CN.po) by Carlos Z.F. Liu
Files: 
 ad573ef61f4646512c97ce5064bd058a 677 debian-installer optional s390-netdevice_0.0.6.dsc
 57e907c94d0924089cb25435fff657ad 60617 debian-installer optional s390-netdevice_0.0.6.tar.gz
 76f55da19b955a01bc14f4b036ebbdbb 48648 debian-installer optional s390-netdevice_0.0.6_s390.udeb
package-type: udeb

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

iEYEARECAAYFAkD64xsACgkQLkAIIn9ODhGlYwCgpOyXoBVAJKz/d8hnZJIYcp+e
+N4An2pMXgChZ8LpbFyMTt8/bmJcN6lu
=BYxN
-----END PGP SIGNATURE-----



Reply to: