From owner-freebsd-current@FreeBSD.ORG Sat Dec 8 11:07:00 2012 Return-Path: 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 0E13757C for ; Sat, 8 Dec 2012 11:07:00 +0000 (UTC) (envelope-from artyom@ijminteractive.net) Received: from qs3206.pair.com (qs3206.pair.com [216.92.131.43]) by mx1.freebsd.org (Postfix) with ESMTP id C4DBB8FC13 for ; Sat, 8 Dec 2012 11:06:59 +0000 (UTC) Received: from home.alkar.net (nat1.id-telecom.net [178.215.171.16]) by qs3206.pair.com (Postfix) with ESMTPSA id 67D99E604A for ; Sat, 8 Dec 2012 06:01:20 -0500 (EST) From: Artyom Mirgorodskiy To: freebsd-current@freebsd.org Subject: rev 244030 route command is not working Date: Sat, 08 Dec 2012 13:00:57 +0200 Message-ID: <2452291.zQQ4fSp1fM@home.alkar.net> User-Agent: KMail/4.8.4 (FreeBSD/9.1-PRERELEASE; KDE/4.8.4; amd64; ; ) MIME-Version: 1.0 X-Mailman-Approved-At: Sat, 08 Dec 2012 15:02:05 +0000 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Dec 2012 11:07:00 -0000 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: 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 ; 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 ; 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 To: Garrett Cooper Subject: Re: 9.1-RC3 LiveCD missing features In-Reply-To: Message-ID: References: <50C26999.6090802@gmail.com> <50C26EF3.5070300@ose.nl> <1354923273.87661.273.camel@revolution.hippie.lan> 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 , Ian Lepore , freebsd-current@freebsd.org, CeDeROM X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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 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.)