Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Dec 2012 13:00:57 +0200
From:      Artyom Mirgorodskiy <artyom@ijminteractive.net>
To:        freebsd-current@freebsd.org
Subject:   rev 244030 route command is not working
Message-ID:  <2452291.zQQ4fSp1fM@home.alkar.net>

next in thread | raw e-mail | index | archive | help
I just upgraded to revision 244030. Unexpected route command is not working:

#route add default 192.168.1.1
route: fiboptlist_csv failed.


#netstat -rn
Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
127.0.0.1          link#2             UH          0        6    lo0
192.168.1.0/24     link#3             U           0      491  wlan0
192.168.1.10       link#3             UHS         0        0    lo0

Internet6:
Destination                       Gateway                       Flags      Netif Expire
::1                               link#2                        UH          lo0
fe80::%lo0/64                     link#2                        U           lo0
fe80::1%lo0                       link#2                        UHS         lo0
fe80::%wlan0/64                   link#3                        U         wlan0
fe80::e2ca:94ff:fe7e:d00e%wlan0   link#3                        UHS         lo0
ff01::%lo0/32                     ::1                           U           lo0
ff01::%wlan0/32                   fe80::e2ca:94ff:fe7e:d00e%wlan0 U         wlan0
ff02::%lo0/32                     ::1                           U           lo0
ff02::%wlan0/32                   fe80::e2ca:94ff:fe7e:d00e%wlan0 U         wlan0


Old binary (from freebsd 9-stable) work fine:
./route add default 192.168.1.1
add net default: gateway 192.168.1.1

Delete default also failed:

route delete default
route: fiboptlist_csv failed.


Kernel config - GENERIC without -g
MALLOC_PRODUCTION=1

-- 
This message is for the person(s) named above only and may contain privileged, proprietary, or otherwise private information. If you received this transmission in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.
From owner-freebsd-current@FreeBSD.ORG  Sat Dec  8 16:03:23 2012
Return-Path: <owner-freebsd-current@FreeBSD.ORG>
Delivered-To: freebsd-current@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
 by hub.freebsd.org (Postfix) with ESMTP id 327E6F23
 for <freebsd-current@freebsd.org>; Sat,  8 Dec 2012 16:03:23 +0000 (UTC)
 (envelope-from wblock@wonkity.com)
Received: from wonkity.com (wonkity.com [67.158.26.137])
 by mx1.freebsd.org (Postfix) with ESMTP id 822BE8FC08
 for <freebsd-current@freebsd.org>; Sat,  8 Dec 2012 16:03:22 +0000 (UTC)
Received: from wonkity.com (localhost [127.0.0.1])
 by wonkity.com (8.14.5/8.14.5) with ESMTP id qB8G3J1p094468;
 Sat, 8 Dec 2012 09:03:19 -0700 (MST)
 (envelope-from wblock@wonkity.com)
Received: from localhost (wblock@localhost)
 by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id qB8G3I5G094465;
 Sat, 8 Dec 2012 09:03:18 -0700 (MST)
 (envelope-from wblock@wonkity.com)
Date: Sat, 8 Dec 2012 09:03:18 -0700 (MST)
From: Warren Block <wblock@wonkity.com>
To: Garrett Cooper <yanegomi@gmail.com>
Subject: Re: 9.1-RC3 LiveCD missing features
In-Reply-To: <CAGH67wTLVNAk3k=Cfg2oHhchOk9cXSZO7ReKy2+bdy6b6XFvnw@mail.gmail.com>
Message-ID: <alpine.BSF.2.00.1212080855570.94390@wonkity.com>
References: <CAFYkXj=R=V=3pUH9FbKq3pdqtga-EuJuTB1avZxi2bkLhUs5WA@mail.gmail.com>
 <50C26999.6090802@gmail.com> <50C26EF3.5070300@ose.nl>
 <1354923273.87661.273.camel@revolution.hippie.lan>
 <CAFYkXjnto9nnkCopMPRkwGShPZ4GcHzHxD15y4iffUHri1K5Qg@mail.gmail.com>
 <CAGH67wTLVNAk3k=Cfg2oHhchOk9cXSZO7ReKy2+bdy6b6XFvnw@mail.gmail.com>
User-Agent: Alpine 2.00 (BSF 1167 2008-08-23)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7
 (wonkity.com [127.0.0.1]); Sat, 08 Dec 2012 09:03:19 -0700 (MST)
Cc: Bas Smeelen <b.smeelen@ose.nl>, Ian Lepore <freebsd@damnhippie.dyndns.org>,
 freebsd-current@freebsd.org, CeDeROM <cederom@tlen.pl>
X-BeenThere: freebsd-current@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Discussions about the use of FreeBSD-current
 <freebsd-current.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-current>, 
 <mailto:freebsd-current-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-current>;
List-Post: <mailto:freebsd-current@freebsd.org>
List-Help: <mailto:freebsd-current-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-current>,
 <mailto:freebsd-current-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 08 Dec 2012 16:03:23 -0000

On Fri, 7 Dec 2012, Garrett Cooper wrote:

> On Fri, Dec 7, 2012 at 11:06 PM, CeDeROM <cederom@tlen.pl> wrote:
>> Hello Ian :-)
>>
>> This is the problem - / is read only and /etc/resolv.conf already links to
>> nonexistent file. This way I cannot modify its content nor link other file
>> (i.e. /var/resolv.conf) to /etc/resolv.conf. Creating /var/resolv.conf does
>> not help either.
>>
>> I think /etc/resolv.conf should point to /var/resolv.conf from start so the
>> resolver is functional :-)
>
>    I generally get around this with mdmfs and unionfs mounts, but
> it's a bit annoying... I'll see if I can file a PR with all of the
> things that need to be fixed/enhanced and maybe fix some of the items
> if I get some time (if the liveCD used rc.initdiskless it would be
> considerably simpler and some key filesystems would be writable after
> boot).

Martin Matuska's excellent mfsBSD (http://mfsbsd.vx.sk/) could be a 
source for ideas or techniques.  It does things like this well.  (I was 
going to say it does *most* things well, but can't actually think of 
anything it does not do well.)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2452291.zQQ4fSp1fM>