From owner-freebsd-jail@FreeBSD.ORG Mon Dec 9 11:06:48 2013 Return-Path: Delivered-To: freebsd-jail@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9E9711A5 for ; Mon, 9 Dec 2013 11:06:48 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8995E1E7C for ; Mon, 9 Dec 2013 11:06:48 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rB9B6m0H071042 for ; Mon, 9 Dec 2013 11:06:48 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rB9B6mE2071038 for freebsd-jail@FreeBSD.org; Mon, 9 Dec 2013 11:06:48 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 9 Dec 2013 11:06:48 GMT Message-Id: <201312091106.rB9B6mE2071038@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.17 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Dec 2013 11:06:48 -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 conf/181650 jail [jail] [patch] /etc/rc.d/jail fails if a kernel built o kern/180916 jail [jail] [regression] jail startup is broken for 8.4 wit o kern/180067 jail [jail] [patch] fix multicast support within jails o bin/178302 jail jail(8): unknown parameter: ip6.addr when kernel compi o kern/176112 jail [jail] [panic] kernel panic when starting jails o kern/174902 jail [jail] jail should provide validator for jail names 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 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 18 problems total. From owner-freebsd-jail@FreeBSD.ORG Mon Dec 9 23:23:05 2013 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 578C377; Mon, 9 Dec 2013 23:23:05 +0000 (UTC) Received: from cosmo.uchicago.edu (cosmo.uchicago.edu [128.135.52.97]) by mx1.freebsd.org (Postfix) with ESMTP id 1138F19EF; Mon, 9 Dec 2013 23:23:04 +0000 (UTC) Received: by cosmo.uchicago.edu (Postfix, from userid 48) id 7BDBFCB8C8E; Mon, 9 Dec 2013 16:57:11 -0600 (CST) Received: from 128.135.70.2 (SquirrelMail authenticated user valeri) by cosmo.uchicago.edu with HTTP; Mon, 9 Dec 2013 16:57:11 -0600 (CST) Message-ID: <24528.128.135.70.2.1386629831.squirrel@cosmo.uchicago.edu> In-Reply-To: <56141.128.135.70.2.1384825435.squirrel@cosmo.uchicago.edu> References: <20131013105853.GA63463@doom-labs.net> <525A8AB5.9000102@FreeBSD.org> <20131013122217.GA87222@doom-labs.net> <20131013131901.GA55678@doom-labs.net> <56141.128.135.70.2.1384825435.squirrel@cosmo.uchicago.edu> Date: Mon, 9 Dec 2013 16:57:11 -0600 (CST) Subject: Re: stagedir vs. jail From: "Valeri Galtsev" To: galtsev@kicp.uchicago.edu User-Agent: SquirrelMail/1.4.8-5.el5.centos.7 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-jail@freebsd.org, Ekkehard Gehm , freebsd-ports@freebsd.org X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: galtsev@kicp.uchicago.edu List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Dec 2013 23:23:05 -0000 And answering the question (weird: the on I was asking too...) just in case someone still needs the solution. I upgraded to latest release 9.2, rebuilt jails (by the book) and the issue is gone: all works like a charm, no staging directory problem. Thanks. Valeri ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ On Mon, November 18, 2013 7:43 pm, Valeri Galtsev wrote: > Hi Ekkehard, > > Did you find the solution or workaround? Could you point to it of you you > found one. As I still have this problem in quite a few on jails, so, it > doesn't look like it was solved on jail support or port support level. > > Thanks. > Valeri > > On Sun, October 13, 2013 7:19 am, Ekkehard Gehm wrote: >> A quick addition: >> >> My Jail is buid exactly as discribed in the jail handbook: >> http://www.freebsd.org/doc/handbook/jails-application.html >> >> So hanging around with this issue because of this staging thing is a bit >> *argl* >> >> Cheers, >> >> Ekki >> >> On Sun, 13 Oct 2013, Ekkehard Gehm wrote something like: >> >>> Ahoi! >>> >>> On Sun, 13 Oct 2013, Matthew Seaman wrote something like: >>> >>> > On 13/10/2013 11:58, Ekkehard Gehm wrote: >>> > > I resently have some problems installing/updating ports. The main >>> > > problem is that the stagedir path is somehow messed up. >>> > > >>> > > The system is running FreeBSD 9.1-RELEASE-p6 and I'm working in a >>> > > jail. While building it creates the stagedir in >>> > > /s/portbuild/usr/ports/...../usr/local/ BUT: When it comes to the >>> pkg >>> > > building it suddently is looking in .../usr-local/.. witch acctualy >>> > > is a part of the symlink. (In the jail /usr/local is a symlink to >>> > > /s/usr-local). Resulting in an failure. >>> > > >>> > > The only workiaround is disabling stage completly thru >>> make.conf... >>> > > As this is very quick'n'dirty I wonder if there is any other >>> > > solution! >>> > >>> > Your subject line is (perhaps) a bit misleading: this seems to be >>> > nothing specific to the use of jails, but due to having sym-links in >>> > various paths. It could happen just the same if you laid out your >>> host >>> > filesystem using sym-links. >>> > >>> >>> Right. That might be... >>> >>> > Anyhow, this looks like a bug to me -- using sym-links to put your >>> > filesystem together should not result in chaos. >>> > >>> >>> >>> This is alo my understanding of this issue... >>> >>> > Are you using pkg(8)? There are differences in the way a package is >>> > generated from the staging directory between pkg(8) and pkg_create(1) >>> > which might make all the difference. >>> > >>> >>> Here is a short cut out of a build (portmaster portmaster): >>> >>> install -o root -g wheel -m 444 >>> /s/portbuild/usr/ports/ports-mgmt/portmaster/wo >>> >>> rk/freebsd-portmaster-7359019/files/bash-completions >>> /s/portbuild/usr/ports/por >>> >>> ts-mgmt/portmaster/work/stage/usr/local/etc/bash_completion.d/portmaster.sh >>> ====> Compressing man pages >>> ===> Building package for portmaster-3.17.2 >>> Creating package >>> /s/portbuild/usr/ports/ports-mgmt/portmaster/work/portmaster-3. >>> 17.2.tbz >>> Registering depends:. >>> Creating bzip'd tar ball in >>> '/s/portbuild/usr/ports/ports-mgmt/portmaster/work/p >>> ortmaster-3.17.2.tbz' >>> tar: could not chdir to >>> '/s/portbuild/usr/ports/ports-mgmt/portmaster/work/stage >>> /s/usr-local' >>> >>> pkg_create: make_dist: tar command failed with code 256 >>> *** [do-package] Error code 1 >>> >>> Stop in /usr/ports/ports-mgmt/portmaster. >>> *** [install] Error code 1 >>> >>> Stop in /usr/ports/ports-mgmt/portmaster. >>> >>> ===>>> A backup package for portmaster-3.17.1 should >>> be located in /var/ports/packages/portmaster-backup >>> >>> ===>>> Installation of portmaster-3.17.2 (ports-mgmt/portmaster) failed >>> ===>>> Aborting update >>> >>> ===>>> Killing background jobs >>> Terminated >>> >>> ===>>> You can restart from the point of failure with this command >>> line: >>> portmaster ports-mgmt/portmaster >>> >>> ===>>> Exiting >>> >>> As a result portmaster is not working anymore... >>> > Is it all ports that are affected? Does the use of PLIST_FILES or >>> > PLIST_DIRS in the port Makefile make any difference compared to >>> having >>> a >>> > pkg-plist file? >>> > >>> > A possible work-around: instead of sym-linking /s/usr-local -> >>> > /usr/local use a nullfs mount instead. >>> > >>> > mount -t nullfs /s/usr-local /usr/local >>> > >>> > (Actually, you'ld probably do that from outside the jail so adjust >>> the >>> > paths accordingly.) >>> > >>> > Another workaround: set up your own poudriere instance to build >>> > packages for all your jails. poudriere(8) will create its own jails >>> to >>> > do package building in, and manage paths etc. itself. It's a natural >>> > partner to pkg(8) and zfs(8) but it will work without either of >>> those. >>> > >>> > Cheers, >>> > >>> > Matthew >>> > >>> > -- >>> > Dr Matthew J Seaman MA, D.Phil. >>> > PGP: http://www.infracaninophile.co.uk/pgpkey >>> > >>> > >>> >>> >>> >>> -- >>> Ekkehard Gehm * mailto:gehm@doom-labs.net >>> Doom-Labs Inc. * http://www.doom-labs.net >>> Frag Content * PGP-Key: >>> http://www.physik.tu-berlin.de/~gehm/pubkey.asc >>> >>> Experience is what you get when you were expecting something else. >>> >>> Microsoft: "Where do you want to go today?" >>> Linux: "Where do you want to go tomorrow?" >>> FreeBSD: "Are you guys coming or what?" >> >> >> >> -- >> Ekkehard Gehm * mailto:gehm@doom-labs.net >> Doom-Labs Inc. * http://www.doom-labs.net >> Frag Content * PGP-Key: >> http://www.physik.tu-berlin.de/~gehm/pubkey.asc >> >> Experience is what you get when you were expecting something else. >> >> Microsoft: "Where do you want to go today?" >> Linux: "Where do you want to go tomorrow?" >> FreeBSD: "Are you guys coming or what?" >> > > > ++++++++++++++++++++++++++++++++++++++++ > Valeri Galtsev > Sr System Administrator > Department of Astronomy and Astrophysics > Kavli Institute for Cosmological Physics > University of Chicago > Phone: 773-702-4247 > ++++++++++++++++++++++++++++++++++++++++ > _______________________________________________ > 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" > ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From owner-freebsd-jail@FreeBSD.ORG Thu Dec 12 11:02:01 2013 Return-Path: Delivered-To: freebsd-jail@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 056CCD0A; Thu, 12 Dec 2013 11:02:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CBFCD143A; Thu, 12 Dec 2013 11:02:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rBCB20k7010355; Thu, 12 Dec 2013 11:02:00 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rBCB20jY010354; Thu, 12 Dec 2013 11:02:00 GMT (envelope-from linimon) Date: Thu, 12 Dec 2013 11:02:00 GMT Message-Id: <201312121102.rBCB20jY010354@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-jail@FreeBSD.org From: linimon@FreeBSD.org Subject: Re: kern/184719: [jail] Starting jails: cannot start jail "domain_com": X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Dec 2013 11:02:01 -0000 Old Synopsis: Starting jails: cannot start jail "domain_com": New Synopsis: [jail] Starting jails: cannot start jail "domain_com": Responsible-Changed-From-To: freebsd-bugs->freebsd-jail Responsible-Changed-By: linimon Responsible-Changed-When: Thu Dec 12 11:01:43 UTC 2013 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=184719