Debian Bug report logs - #33218
rpc.bootparamd broken - parses comments as hostnames

version graph

Package: netstd; Maintainer for netstd is (unknown);

Reported by: unslider <unslider@balance.wiw.org>

Date: Thu, 11 Feb 1999 12:03:07 UTC

Severity: normal

Found in version 3.07-2

Fixed in version netkit-bootparamd/0.10-1

Done: Herbert Xu <herbert@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Herbert Xu <herbert@debian.org>:
Bug#33218; Package netstd. (full text, mbox, link).


Acknowledgement sent to unslider <unslider@balance.wiw.org>:
New bug report received and forwarded. Copy sent to Herbert Xu <herbert@debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: unslider <unslider@balance.wiw.org>
To: submit@bugs.debian.org
Subject: rpc.bootparamd broken - parses comments as hostnames
Date: Thu, 11 Feb 1999 06:56:05 -0500 (EST)
Package: netstd
Version: 3.07-2

rpc.bootparamd doesn't understand /etc/bootparams files with comment lines
in them. The default /etc/bootparams has comment lines. rpc.bootparamd
tries to interpret the # character as a hostname. Here's a quick and dirty
fix that seems to work for me:

---cut here---
--- rpc.bootparamd.c.orig       Thu Feb 11 03:37:10 1999
+++ rpc.bootparamd.c    Thu Feb 11 03:38:54 1999
@@ -259,6 +259,7 @@
     }

     while (fscanf(bpf, "%s", hostname) > 0) {
+      if (hostname[0]!='#') {
        if (!strcmp(hostname, askname)) {
            /* return true for match of hostname */
            res = 1;
@@ -273,6 +274,8 @@
                break;
            }
        }
+      }
+
        /* skip to next entry */
        pch = ch = getc(bpf);
        while (!(ch == '\n' && pch != '\\') && ch != EOF) {
---cut here---


-- unS.
Below is a plot to destroy the world, cunningly disguised as an irc client.
use IO::Socket;$n=shift;($r=IO::Socket::INET->new(shift.":".shift))*
defined($c=fork)||die;$c&&do{for(;;){print<$r>||die}};do{print$r
"USER $n . . .\nNICK $n\n";while(<>){print$r $_}}



Information forwarded to debian-bugs-dist@lists.debian.org, Herbert Xu <herbert@debian.org>:
Bug#33218; Package netstd. (full text, mbox, link).


Acknowledgement sent to Andreas Voegele <andreas.voegele@gmx.de>:
Extra info received and forwarded to list. Copy sent to Herbert Xu <herbert@debian.org>. (full text, mbox, link).


Message #10 received at 33218@bugs.debian.org (full text, mbox, reply):

From: Andreas Voegele <andreas.voegele@nikocity.de>
To: 33218@bugs.debian.org
Cc: debian-qa@lists.debian.org
Subject: #33218: rpc.bootparamd broken - parses comments as hostnames
Date: 10 Oct 1999 08:42:27 +0200
    > rpc.bootparamd doesn't understand /etc/bootparams files with
    > comment lines in them. The default /etc/bootparams has comment
    > lines. rpc.bootparamd tries to interpret the # character as a
    > hostname.

Why hasn't this bug been fixed?

It was reported 240 days ago and it took me more than an hour to
find it out on my own yesterday.

There's a fix in the original bug report:

http://www.debian.org/Bugs/db/33/33218.html


Information forwarded to debian-bugs-dist@lists.debian.org, Herbert Xu <herbert@debian.org>:
Bug#33218; Package netstd. (full text, mbox, link).


Acknowledgement sent to Herbert Xu <herbert@gondor.apana.org.au>:
Extra info received and forwarded to list. Copy sent to Herbert Xu <herbert@debian.org>. (full text, mbox, link).


Message #15 received at 33218@bugs.debian.org (full text, mbox, reply):

From: Herbert Xu <herbert@gondor.apana.org.au>
To: Andreas Voegele <andreas.voegele@gmx.de>, 33218@bugs.debian.org
Cc: debian-qa@lists.debian.org
Subject: Re: Bug#33218: #33218: rpc.bootparamd broken - parses comments as hostnames
Date: Sun, 10 Oct 1999 16:50:22 +1000
On Sun, Oct 10, 1999 at 08:42:27AM +0200, Andreas Voegele wrote:
> 
>     > rpc.bootparamd doesn't understand /etc/bootparams files with
>     > comment lines in them. The default /etc/bootparams has comment
>     > lines. rpc.bootparamd tries to interpret the # character as a
>     > hostname.
> 
> Why hasn't this bug been fixed?
> 
> It was reported 240 days ago and it took me more than an hour to
> find it out on my own yesterday.
> 
> There's a fix in the original bug report:
> 
> http://www.debian.org/Bugs/db/33/33218.html

Because I'm yet to reach bootparamd while splitting netstd.  It will be fixed
when it leaves netstd.
-- 
Debian GNU/Linux 2.1 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


Reply sent to Herbert Xu <herbert@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to unslider <unslider@balance.wiw.org>:
Bug acknowledged by developer. (full text, mbox, link).


Message #20 received at 33218-close@bugs.debian.org (full text, mbox, reply):

From: Herbert Xu <herbert@debian.org>
To: 33218-close@bugs.debian.org
Subject: Bug#33218: fixed in netkit-bootparamd 0.10-1
Date: 31 Oct 1999 20:03:52 -0000
We believe that the bug you reported is fixed in the latest version of
netkit-bootparamd, which has been installed in the Debian FTP archive:
netkit-bootparamd_0.10-1.dsc
  to dists/potato/main/source/net/netkit-bootparamd_0.10-1.dsc
netkit-bootparamd_0.10.orig.tar.gz
  to dists/potato/main/source/net/netkit-bootparamd_0.10.orig.tar.gz
bootparamd_0.10-1_i386.deb
  to dists/potato/main/binary-i386/net/bootparamd_0.10-1.deb
netkit-bootparamd_0.10-1.diff.gz
  to dists/potato/main/source/net/netkit-bootparamd_0.10-1.diff.gz

Note that this package is not part of the released stable Debian
distribution.  It may have dependencies on other unreleased software,
or other instabilities.  Please take care if you wish to install it.
The update will eventually make its way into the next released Debian
distribution.

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

Debian distribution maintenance software
pp.
Herbert Xu <herbert@debian.org> (supplier of updated netkit-bootparamd 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-----

Format: 1.6
Date: Fri, 15 Oct 1999 15:18:26 +1000
Source: netkit-bootparamd
Binary: bootparamd
Architecture: source i386
Version: 0.10-1
Distribution: unstable
Urgency: low
Maintainer: Herbert Xu <herbert@debian.org>
Description: 
 bootparamd - Boot parameter server.
Closes: 33218
Changes: 
 netkit-bootparamd (0.10-1) unstable; urgency=low
 .
   * Initial Release.
   * Ignore comments (closes: #33218).
   * Applied patch from Martin Schulze (closes: 48233).
Files: 
 855e5a08abfd77c21b6b6894df3ca949 646 net optional netkit-bootparamd_0.10-1.dsc
 eb9088bf1c7cadd09eb99c3fe2f775a4 11628 net optional netkit-bootparamd_0.10.orig.tar.gz
 8532141f2511a5e391a342694bbdb485 4462 net optional netkit-bootparamd_0.10-1.diff.gz
 0108da42a1eba70181e483e3f7fefa3b 12524 net optional bootparamd_0.10-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv

iQCVAwUBOBT334fMnsf5AzQhAQFTWgP/WL1BxiJxpSGpNHVq9QF3FOVcZDZjIfHV
WxwKOoRdy7UIGLmhPqZQM3Rl5hGp/upt3C3KND8hvGGSOoy3r5U6Wdxx/4sRDRq0
rk1Z1VBAzWCgZDHsVdLm8qtCC7Rhgoibma1XrH1K+TJJQ7b/dmeaicEMbWq8CWu+
Ou1rVg5tpY4=
=49TB
-----END PGP SIGNATURE-----



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun May 5 06:11:46 2024; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.