From owner-freebsd-jail@FreeBSD.ORG Mon Jan 14 11:06:49 2013 Return-Path: Delivered-To: freebsd-jail@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 027F94D2 for ; Mon, 14 Jan 2013 11:06:49 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id E9085641 for ; Mon, 14 Jan 2013 11:06:48 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r0EB6mrk086425 for ; Mon, 14 Jan 2013 11:06:48 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r0EB6mSY086423 for freebsd-jail@FreeBSD.org; Mon, 14 Jan 2013 11:06:48 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 14 Jan 2013 11:06:48 GMT Message-Id: <201301141106.r0EB6mSY086423@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-jail@FreeBSD.org Subject: Current problem reports assigned to freebsd-jail@FreeBSD.org X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jan 2013 11:06:49 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/174902 jail [jail] jail should provide validator for jail names o kern/174436 jail [jail] Jails with numbers as names don't work o bin/173469 jail [jail] regression: security.jail.sysvipc_allowed=1 no o kern/169751 jail [jail] reading routing information does not work in ja o bin/167911 jail new jail(8) problem with removal, ifconfg -alias and k o kern/159918 jail [jail] inter-jail communication failure o kern/156111 jail [jail] procstat -b not supported in jail o misc/155765 jail [patch] `buildworld' does not honors WITHOUT_JAIL o conf/154246 jail [jail] [patch] Bad symlink created if devfs mount poin o conf/149050 jail [jail] rcorder ``nojail'' too coarse for Jail+VNET s conf/142972 jail [jail] [patch] Support JAILv2 and vnet in rc.d/jail o conf/141317 jail [patch] uncorrect jail stop in /etc/rc.d/jail o kern/133265 jail [jail] is there a solution how to run nfs client in ja o kern/119842 jail [smbfs] [jail] "Bad address" with smbfs inside a jail o bin/99566 jail [jail] [patch] fstat(1) according to specified jid 15 problems total. From owner-freebsd-jail@FreeBSD.ORG Tue Jan 15 02:20:38 2013 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C9E2F25A for ; Tue, 15 Jan 2013 02:20:38 +0000 (UTC) (envelope-from other@ahhyes.net) Received: from srv.ahhyes.net (unknown [IPv6:2001:470:1:203::1001]) by mx1.freebsd.org (Postfix) with ESMTP id AF297C17 for ; Tue, 15 Jan 2013 02:20:38 +0000 (UTC) Received: from [10.1.1.1] (helo=ahhyes.net) by srv.ahhyes.net with esmtpa (Exim 4.80 (FreeBSD)) (envelope-from ) id 1Tuw8e-0005Zm-HM for freebsd-jail@freebsd.org; Tue, 15 Jan 2013 13:20:37 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 15 Jan 2013 13:20:32 +1100 From: other@ahhyes.net To: Message-ID: <6ada79496d6ff60271992bdcc44a1882@ahhyes.net> X-Sender: other@ahhyes.net User-Agent: Roundcube Webmail/0.8.4 X-SA-Exim-Connect-IP: 10.1.1.1 X-SA-Exim-Mail-From: other@ahhyes.net X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.ahhyes.net X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=ham version=3.3.2 Subject: building with "CLANG" X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on srv.ahhyes.net) X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jan 2013 02:20:38 -0000 Hi Guys, I recently tried to give CLANG a go with rebuilding the system (9.0-RELEASE to 9.1-RELEASE). Having read: https://wiki.freebsd.org/BuildingFreeBSDWithClang everything seems to be working ok. I noticed something in the document that got me concerned: # Don't forget this when using Jails! NO_FSCHG= There is a suggestion to add the above to src.conf -- Can someone please explain what this does? Having forgotten to do this, am I going to have any major problems? Alex. From owner-freebsd-jail@FreeBSD.ORG Tue Jan 15 02:24:55 2013 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E22BD2EA for ; Tue, 15 Jan 2013 02:24:55 +0000 (UTC) (envelope-from alexus@gmail.com) Received: from mail-oa0-f49.google.com (mail-oa0-f49.google.com [209.85.219.49]) by mx1.freebsd.org (Postfix) with ESMTP id A2267C3F for ; Tue, 15 Jan 2013 02:24:55 +0000 (UTC) Received: by mail-oa0-f49.google.com with SMTP id l10so4636739oag.8 for ; Mon, 14 Jan 2013 18:24:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=AVF3+G7M9e3rndWyYI2SNUapoEAfhtCFA2RKBqcMytc=; b=Rpp9Vac08ND34S1Wj4EFFDoYVayuic0izdcmZWB00g0Rq8kvOUf9y4vpDGeKOHpjRU g8OKAmkd58+5ObBxQlgm2kmxwpcn5xu1YXf8EDmt/O5AqMhIGZGlLU9wk2IUDxViEjVJ dn/kFLOH29+GtdcNMykXo4JCmth6eXj8ChfiEvRjWbNyS3srlfTgnIIhprAl+UnrEwQm r9J4rSLio1X1HiOxqqXmbu7JDc3qir3JACkYPbB8kunoRvj5dARQ64yV//R/T1DDjGrc QWUJW10RWapkScopWcJDUxlfhMh9GtW8kIxURAMiTxaXDm9lKYDA5010oDPAM5hB/wiS dpWw== MIME-Version: 1.0 Received: by 10.182.145.4 with SMTP id sq4mr49545019obb.33.1358216689500; Mon, 14 Jan 2013 18:24:49 -0800 (PST) Received: by 10.76.153.2 with HTTP; Mon, 14 Jan 2013 18:24:49 -0800 (PST) In-Reply-To: <6ada79496d6ff60271992bdcc44a1882@ahhyes.net> References: <6ada79496d6ff60271992bdcc44a1882@ahhyes.net> Date: Mon, 14 Jan 2013 21:24:49 -0500 Message-ID: Subject: Re: building with "CLANG" From: alexus To: other@ahhyes.net Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-jail@freebsd.org X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jan 2013 02:24:55 -0000 i dont know what it does, but can't you just add this and (re)build world again? On Mon, Jan 14, 2013 at 9:20 PM, wrote: > Hi Guys, > > I recently tried to give CLANG a go with rebuilding the system > (9.0-RELEASE to 9.1-RELEASE). Having read: https://wiki.freebsd.org/** > BuildingFreeBSDWithClangeverything seems to be working ok. > > I noticed something in the document that got me concerned: > > # Don't forget this when using Jails! > NO_FSCHG= > > There is a suggestion to add the above to src.conf -- Can someone please > explain what this does? Having forgotten to do this, am I going to have any > major problems? > > Alex. > > ______________________________**_________________ > freebsd-jail@freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-jail > To unsubscribe, send any mail to "freebsd-jail-unsubscribe@**freebsd.org > " > -- http://alexus.org/ From owner-freebsd-jail@FreeBSD.ORG Tue Jan 15 02:30:32 2013 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9C5F83E2 for ; Tue, 15 Jan 2013 02:30:32 +0000 (UTC) (envelope-from other@ahhyes.net) Received: from srv.ahhyes.net (unknown [IPv6:2001:470:1:203::1001]) by mx1.freebsd.org (Postfix) with ESMTP id 8097ECD6 for ; Tue, 15 Jan 2013 02:30:32 +0000 (UTC) Received: from [10.1.1.1] (helo=ahhyes.net) by srv.ahhyes.net with esmtpa (Exim 4.80 (FreeBSD)) (envelope-from ) id 1TuwII-0004rE-Et for freebsd-jail@freebsd.org; Tue, 15 Jan 2013 13:30:32 +1100 MIME-Version: 1.0 Date: Tue, 15 Jan 2013 13:30:30 +1100 From: other@ahhyes.net To: In-Reply-To: References: <6ada79496d6ff60271992bdcc44a1882@ahhyes.net> Message-ID: <191d7b2570889a980a349b588e6a93ed@ahhyes.net> X-Sender: other@ahhyes.net User-Agent: Roundcube Webmail/0.8.4 X-SA-Exim-Connect-IP: 10.1.1.1 X-SA-Exim-Mail-From: other@ahhyes.net X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.ahhyes.net X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,HTML_MESSAGE autolearn=ham version=3.3.2 Subject: Re: building with "CLANG" X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on srv.ahhyes.net) Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jan 2013 02:30:32 -0000 Hi Alexus, I could, but it's going to be time consuming. There is almost no clues (even with a google search) on what this option does. I am waiting to know if I can safely keep going the way I am and not have any serious problems. I updated the base OS ok, I just reinstalled world for one of my jails and ran mergemaster also to update it. Didn't have any major issues however I noticed the NO_FSCHG= business in the article. Would be nice if someone could document what the hell NO_FSCHG= does.. Alex. On 2013-01-15 13:24, alexus wrote: > i dont know what it does, but can't you just add this and (re)build world again? > > On Mon, Jan 14, 2013 at 9:20 PM, wrote: > >> Hi Guys, >> >> I recently tried to give CLANG a go with rebuilding the system (9.0-RELEASE to 9.1-RELEASE). Having read: https://wiki.freebsd.org/BuildingFreeBSDWithClang [1] everything seems to be working ok. >> >> I noticed something in the document that got me concerned: >> >> # Don't forget this when using Jails! >> NO_FSCHG= >> >> There is a suggestion to add the above to src.conf -- Can someone please explain what this does? Having forgotten to do this, am I going to have any major problems? >> >> Alex. >> >> _______________________________________________ >> freebsd-jail@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-jail [2] >> To unsubscribe, send any mail to "freebsd-jail-unsubscribe@freebsd.org" > > -- > http://alexus.org/ [3] Links: ------ [1] https://wiki.freebsd.org/BuildingFreeBSDWithClang [2] http://lists.freebsd.org/mailman/listinfo/freebsd-jail [3] http://alexus.org/ From owner-freebsd-jail@FreeBSD.ORG Tue Jan 15 05:03:12 2013 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 254D865E for ; Tue, 15 Jan 2013 05:03:12 +0000 (UTC) (envelope-from ike@blackskyresearch.net) Received: from rs149.luxsci.com (rs149.luxsci.com [64.49.224.181]) by mx1.freebsd.org (Postfix) with ESMTP id DCB00855 for ; Tue, 15 Jan 2013 05:03:11 +0000 (UTC) Received: from rs149.luxsci.com (localhost.localdomain [127.0.0.1]) by rs149.luxsci.com (8.14.4/8.13.8) with ESMTP id r0F52v0H001453; Tue, 15 Jan 2013 00:02:57 -0500 Received: (from root@localhost) by rs149.luxsci.com (8.14.4/8.13.8/Submit) id r0F522DQ000456; Tue, 15 Jan 2013 05:02:02 GMT Received: (from sender 74627) (rs149.luxsci.com [127.0.0.1]) by LuxSci SP; Tue, 15 Jan 2013 05:02:02 +0000 Subject: Re: building with "CLANG" Content-Type: text/plain; charset=windows-1252 From: "Isaac (.ike) Levy" In-Reply-To: <191d7b2570889a980a349b588e6a93ed@ahhyes.net> Date: Tue, 15 Jan 2013 00:01:53 -0500 Content-Transfer-Encoding: quoted-printable References: <6ada79496d6ff60271992bdcc44a1882@ahhyes.net> <191d7b2570889a980a349b588e6a93ed@ahhyes.net> To: other@ahhyes.net X-Lux-Comment: Message r0F51rmE000344 sent by user #74627 Message-Id: <1358226122-1532940.73545663.fr0F51rmE000344@rs149.luxsci.com> X-Comment: LuxSci SP Message ID - 1358226122-1532940.73545663 Cc: freebsd-jail@freebsd.org X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jan 2013 05:03:12 -0000 Hi Guys, I can't bring myself to top-post on a BSD list,=20 And I'm in a particularly verbose mood as I debug an unrelated nasty = mess, On Jan 14, 2013, at 9:30 PM, other@ahhyes.net wrote: >=20 >=20 > Hi Alexus,=20 >=20 > I could, but it's going to be time consuming. There is > almost no clues (even with a google search) on what this option does. = I > am waiting to know if I can safely keep going the way I am and not = have > any serious problems. I updated the base OS ok, I just reinstalled = world > for one of my jails and ran mergemaster also to update it. Didn't have > any major issues however I noticed the NO_FSCHG=3D business in the > article.=20 >=20 > Would be nice if someone could document what the hell > NO_FSCHG=3D does..=20 >=20 In-deed! -- Deal is, after groking some source, I *believe* this signals clang not = to set particular files with the immutable 'schg' flag when installing = world to your $DESTDIR. Please try following up with the page author. (Perhaps jump in the Clang IRC channel listed on the page, and try to = ask the wiki page author?) -- If I am correct: I've not been down the clang jails path yet, (exciting!), but I'm = assuming this is a new convenience feature tossed in, with interesting = ramifications=85 The old days with jail: /rm -rf /path/to/jail/dir - This would fail without first recursively un-setting the schg = immutable flags on files in the filesystem. (UNIX newbs hit list, make new friends, and learn the power of = chflags(1)) So, NO_FSCHG is either extremely convenient, or extremely dangerous- = depending on what kind of packets reach your jailed interface=85 Why does this matter with jail(8)? With this convenience, much (if not all) of the functionally of the '-s' = flag in jail(8) is lost ! -s securelevel Set the kern.securelevel MIB entry to the specified value = inside the newly created jail. This is deprecated and is = equivalent to setting the securelevel parameter. -- This fun, goes way back, = http://seann.herdejurgen.com/resume/samag.com/html/v10/i05/a4.htm Basically, one could fork bomb the machine, rendering all jailed systems = useless- and BSD Secure Levels + login.conf in the jails were the = ultimate fix. Except back then, we didn't have the -s flag, (had to reboot a machine = into a higher secure level to get this kind of protection, pretty = inflexible, so it was rarely applied). Rocket- .ike =20 >>> I recently tried to give CLANG a go with > rebuilding the system (9.0-RELEASE to 9.1-RELEASE). Having read: > https://wiki.freebsd.org/BuildingFreeBSDWithClang [1] everything seems > to be working ok. >>>=20 >>> I noticed something in the document that got me > concerned: >>>=20 >>> # Don't forget this when using Jails! >>> NO_FSCHG=3D >>>=20 >=20 >>> There is a suggestion to add the above to src.conf -- Can someone > please explain what this does? Having forgotten to do this, am I going > to have any major problems? >>>=20 >>> Alex.