From owner-freebsd-arch@FreeBSD.ORG Mon Feb 28 14:49:11 2011 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E99C106564A; Mon, 28 Feb 2011 14:49:11 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from argol.doit.wisc.edu (argol.doit.wisc.edu [144.92.197.212]) by mx1.freebsd.org (Postfix) with ESMTP id 50CE58FC13; Mon, 28 Feb 2011 14:49:11 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed Received: from avs-daemon.smtpauth3.wiscmail.wisc.edu by smtpauth3.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) id <0LHC0070415Y9K00@smtpauth3.wiscmail.wisc.edu>; Mon, 28 Feb 2011 08:49:10 -0600 (CST) Received: from comporellon.tachypleus.net (adsl-75-50-89-165.dsl.mdsnwi.sbcglobal.net [75.50.89.165]) by smtpauth3.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0LHC0045K15VVV10@smtpauth3.wiscmail.wisc.edu>; Mon, 28 Feb 2011 08:49:09 -0600 (CST) Date: Mon, 28 Feb 2011 08:49:07 -0600 From: Nathan Whitehorn To: freebsd-sysinstall@freebsd.org, freebsd-current Current , FreeBSD Arch Message-id: <4D6BB5E3.6020408@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=75.50.89.165 X-Spam-PmxInfo: Server=avs-13, Version=5.6.0.2009776, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2011.2.28.143914, SenderIP=75.50.89.165 User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20101214 Thunderbird/3.1.7 Cc: Subject: Request for review/testing: switching the default installer X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2011 14:49:11 -0000 BSDinstall has acquired at this point its final form (prior to a future merge with pc-sysinstall), and I believe is ready to replace sysinstall on the 9.0 snapshot ISOs. Barring any objections, I would like to pull this switch 2 weeks from today, on the 14th of March. A patch to the release infrastructure code can be found here (make release must be run with Makefile.bsdinstall using this patch to get non-sysinstall media): http://people.freebsd.org/~nwhitehorn/bsdinstall-release.diff Test ISOs for amd64 and i386 can be found here: http://people.freebsd.org/~nwhitehorn/bsdinstall-amd64-20110222.iso.bz2 http://people.freebsd.org/~nwhitehorn/bsdinstall-i386-20110224.iso.bz2 More recent test ISOs, as well as ones for other architectures, may be available at: http://wiki.freebsd.org/BSDInstall Bug reports would be very appreciated at this time. There are three known bugs currently, which will be fixed soon, so please don't report these: error reporting is not graceful if there are no writable disks in the system, you must select at least one optional component, and the doc build is not currently connected to the releases. There are some changes to the distribution format involved in this patch, which are outlined below, and about which I would also appreciate feedback: - The src tree is not split up into pieces (e.g. ssbin) as with sysinstall - Distfiles are not chunked, but are single xz-compressed archives - There is only one CD image produced, which is always also a live CD - There are no packages on this CD. There is about 100 MB of free space on it right now, so it might make sense to keep it this way and to make a separate packages CD/DVD. Removing packages from disc1 also makes cross-building release ISOs possible. Thanks to everyone who has provided testing and feedback over the last two months! -Nathan From owner-freebsd-arch@FreeBSD.ORG Mon Feb 28 14:57:02 2011 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1AFA2106564A; Mon, 28 Feb 2011 14:57:02 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (unknown [IPv6:2a01:348:0:15:5d59:5c40:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id C656B8FC08; Mon, 28 Feb 2011 14:57:01 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id DF226E8C98; Mon, 28 Feb 2011 14:56:58 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cran.org.uk; h=date:from :to:cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=mail; bh=ko5NawVPNZTq xLxKJkSTPyXgQv8=; b=XD4UZR7r2GnnTfgXoPHUGFyvor7kOmsEDeu9OYz945nn LQZibmAxC1JWZiOum167v59a41RJQyd+/H41XXZtPnvbh4cHznwkjdtODGim4umf Zl0xGVdC374G0iAq4Jl2OF3MWkQy3H4E5p30nnRNTDRet5GqWBx0/LBfqJrIMvA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=cran.org.uk; h=date:from:to :cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; q=dns; s=mail; b=l+vjhY m9/45Rq4S9QHOAVK+TktPhW3zcJb142Iap+vFp2GqsE85Uzt8oJ22w7tUKPd6Mlt jEM6e+9oUpE1+KE4L1ZYqxqO87f9+1tVEpA8G5B4HhdVVUFbt7FSEwteanArBg+g kLvkXWGtbyHPKvJ9d5qIgpy+kmxsA3oRuVg6c= Received: from unknown (client-86-31-236-253.oxfd.adsl.virginmedia.com [86.31.236.253]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id 83C9DE8C7C; Mon, 28 Feb 2011 14:56:58 +0000 (GMT) Date: Mon, 28 Feb 2011 14:56:33 +0000 From: Bruce Cran To: Nathan Whitehorn Message-ID: <20110228145633.00005f7d@unknown> In-Reply-To: <4D6BB5E3.6020408@freebsd.org> References: <4D6BB5E3.6020408@freebsd.org> X-Mailer: Claws Mail 3.7.8cvs9 (GTK+ 2.16.6; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-current Current , freebsd-sysinstall@freebsd.org, FreeBSD Arch Subject: Re: Request for review/testing: switching the default installer X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2011 14:57:02 -0000 On Mon, 28 Feb 2011 08:49:07 -0600 Nathan Whitehorn wrote: > - There is only one CD image produced, which is always also a live CD It would be really useful if a netinstall ISO could be made too - people still have slow Internet connections where having a bootonly disc is nice. For example Debian's 35 MB business-card CD is great when you can only download at 50 kB/s. -- Bruce Cran From owner-freebsd-arch@FreeBSD.ORG Mon Feb 28 15:21:41 2011 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 464F51065672; Mon, 28 Feb 2011 15:21:41 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from argol.doit.wisc.edu (argol.doit.wisc.edu [144.92.197.212]) by mx1.freebsd.org (Postfix) with ESMTP id 160498FC0A; Mon, 28 Feb 2011 15:21:40 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed Received: from avs-daemon.smtpauth3.wiscmail.wisc.edu by smtpauth3.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) id <0LHC00A082O42R00@smtpauth3.wiscmail.wisc.edu>; Mon, 28 Feb 2011 09:21:40 -0600 (CST) Received: from comporellon.tachypleus.net (adsl-75-50-89-165.dsl.mdsnwi.sbcglobal.net [75.50.89.165]) by smtpauth3.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0LHC004W52O2VV20@smtpauth3.wiscmail.wisc.edu>; Mon, 28 Feb 2011 09:21:40 -0600 (CST) Date: Mon, 28 Feb 2011 09:21:38 -0600 From: Nathan Whitehorn In-reply-to: <20110228145633.00005f7d@unknown> To: Bruce Cran Message-id: <4D6BBD82.2080800@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=75.50.89.165 X-Spam-PmxInfo: Server=avs-14, Version=5.6.0.2009776, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2011.2.28.151514, SenderIP=75.50.89.165 References: <4D6BB5E3.6020408@freebsd.org> <20110228145633.00005f7d@unknown> User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20101214 Thunderbird/3.1.7 Cc: freebsd-current Current , freebsd-sysinstall@freebsd.org, FreeBSD Arch Subject: Re: Request for review/testing: switching the default installer X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2011 15:21:41 -0000 On 02/28/11 08:56, Bruce Cran wrote: > On Mon, 28 Feb 2011 08:49:07 -0600 > Nathan Whitehorn wrote: > >> - There is only one CD image produced, which is always also a live CD > It would be really useful if a netinstall ISO could be made too - > people still have slow Internet connections where having a bootonly > disc is nice. For example Debian's 35 MB business-card CD is great when > you can only download at 50 kB/s. Yes, I agree. The netinstall stuff is only really useful once the FTP mirrors start carrying the new distribution format, so it isn't hooked up yet. I've been keeping track of (and minimizing) the tools used by the installer, which should help select what things should do on this disk and in case we also want to produce some super-minimal TFTP-able MFS root in the future. -Nathan From owner-freebsd-arch@FreeBSD.ORG Mon Feb 28 15:28:05 2011 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2281106564A; Mon, 28 Feb 2011 15:28:05 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 70E1B8FC29; Mon, 28 Feb 2011 15:28:05 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 285E246B2E; Mon, 28 Feb 2011 10:28:05 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.10]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id BBE8E8A01B; Mon, 28 Feb 2011 10:28:04 -0500 (EST) From: John Baldwin To: freebsd-current@freebsd.org Date: Mon, 28 Feb 2011 10:20:12 -0500 User-Agent: KMail/1.13.5 (FreeBSD/7.4-CBSD-20110107; KDE/4.4.5; amd64; ; ) References: <4D6BB5E3.6020408@freebsd.org> In-Reply-To: <4D6BB5E3.6020408@freebsd.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201102281020.12599.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Mon, 28 Feb 2011 10:28:04 -0500 (EST) Cc: FreeBSD Arch , Nathan Whitehorn , freebsd-sysinstall@freebsd.org Subject: Re: Request for review/testing: switching the default installer X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2011 15:28:05 -0000 On Monday, February 28, 2011 9:49:07 am Nathan Whitehorn wrote: > BSDinstall has acquired at this point its final form (prior to a future > merge with pc-sysinstall), and I believe is ready to replace sysinstall > on the 9.0 snapshot ISOs. Barring any objections, I would like to pull > this switch 2 weeks from today, on the 14th of March. > > A patch to the release infrastructure code can be found here (make > release must be run with Makefile.bsdinstall using this patch to get > non-sysinstall media): > http://people.freebsd.org/~nwhitehorn/bsdinstall-release.diff Hmm, does your installed world include the pre-built mergemaster database? That should really be preserved. It happens here in the old release Makefile: # Install the system into the various distributions. release.2: cd ${.CURDIR}/.. && ${CROSSMAKE} distrib-dirs DESTDIR=${RD}/trees/base cd ${.CURDIR}/.. && ${CROSSMAKE} ${WORLD_FLAGS} distributeworld \ DISTDIR=${RD}/trees sh ${.CURDIR}/scripts/mm-mtree.sh -F "${CROSSENV}" -D "${RD}/trees/base" touch ${.TARGET} I use a one-line patch locally to bootstrap etcupdate into the worlds I package up at work via a similar one-liner. > Test ISOs for amd64 and i386 can be found here: > http://people.freebsd.org/~nwhitehorn/bsdinstall-amd64-20110222.iso.bz2 > http://people.freebsd.org/~nwhitehorn/bsdinstall-i386-20110224.iso.bz2 > > More recent test ISOs, as well as ones for other architectures, may be > available at: > http://wiki.freebsd.org/BSDInstall > > Bug reports would be very appreciated at this time. There are three > known bugs currently, which will be fixed soon, so please don't report > these: error reporting is not graceful if there are no writable disks in > the system, you must select at least one optional component, and the doc > build is not currently connected to the releases. > > There are some changes to the distribution format involved in this > patch, which are outlined below, and about which I would also appreciate > feedback: > - The src tree is not split up into pieces (e.g. ssbin) as with sysinstall I would at least like to have src split up into two pieces: 1) would be equivalent of sbase and ssys of old distributions, so you could choose to just install kernel sources along with the top-level Makefile bits to build kernels. I commonly install this subset on production machines so I can install a custom kernel in a pinch. 2) would be everything else in the source tree. > - Distfiles are not chunked, but are single xz-compressed archives > - There is only one CD image produced, which is always also a live CD > - There are no packages on this CD. There is about 100 MB of free space > on it right now, so it might make sense to keep it this way and to make > a separate packages CD/DVD. Removing packages from disc1 also makes > cross-building release ISOs possible. Packages were always optional on disc1 anyway, but moving them completely off is probably ok. -- John Baldwin From owner-freebsd-arch@FreeBSD.ORG Tue Mar 1 17:57:00 2011 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ADA691065670 for ; Tue, 1 Mar 2011 17:57:00 +0000 (UTC) (envelope-from etnapierala@googlemail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3F28D8FC19 for ; Tue, 1 Mar 2011 17:56:59 +0000 (UTC) Received: by fxm19 with SMTP id 19so5665549fxm.13 for ; Tue, 01 Mar 2011 09:56:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:sender:from:content-type :content-transfer-encoding:subject:date:message-id:to:mime-version :x-mailer; bh=8Xa7xfliuko94r4DkZsRn9vUABcgBUM7VOvucfq7DQU=; b=B6Teked9FsrYSrOQD9tyfD7IhbiDeCBDvNVD2A3c8QpE4B/g1VNr+H/VXILPiXKb6K RZMAXoZHenYlv0aFOQ6oQeNYJQketibdWvOdSrClrcyiHStNTOPo7hZXveVgUpjdtUPf Xbw3xITYuiMEkL9Q/PaBiksmbcvv0DJJqv2ps= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=sender:from:content-type:content-transfer-encoding:subject:date :message-id:to:mime-version:x-mailer; b=dUAEwUrQUR5kZKTXWW42zXIbIOmL3vRqKvgwZUMDMsTzvnL6uq2NQPHqLGOJGkGBnQ kYkyxdWMgqwVEPALK1mQeQgMyGtUUHxB8YOX/m50YHaM/j+RhpLFkPnDcMZNRZriagOJ JqxpKSqv7MMqjimNsZYPtGiQLAYz9i4Q+iM4I= Received: by 10.223.103.198 with SMTP id l6mr2534650fao.99.1299000138835; Tue, 01 Mar 2011 09:22:18 -0800 (PST) Received: from [192.168.1.102] (45.81.datacomsa.pl [195.34.81.45]) by mx.google.com with ESMTPS id e6sm2277279fav.8.2011.03.01.09.22.17 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 01 Mar 2011 09:22:17 -0800 (PST) Sender: =?UTF-8?Q?Edward_Tomasz_Napiera=C5=82a?= From: =?iso-8859-2?Q?Edward_Tomasz_Napiera=B3a?= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue, 1 Mar 2011 18:22:15 +0100 Message-Id: <41A35BDD-7EF0-47C5-BA3D-2E3F9C9C5540@FreeBSD.org> To: "arch@" Mime-Version: 1.0 (Apple Message framework v1082) X-Mailer: Apple Mail (2.1082) Subject: Adding setloginclass(2) and getloginclass(2). X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2011 17:57:00 -0000 At http://people.freebsd.org/~trasz/loginclass.diff, you can find a patch that adds login class information to the kernel. The patch does not contain changes to autogenerated files; to test it, do "make sysent" in sys/kern/ and sys/compat/freebsd32/. The patch itself doesn't add much user-visible functionality, although being able to do "ps aux -o class" might be useful. However, login classes are a prerequisite for RCTL, aka Resource Containers - system administrator can use rules such as "loginclass:users:nproc:deny=100/user", to replace resource limits usually defined in login.conf(5), or use rule such as "loginclass:users:nproc:deny=100/loginclass", to limit the number of processes for the whole login class, achieving something similar to SunOS "projects". Since this involves adding two new syscalls, I'd like to hear some opinion about it - it's hard to change these afterwards. -- If you cut off my head, what would I say? Me and my head, or me and my body? From owner-freebsd-arch@FreeBSD.ORG Tue Mar 1 22:12:08 2011 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5017F106566B; Tue, 1 Mar 2011 22:12:08 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 29BE28FC14; Tue, 1 Mar 2011 22:12:08 +0000 (UTC) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by cyrus.watson.org (Postfix) with ESMTPS id AAB5246B2E; Tue, 1 Mar 2011 17:12:07 -0500 (EST) Date: Tue, 1 Mar 2011 22:12:07 +0000 (GMT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: =?ISO-8859-2?Q?Edward_Tomasz_Napiera=B3a?= In-Reply-To: <41A35BDD-7EF0-47C5-BA3D-2E3F9C9C5540@FreeBSD.org> Message-ID: References: <41A35BDD-7EF0-47C5-BA3D-2E3F9C9C5540@FreeBSD.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="621616949-1238814302-1299017527=:52352" Cc: "arch@" Subject: Re: Adding setloginclass(2) and getloginclass(2). X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2011 22:12:08 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --621616949-1238814302-1299017527=:52352 Content-Type: TEXT/PLAIN; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8BIT On Tue, 1 Mar 2011, Edward Tomasz Napierała wrote: > At http://people.freebsd.org/~trasz/loginclass.diff, you can find a patch > that adds login class information to the kernel. The patch does not contain > changes to autogenerated files; to test it, do "make sysent" in sys/kern/ > and sys/compat/freebsd32/. > > The patch itself doesn't add much user-visible functionality, although being > able to do "ps aux -o class" might be useful. However, login classes are a > prerequisite for RCTL, aka Resource Containers - system administrator can > use rules such as "loginclass:users:nproc:deny=100/user", to replace > resource limits usually defined in login.conf(5), or use rule such as > "loginclass:users:nproc:deny=100/loginclass", to limit the number of > processes for the whole login class, achieving something similar to SunOS > "projects". > > Since this involves adding two new syscalls, I'd like to hear some opinion > about it - it's hard to change these afterwards. Could you say a little about how you hande jails/chroots/etc? Robert --621616949-1238814302-1299017527=:52352-- From owner-freebsd-arch@FreeBSD.ORG Wed Mar 2 06:41:40 2011 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 503F81065674; Wed, 2 Mar 2011 06:41:40 +0000 (UTC) (envelope-from etnapierala@googlemail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id A90378FC20; Wed, 2 Mar 2011 06:41:39 +0000 (UTC) Received: by fxm19 with SMTP id 19so6314997fxm.13 for ; Tue, 01 Mar 2011 22:41:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer; bh=6Vewp2JuYTdsQXXJMzDSzStHDAAUo1zetRLnmVdUlqw=; b=siQA1vvXObb/cg03JMB2p2nAy0BnPWXVmKm86ud/IjwzTfD0Jr40yChq9KTjhl7Yu7 byPPbGupuGTjaZZyKKgXuYyaR9MG4NBX0bfbPpZESpjTV9sDyzFkRWs2a2saKwguohVE pdLLS2RZPVpQ6Y5FEBagMMLFUcF1ebt5Ih5o8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=AL3YpEeTf4ezDqMg/c3u1ohMYkalLFmOzsekz/j9p+wwHIxJvPfU79idWo3aDYTZ4Y BmJzneE4vgK3LqWav0O+F6KQLeXGs/+6pxOw/5IIxsleyKwC5jA6x0QsWxtG87hla/qw MKTkvcP1OVcGlqn4I9wNQPnqWDgCitY69BvzE= Received: by 10.223.1.134 with SMTP id 6mr7190524faf.70.1299048098597; Tue, 01 Mar 2011 22:41:38 -0800 (PST) Received: from [192.168.1.102] (45.81.datacomsa.pl [195.34.81.45]) by mx.google.com with ESMTPS id o17sm914333fal.25.2011.03.01.22.41.36 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 01 Mar 2011 22:41:37 -0800 (PST) Sender: =?UTF-8?Q?Edward_Tomasz_Napiera=C5=82a?= Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=iso-8859-2 From: =?iso-8859-2?Q?Edward_Tomasz_Napiera=B3a?= In-Reply-To: Date: Wed, 2 Mar 2011 07:41:35 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <1C210696-D8D8-4234-BD06-52100F60D9FB@FreeBSD.org> References: <41A35BDD-7EF0-47C5-BA3D-2E3F9C9C5540@FreeBSD.org> To: Robert Watson X-Mailer: Apple Mail (2.1082) Cc: "arch@" Subject: Re: Adding setloginclass(2) and getloginclass(2). X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 06:41:40 -0000 Wiadomo=B6=E6 napisana przez Robert Watson w dniu 2011-03-01, o godz. = 23:12: > On Tue, 1 Mar 2011, Edward Tomasz Napiera=B3a wrote: >> At http://people.freebsd.org/~trasz/loginclass.diff, you can find a = patch that adds login class information to the kernel. The patch does = not contain changes to autogenerated files; to test it, do "make sysent" = in sys/kern/ and sys/compat/freebsd32/. >>=20 >> The patch itself doesn't add much user-visible functionality, = although being able to do "ps aux -o class" might be useful. However, = login classes are a prerequisite for RCTL, aka Resource Containers - = system administrator can use rules such as = "loginclass:users:nproc:deny=3D100/user", to replace resource limits = usually defined in login.conf(5), or use rule such as = "loginclass:users:nproc:deny=3D100/loginclass", to limit the number of = processes for the whole login class, achieving something similar to = SunOS "projects". >>=20 >> Since this involves adding two new syscalls, I'd like to hear some = opinion about it - it's hard to change these afterwards. >=20 > Could you say a little about how you hande jails/chroots/etc? I don't; I consider them orthogonal. There is, of course, the problem of jailed root setting the same login class as the one used outside, but it's similar to the UIDs shared between jails and the outside. As for the other behaviour - login classes are very similar to uidinfo; the biggest differences are that they are not used for access control and are not supposed to be changed after logging in. I just realized I forgot to include code that allows jailed root to use setloginclass(2). I'll update the patch later today. -- If you cut off my head, what would I say? Me and my head, or me and my = body? From owner-freebsd-arch@FreeBSD.ORG Wed Mar 2 11:20:02 2011 Return-Path: Delivered-To: arch@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 92548106564A; Wed, 2 Mar 2011 11:20:02 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 68A3E8FC14; Wed, 2 Mar 2011 11:20:02 +0000 (UTC) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by cyrus.watson.org (Postfix) with ESMTPS id E2E4A46B8F; Wed, 2 Mar 2011 06:20:01 -0500 (EST) Date: Wed, 2 Mar 2011 11:20:01 +0000 (GMT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: arch@FreeBSD.org In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cl-capsicum-discuss@lists.cam.ac.uk, current@FreeBSD.org Subject: Capsicum merge in progress (was: Re: Capsicum -- 9.x merge in sight) X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 11:20:02 -0000 On Sat, 22 Jan 2011, Robert Watson wrote: > Jon and my current plan is to merge, over the next few months, various > kernel features required to support Capscium sandboxing for FreeBSD 9.0: > first capability mode support (this week), then capabilities themselves > (which are a form of file descriptor in Capsicum), followed by process > descriptors (a file descriptor alternative to process IDs that may be used > by supporting applications). The current plan is *not* to merge > libcapsicum, a userspace library used by certain applications to construct > sandboxes, as we feel the API remains insufficiently mature at this point. > However, the Capsicum system calls can still be used directly by > applications, including Chromium. We would distribute libcapsicum as a > package alongside 9.0, just not as a supported OS API for the time being. FYI: Jon and I have now started the merge; I committed basic kernel capability mode support yesterday (cap_enter(2), cap_getmode(2), new errno values, capabilities.conf). Over the next few weeks we'll merge man pages, additional kernel support for capability mode and capabilities, including delegated file system subtrees in capability mode, cap_new(2) and friends, process descriptors, and so on. Kernel support for these features will remain conditional on compiling in options CAPABILITIES (and later options PROCDESC) for the time being. Robert From owner-freebsd-arch@FreeBSD.ORG Wed Mar 2 15:37:05 2011 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E45B106564A; Wed, 2 Mar 2011 15:37:05 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from adsum.doit.wisc.edu (adsum.doit.wisc.edu [144.92.197.210]) by mx1.freebsd.org (Postfix) with ESMTP id F07B28FC12; Wed, 2 Mar 2011 15:37:04 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed Received: from avs-daemon.smtpauth1.wiscmail.wisc.edu by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) id <0LHF00M0KSPSJA00@smtpauth1.wiscmail.wisc.edu>; Wed, 02 Mar 2011 09:37:04 -0600 (CST) Received: from comporellon.tachypleus.net (adsl-75-50-89-165.dsl.mdsnwi.sbcglobal.net [75.50.89.165]) by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0LHF0082KSPM8T60@smtpauth1.wiscmail.wisc.edu>; Wed, 02 Mar 2011 09:36:59 -0600 (CST) Date: Wed, 02 Mar 2011 09:36:58 -0600 From: Nathan Whitehorn In-reply-to: <201102281020.12599.jhb@freebsd.org> To: John Baldwin Message-id: <4D6E641A.4060109@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=75.50.89.165 X-Spam-PmxInfo: Server=avs-13, Version=5.6.0.2009776, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2011.3.2.152715, SenderIP=75.50.89.165 References: <4D6BB5E3.6020408@freebsd.org> <201102281020.12599.jhb@freebsd.org> User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.14) Gecko/20110301 Thunderbird/3.1.8 Cc: freebsd-current@freebsd.org, freebsd-sysinstall@freebsd.org, FreeBSD Arch Subject: Re: Request for review/testing: switching the default installer X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 15:37:05 -0000 On 02/28/11 09:20, John Baldwin wrote: > On Monday, February 28, 2011 9:49:07 am Nathan Whitehorn wrote: >> BSDinstall has acquired at this point its final form (prior to a future >> merge with pc-sysinstall), and I believe is ready to replace sysinstall >> on the 9.0 snapshot ISOs. Barring any objections, I would like to pull >> this switch 2 weeks from today, on the 14th of March. >> >> A patch to the release infrastructure code can be found here (make >> release must be run with Makefile.bsdinstall using this patch to get >> non-sysinstall media): >> http://people.freebsd.org/~nwhitehorn/bsdinstall-release.diff > Hmm, does your installed world include the pre-built mergemaster database? > That should really be preserved. > > It happens here in the old release Makefile: > > # Install the system into the various distributions. > release.2: > cd ${.CURDIR}/..&& ${CROSSMAKE} distrib-dirs DESTDIR=${RD}/trees/base > cd ${.CURDIR}/..&& ${CROSSMAKE} ${WORLD_FLAGS} distributeworld \ > DISTDIR=${RD}/trees > sh ${.CURDIR}/scripts/mm-mtree.sh -F "${CROSSENV}" -D > "${RD}/trees/base" > touch ${.TARGET} > > I use a one-line patch locally to bootstrap etcupdate into the worlds I > package up at work via a similar one-liner. And this is why sending out patches for review is a good idea. I've updated my code to call into this script, though it would be nice if, say, make distribution handled this. Thanks for pointing it out. >> Test ISOs for amd64 and i386 can be found here: >> http://people.freebsd.org/~nwhitehorn/bsdinstall-amd64-20110222.iso.bz2 >> http://people.freebsd.org/~nwhitehorn/bsdinstall-i386-20110224.iso.bz2 >> >> More recent test ISOs, as well as ones for other architectures, may be >> available at: >> http://wiki.freebsd.org/BSDInstall >> >> Bug reports would be very appreciated at this time. There are three >> known bugs currently, which will be fixed soon, so please don't report >> these: error reporting is not graceful if there are no writable disks in >> the system, you must select at least one optional component, and the doc >> build is not currently connected to the releases. >> >> There are some changes to the distribution format involved in this >> patch, which are outlined below, and about which I would also appreciate >> feedback: >> - The src tree is not split up into pieces (e.g. ssbin) as with sysinstall > I would at least like to have src split up into two pieces: > > 1) would be equivalent of sbase and ssys of old distributions, so you could > choose to just install kernel sources along with the top-level Makefile bits > to build kernels. I commonly install this subset on production machines so I > can install a custom kernel in a pinch. > > 2) would be everything else in the source tree. This is a little bit tricky, since it involves inter-distribution dependencies which don't currently exist (e.g. you need sbase for ssys to be useful, and for severythingelse to be useful). I suppose that the top-level Makefile bits are small and could end up in both archives, where one can overwrite the other with the same thing. Would that solve your problem? -Nathan From owner-freebsd-arch@FreeBSD.ORG Wed Mar 2 16:06:37 2011 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4E31D106567F; Wed, 2 Mar 2011 16:06:37 +0000 (UTC) (envelope-from nyan@FreeBSD.org) Received: from sakura.ccs.furiru.org (sakura.ccs.furiru.org [IPv6:2001:2f0:104:8060::1]) by mx1.freebsd.org (Postfix) with ESMTP id CA7298FC1D; Wed, 2 Mar 2011 16:06:36 +0000 (UTC) Received: from localhost (authenticated bits=0) by sakura.ccs.furiru.org (unknown) with ESMTP id p22G6TL3047133; Thu, 3 Mar 2011 01:06:32 +0900 (JST) (envelope-from nyan@FreeBSD.org) Date: Thu, 03 Mar 2011 01:06:28 +0900 (JST) Message-Id: <20110303.010628.59640143160060699.nyan@FreeBSD.org> To: nwhitehorn@freebsd.org From: TAKAHASHI Yoshihiro In-Reply-To: <4D6BB5E3.6020408@freebsd.org> References: <4D6BB5E3.6020408@freebsd.org> X-Mailer: Mew version 6.3 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, freebsd-sysinstall@freebsd.org, freebsd-arch@freebsd.org Subject: Re: Request for review/testing: switching the default installer X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 16:06:37 -0000 In article <4D6BB5E3.6020408@freebsd.org> Nathan Whitehorn writes: > BSDinstall has acquired at this point its final form (prior to a > future merge with pc-sysinstall), and I believe is ready to replace > sysinstall on the 9.0 snapshot ISOs. Barring any objections, I would > like to pull this switch 2 weeks from today, on the 14th of March. > > A patch to the release infrastructure code can be found here (make > release must be run with Makefile.bsdinstall using this patch to get > non-sysinstall media): > http://people.freebsd.org/~nwhitehorn/bsdinstall-release.diff In Makefile.bsdinstall: +cdrom: + echo kernel_options=\"-C\" > ${DISTDIR}/release/boot/loader.conf + sh /usr/src/release/${TARGET}/mkisoimages.sh -b FreeBSD_Install ${DISTDIR}/release.iso ${DISTDIR}/release + rm ${DISTDIR}/release/boot/loader.conf ${TARGET} must be ${TARGET_ARCH} because pc98 and sunv4 don't have mkisoimages.sh script. Do you have a plan to add a floppy support as boot device? Pc98 machines which can boot from CD-ROM are very limited. So we usually use FD for boot media to install. --- TAKAHASHI Yoshihiro From owner-freebsd-arch@FreeBSD.ORG Wed Mar 2 16:12:00 2011 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EBC32106564A; Wed, 2 Mar 2011 16:12:00 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from argol.doit.wisc.edu (argol.doit.wisc.edu [144.92.197.212]) by mx1.freebsd.org (Postfix) with ESMTP id BA8448FC08; Wed, 2 Mar 2011 16:12:00 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed Received: from avs-daemon.smtpauth3.wiscmail.wisc.edu by smtpauth3.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) id <0LHF00100UBZAS00@smtpauth3.wiscmail.wisc.edu>; Wed, 02 Mar 2011 10:11:59 -0600 (CST) Received: from comporellon.tachypleus.net (adsl-75-50-89-165.dsl.mdsnwi.sbcglobal.net [75.50.89.165]) by smtpauth3.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0LHF00DILUBNXY70@smtpauth3.wiscmail.wisc.edu>; Wed, 02 Mar 2011 10:11:49 -0600 (CST) Date: Wed, 02 Mar 2011 10:11:47 -0600 From: Nathan Whitehorn In-reply-to: <20110303.010628.59640143160060699.nyan@FreeBSD.org> To: TAKAHASHI Yoshihiro Message-id: <4D6E6C43.4010101@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=75.50.89.165 X-Spam-PmxInfo: Server=avs-12, Version=5.6.0.2009776, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2011.3.2.160315, SenderIP=75.50.89.165 References: <4D6BB5E3.6020408@freebsd.org> <20110303.010628.59640143160060699.nyan@FreeBSD.org> User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.14) Gecko/20110301 Thunderbird/3.1.8 Cc: freebsd-current@freebsd.org, freebsd-sysinstall@freebsd.org, freebsd-arch@freebsd.org Subject: Re: Request for review/testing: switching the default installer X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 16:12:01 -0000 On 03/02/11 10:06, TAKAHASHI Yoshihiro wrote: > In article<4D6BB5E3.6020408@freebsd.org> > Nathan Whitehorn writes: > >> BSDinstall has acquired at this point its final form (prior to a >> future merge with pc-sysinstall), and I believe is ready to replace >> sysinstall on the 9.0 snapshot ISOs. Barring any objections, I would >> like to pull this switch 2 weeks from today, on the 14th of March. >> >> A patch to the release infrastructure code can be found here (make >> release must be run with Makefile.bsdinstall using this patch to get >> non-sysinstall media): >> http://people.freebsd.org/~nwhitehorn/bsdinstall-release.diff > In Makefile.bsdinstall: > > +cdrom: > + echo kernel_options=\"-C\"> ${DISTDIR}/release/boot/loader.conf > + sh /usr/src/release/${TARGET}/mkisoimages.sh -b FreeBSD_Install ${DISTDIR}/release.iso ${DISTDIR}/release > + rm ${DISTDIR}/release/boot/loader.conf > > ${TARGET} must be ${TARGET_ARCH} because pc98 and sunv4 don't have > mkisoimages.sh script. I was thinking of just copying the i386/mkisoimages.sh and making the -G behavior the default. It seems to me to make more sense to use MACHINE than MACHINE_ARCH for this, since pc98 seems to have different requirements than i386. We could just copy the sparc64 install script for sun4v. > Do you have a plan to add a floppy support as boot device? Pc98 > machines which can boot from CD-ROM are very limited. So we usually > use FD for boot media to install. No, I hadn't thought about this. If there aren't any machines you care about that don't have a CD drive at all, we could try a CD-bootloader-on-a-floppy as a solution. I think a totally floppy based install would be very difficult to arrange, however. -Nathan From owner-freebsd-arch@FreeBSD.ORG Wed Mar 2 16:47:53 2011 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D774106564A; Wed, 2 Mar 2011 16:47:53 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 289738FC14; Wed, 2 Mar 2011 16:47:53 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id B49F446B06; Wed, 2 Mar 2011 11:47:52 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.10]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 202598A027; Wed, 2 Mar 2011 11:47:52 -0500 (EST) From: John Baldwin To: Nathan Whitehorn Date: Wed, 2 Mar 2011 11:45:33 -0500 User-Agent: KMail/1.13.5 (FreeBSD/7.4-CBSD-20110107; KDE/4.4.5; amd64; ; ) References: <4D6BB5E3.6020408@freebsd.org> <201102281020.12599.jhb@freebsd.org> <4D6E641A.4060109@freebsd.org> In-Reply-To: <4D6E641A.4060109@freebsd.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201103021145.33376.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Wed, 02 Mar 2011 11:47:52 -0500 (EST) Cc: freebsd-current@freebsd.org, freebsd-sysinstall@freebsd.org, FreeBSD Arch Subject: Re: Request for review/testing: switching the default installer X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 16:47:53 -0000 On Wednesday, March 02, 2011 10:36:58 am Nathan Whitehorn wrote: > On 02/28/11 09:20, John Baldwin wrote: > > On Monday, February 28, 2011 9:49:07 am Nathan Whitehorn wrote: > >> BSDinstall has acquired at this point its final form (prior to a future > >> merge with pc-sysinstall), and I believe is ready to replace sysinstall > >> on the 9.0 snapshot ISOs. Barring any objections, I would like to pull > >> this switch 2 weeks from today, on the 14th of March. > >> > >> A patch to the release infrastructure code can be found here (make > >> release must be run with Makefile.bsdinstall using this patch to get > >> non-sysinstall media): > >> http://people.freebsd.org/~nwhitehorn/bsdinstall-release.diff > > Hmm, does your installed world include the pre-built mergemaster database? > > That should really be preserved. > > > > It happens here in the old release Makefile: > > > > # Install the system into the various distributions. > > release.2: > > cd ${.CURDIR}/..&& ${CROSSMAKE} distrib-dirs DESTDIR=${RD}/trees/base > > cd ${.CURDIR}/..&& ${CROSSMAKE} ${WORLD_FLAGS} distributeworld \ > > DISTDIR=${RD}/trees > > sh ${.CURDIR}/scripts/mm-mtree.sh -F "${CROSSENV}" -D > > "${RD}/trees/base" > > touch ${.TARGET} > > > > I use a one-line patch locally to bootstrap etcupdate into the worlds I > > package up at work via a similar one-liner. > > And this is why sending out patches for review is a good idea. I've > updated my code to call into this script, though it would be nice if, > say, make distribution handled this. Thanks for pointing it out. > > >> Test ISOs for amd64 and i386 can be found here: > >> http://people.freebsd.org/~nwhitehorn/bsdinstall-amd64-20110222.iso.bz2 > >> http://people.freebsd.org/~nwhitehorn/bsdinstall-i386-20110224.iso.bz2 > >> > >> More recent test ISOs, as well as ones for other architectures, may be > >> available at: > >> http://wiki.freebsd.org/BSDInstall > >> > >> Bug reports would be very appreciated at this time. There are three > >> known bugs currently, which will be fixed soon, so please don't report > >> these: error reporting is not graceful if there are no writable disks in > >> the system, you must select at least one optional component, and the doc > >> build is not currently connected to the releases. > >> > >> There are some changes to the distribution format involved in this > >> patch, which are outlined below, and about which I would also appreciate > >> feedback: > >> - The src tree is not split up into pieces (e.g. ssbin) as with sysinstall > > I would at least like to have src split up into two pieces: > > > > 1) would be equivalent of sbase and ssys of old distributions, so you could > > choose to just install kernel sources along with the top-level Makefile bits > > to build kernels. I commonly install this subset on production machines so I > > can install a custom kernel in a pinch. > > > > 2) would be everything else in the source tree. > > This is a little bit tricky, since it involves inter-distribution > dependencies which don't currently exist (e.g. you need sbase for ssys > to be useful, and for severythingelse to be useful). I suppose that the > top-level Makefile bits are small and could end up in both archives, > where one can overwrite the other with the same thing. Would that solve > your problem? Hmm, my thinking is ssys would include sbase, and severythingelse would require ssys. That is already true since libc needs syscall.mk from the kernel sources anyway. From a user perspective you end up with three choices: no sources, kernel sources, or all sources. -- John Baldwin From owner-freebsd-arch@FreeBSD.ORG Thu Mar 3 09:10:50 2011 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BECD91065673; Thu, 3 Mar 2011 09:10:50 +0000 (UTC) (envelope-from nyan@FreeBSD.org) Received: from sakura.ccs.furiru.org (sakura.ccs.furiru.org [IPv6:2001:2f0:104:8060::1]) by mx1.freebsd.org (Postfix) with ESMTP id 4B3A68FC1B; Thu, 3 Mar 2011 09:10:50 +0000 (UTC) Received: from localhost (authenticated bits=0) by sakura.ccs.furiru.org (unknown) with ESMTP id p239AkWK051515; Thu, 3 Mar 2011 18:10:48 +0900 (JST) (envelope-from nyan@FreeBSD.org) Date: Thu, 03 Mar 2011 18:10:45 +0900 (JST) Message-Id: <20110303.181045.59640143227211744.nyan@FreeBSD.org> To: nwhitehorn@freebsd.org From: TAKAHASHI Yoshihiro In-Reply-To: <4D6E6C43.4010101@freebsd.org> References: <4D6BB5E3.6020408@freebsd.org> <20110303.010628.59640143160060699.nyan@FreeBSD.org> <4D6E6C43.4010101@freebsd.org> X-Mailer: Mew version 6.3 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, freebsd-sysinstall@freebsd.org, freebsd-arch@freebsd.org Subject: Re: Request for review/testing: switching the default installer X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 09:10:50 -0000 In article <4D6E6C43.4010101@freebsd.org> Nathan Whitehorn writes: >> Do you have a plan to add a floppy support as boot device? Pc98 >> machines which can boot from CD-ROM are very limited. So we usually >> use FD for boot media to install. > > No, I hadn't thought about this. If there aren't any machines you care > about that don't have a CD drive at all, we could try a > CD-bootloader-on-a-floppy as a solution. I think a totally floppy > based install would be very difficult to arrange, however. The boot-only-floppy image is very useful for us. --- TAKAHASHI Yoshihiro From owner-freebsd-arch@FreeBSD.ORG Thu Mar 3 09:19:10 2011 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B2F61065670; Thu, 3 Mar 2011 09:19:10 +0000 (UTC) (envelope-from freebsd@psconsult.nl) Received: from mx1.psconsult.nl (unknown [IPv6:2001:7b8:30f:e0::5059:ee8a]) by mx1.freebsd.org (Postfix) with ESMTP id 203BB8FC0A; Thu, 3 Mar 2011 09:19:09 +0000 (UTC) Received: from mx1.psconsult.nl (psc11.adsl.iaf.nl [80.89.238.138]) by mx1.psconsult.nl (8.14.4/8.14.4) with ESMTP id p239J3vs086623 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 3 Mar 2011 10:19:08 +0100 (CET) (envelope-from freebsd@psconsult.nl) Received: (from paul@localhost) by mx1.psconsult.nl (8.14.4/8.14.4/Submit) id p239J36a086622; Thu, 3 Mar 2011 10:19:03 +0100 (CET) (envelope-from freebsd@psconsult.nl) X-Authentication-Warning: mx1.psconsult.nl: paul set sender to freebsd@psconsult.nl using -f Date: Thu, 3 Mar 2011 10:19:03 +0100 From: Paul Schenkeveld To: freebsd-arch@freebsd.org, freebsd-current@freebsd.org Message-ID: <20110303091903.GA79958@psconsult.nl> References: <4D6BB5E3.6020408@freebsd.org> <201102281020.12599.jhb@freebsd.org> <4D6E641A.4060109@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D6E641A.4060109@freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Subject: Re: Request for review/testing: switching the default installer X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 09:19:10 -0000 On Wed, Mar 02, 2011 at 09:36:58AM -0600, Nathan Whitehorn wrote: > On 02/28/11 09:20, John Baldwin wrote: > > On Monday, February 28, 2011 9:49:07 am Nathan Whitehorn wrote: > >> There are some changes to the distribution format involved in this > >> patch, which are outlined below, and about which I would also appreciate > >> feedback: > >> - The src tree is not split up into pieces (e.g. ssbin) as with sysinstall > > I would at least like to have src split up into two pieces: > > > > 1) would be equivalent of sbase and ssys of old distributions, so you could > > choose to just install kernel sources along with the top-level Makefile bits > > to build kernels. I commonly install this subset on production machines so I > > can install a custom kernel in a pinch. > > > > 2) would be everything else in the source tree. > > This is a little bit tricky, since it involves inter-distribution > dependencies which don't currently exist (e.g. you need sbase for ssys > to be useful, and for severythingelse to be useful). I suppose that the > top-level Makefile bits are small and could end up in both archives, > where one can overwrite the other with the same thing. Would that solve > your problem? > -Nathan Why not put the toplevel Makefiles, README and perhaps COPYRIGHT and MAINTAINERS file into base? This way there are no inter-dependencies between src parts, /usr/src will consume only a modest bit of space in base but documents wat ont would be able to do is sbase/ssys were installed. Regards, Paul Schenkeveld From owner-freebsd-arch@FreeBSD.ORG Thu Mar 3 10:47:58 2011 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C42B106566B; Thu, 3 Mar 2011 10:47:58 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id C69018FC0A; Thu, 3 Mar 2011 10:47:57 +0000 (UTC) Received: by iyj12 with SMTP id 12so944148iyj.13 for ; Thu, 03 Mar 2011 02:47:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:from :date:x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=E52h3T0QafvlN1wa/NOMEYR+bKvK71llZxOZwPby9yU=; b=ShyQTDakQWoW/H091RkP5VWTCspYMYw6z3+czz97LBeQF2xcyY/jlOHYfbaidykdWx 5ZJ6QTfOgSjOrh9nn0DuPIfpVNpGldoOOCPPt3ktRnC+LxjTCbD53i8DSxDzNjCoiWj+ 6K6xBDbSJYnB3C+dHnB7lXqXQyVquiZZdOZiY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=fxoG8V9vhQwMOBt22kE1HcUo5yEkxCjEn5P1nQvH52UUGxKAy0rwxWlnnwii2xDttM b1YazGyIeouvf1RAZ3BFwNFfEF0YmzPe9HSl0RQMG8YThYiVqfVUvLnyeyCRn65DQw1X jj/jnvBGw9tQ8zteYXMZjoGx9ZOFA6a0mRQUk= Received: by 10.231.16.131 with SMTP id o3mr830011iba.5.1299147750215; Thu, 03 Mar 2011 02:22:30 -0800 (PST) MIME-Version: 1.0 Sender: baptiste.daroussin@gmail.com Received: by 10.231.224.94 with HTTP; Thu, 3 Mar 2011 02:22:10 -0800 (PST) In-Reply-To: <20110303091903.GA79958@psconsult.nl> References: <4D6BB5E3.6020408@freebsd.org> <201102281020.12599.jhb@freebsd.org> <4D6E641A.4060109@freebsd.org> <20110303091903.GA79958@psconsult.nl> From: Baptiste Daroussin Date: Thu, 3 Mar 2011 11:22:10 +0100 X-Google-Sender-Auth: J-Dh0BXpe45gqPK0GNBuBMfWmrs Message-ID: To: Paul Schenkeveld Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org, freebsd-arch@freebsd.org Subject: Re: Request for review/testing: switching the default installer X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 10:47:58 -0000 2011/3/3 Paul Schenkeveld : > On Wed, Mar 02, 2011 at 09:36:58AM -0600, Nathan Whitehorn wrote: >> On 02/28/11 09:20, John Baldwin wrote: >> > On Monday, February 28, 2011 9:49:07 am Nathan Whitehorn wrote: >> >> There are some changes to the distribution format involved in this >> >> patch, which are outlined below, and about which I would also appreci= ate >> >> feedback: >> >> - The src tree is not split up into pieces (e.g. ssbin) as with sysin= stall >> > I would at least like to have src split up into two pieces: >> > >> > 1) would be equivalent of sbase and ssys of old distributions, so you = could >> > choose to just install kernel sources along with the top-level Makefil= e bits >> > to build kernels. =A0I commonly install this subset on production mach= ines so I >> > can install a custom kernel in a pinch. >> > >> > 2) would be everything else in the source tree. >> >> This is a little bit tricky, since it involves inter-distribution >> dependencies which don't currently exist (e.g. you need sbase for ssys >> to be useful, and for severythingelse to be useful). I suppose that the >> top-level Makefile bits are small and could end up in both archives, >> where one can overwrite the other with the same thing. Would that solve >> your problem? >> -Nathan > > Why not put the toplevel Makefiles, README and perhaps COPYRIGHT and > MAINTAINERS file into base? =A0This way there are no inter-dependencies > between src parts, /usr/src will consume only a modest bit of space > in base but documents wat ont would be able to do is sbase/ssys were > installed. > > Regards, > > Paul Schenkeveld > _______________________________________________ > freebsd-arch@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arch > To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org" > While working on this maybe it would be interesting to now use makefs instead of mkisofs, making installer generation 100% self hosting. makefs has recently been updating to a recent version from netbsd and now support iso9660, I already managed to create bootable livecd with it. regards, Bapt From owner-freebsd-arch@FreeBSD.ORG Thu Mar 3 20:55:16 2011 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id 3C814106564A; Thu, 3 Mar 2011 20:55:16 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from doug-optiplex.ka9q.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id B8B1414E110; Thu, 3 Mar 2011 20:55:08 +0000 (UTC) Message-ID: <4D70002C.2090308@FreeBSD.org> Date: Thu, 03 Mar 2011 12:55:08 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.14) Gecko/20110301 Thunderbird/3.1.8 MIME-Version: 1.0 To: Baptiste Daroussin References: <4D6BB5E3.6020408@freebsd.org> <201102281020.12599.jhb@freebsd.org> <4D6E641A.4060109@freebsd.org> <20110303091903.GA79958@psconsult.nl> In-Reply-To: X-Enigmail-Version: 1.1.2 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, Paul Schenkeveld , freebsd-arch@freebsd.org Subject: Re: Request for review/testing: switching the default installer X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 20:55:16 -0000 On 03/03/2011 02:22, Baptiste Daroussin wrote: > While working on this maybe it would be interesting to now use makefs > instead of mkisofs, making installer generation 100% self hosting. > > makefs has recently been updating to a recent version from netbsd and > now support iso9660, I already managed to create bootable livecd with > it. That would be very nice. There is a weird situation now where you can't do ISO creation within 'make release' without also building ports, which is a lot of overhead. I "solved" this problem by scripting the ISO creation as a separate step, but it felt kludgy to me. Another nice improvement in this space would be to be able to select the specific ISO(s) that you want to create. Doug -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/