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

Bug#503230: marked as done (incorrect network/interfaces parsing)



Your message dated Fri, 29 Apr 2011 22:36:41 +0400
with message-id <4DBB0539.4070509@msgid.tls.msk.ru>
and subject line Re: Bug#503230: incorrect network/interfaces parsing
has caused the Debian Bug report #503230,
regarding incorrect network/interfaces parsing
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 owner@bugs.debian.org
immediately.)


-- 
503230: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=503230
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: busybox-static
Version: 1.10.2-2

ifup eth0 returns
Error: an inet prefix is expected rather than "192.168.1.1/4294967295".

part of config:

iface eth0 inet static
        address         192.168.1.1
        netmask         255.255.255.0

there are more than one whitespace (tab) between variable and value (netmask\t\t255.255.255.0)


% diff -u ifupdown.c.orig  ifupdown.c
--- ifupdown.c.orig     2008-10-24 00:00:00.000000000 +0400
+++ ifupdown.c  2008-10-24 00:01:25.000000000 +0400
@@ -810,6 +810,8 @@
                } else {
                        switch (currently_processing) {
                        case IFACE:
+                               /* ship any trailing whitespace */
+ rest_of_line = skip_whitespace(rest_of_line);
                                if (rest_of_line[0] == '\0')
bb_error_msg_and_die("option with empty value \"%s\"", buf);

--
sergio.






--- End Message ---
--- Begin Message ---
Version: 1:1.17.1-8

24.10.2008 00:12, sergio wrote:
> Package: busybox-static
> Version: 1.10.2-2
> 
> ifup eth0 returns
> Error: an inet prefix is expected rather than "192.168.1.1/4294967295".
> 
> part of config:
> 
> iface eth0 inet static
>         address         192.168.1.1
>         netmask         255.255.255.0
> 
> there are more than one whitespace (tab) between variable and value
> (netmask\t\t255.255.255.0)

This has been fixed in busybox 0.16, and is fixed for sure
in busybox as shipped in squeeze.  So closing this bug for
good.

Thanks!

/mjt


--- End Message ---

Reply to: