From nobody@FreeBSD.org  Thu Apr  5 11:09:30 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 72CAC106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  5 Apr 2012 11:09:30 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 5D7878FC0A
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  5 Apr 2012 11:09:30 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q35B9T1t054976
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 5 Apr 2012 11:09:29 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q35B9TMQ054975;
	Thu, 5 Apr 2012 11:09:29 GMT
	(envelope-from nobody)
Message-Id: <201204051109.q35B9TMQ054975@red.freebsd.org>
Date: Thu, 5 Apr 2012 11:09:29 GMT
From: "Herbert Voj&#269;k" <herby@mailbox.sk>
To: freebsd-gnats-submit@FreeBSD.org
Subject: qjail update -b remove uglyporthack
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: qjail@a1poweruser.com

>Number:         166666
>Category:       ports
>Synopsis:       sysutils/qjail update -b removes uglyperlhack
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    crees
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 05 11:10:01 UTC 2012
>Closed-Date:    Fri Apr 13 17:17:08 UTC 2012
>Last-Modified:  Fri Apr 13 18:00:25 UTC 2012
>Originator:     Herbert Voj&#269;k
>Release:        9.0-RELEASE
>Organization:
>Environment:
FreeBSD devel 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC 2012     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
perl is not able to start (for example, build of ffmpeg fails) in jail managed by qjail after when 'qjail update -b' was executed.
>How-To-Repeat:
In host, install qjail.
In host, create a jail under qjail
In a jail, install perl.
In a jail, perl works (though it was not able to install /usr/bin/perl link; but qjail employs "uglyperlhack" technique by supplying /usr/bin/perl -> /usr/local/bin/perl symlink in advance).
In host, run 'qjail -b update' as root (this recopies basejail /usr/bin/ from the host)
In a jail, everything works but perl (which lost /usr/bin/perl symlink due to update).
>Fix:
Update qjail script so that it reinstates perluglyhack at the end of 'qjail update -b'.

(in general, need for uglyperlhack could be mitigated by using unionfs instead of nullfs to mount /usr/jails/jailname/basejail into /usr/jails/basejail. This would fix _any_ changes outside /usr/local in a way that it saves them per jail and reuses them in subsequent starts; it saves them into jail's basejail directory using unionfs)


>Release-Note:
>Audit-Trail:

From: =?UTF-8?B?SGVyYnkgVm9qxI3DrWs=?= <herby@mailbox.sk>
To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org
Cc:  
Subject: Re: ports/166666: qjail update -b remove uglyporthack
Date: Thu, 05 Apr 2012 14:59:10 +0200

 s/uglyporthack/uglyperlhack/
 
 Sorry, typo.
 
 also 's/remove ugly/removes ugly/' in synopsis.
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Thu Apr 5 23:47:07 UTC 2012 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=166666 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: qjail@a1poweruser.com
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/166666: sysutils/qjail update -b removes uglyperlhack
Date: Thu, 5 Apr 2012 23:47:06 UT

 Maintainer of sysutils/qjail,
 
 Please note that PR ports/166666 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/166666
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org
State-Changed-From-To: feedback->closed 
State-Changed-By: crees 
State-Changed-When: Fri Apr 13 17:17:04 UTC 2012 
State-Changed-Why:  
Fixed in ports/166917 . Thanks! 


Responsible-Changed-From-To: freebsd-ports-bugs->crees 
Responsible-Changed-By: crees 
Responsible-Changed-When: Fri Apr 13 17:17:04 UTC 2012 
Responsible-Changed-Why:  
Fixed in ports/166917 . Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=166666 

From: "joeb1" <joeb1@a1poweruser.com>
To: <bug-followup@FreeBSD.org>,
	<qjail@a1poweruser.com>
Cc:  
Subject: RE: ports/166666: sysutils/qjail update -b removes uglyperlhack
Date: Fri, 13 Apr 2012 13:15:25 -0400

 Fix submitted.
 http://www.freebsd.org/cgi/query-pr.cgi?pr=166917
 
 -----Original Message-----
 From: Edwin Groothuis [mailto:edwin@FreeBSD.org]
 Sent: Thursday, April 05, 2012 7:47 PM
 To: qjail@a1poweruser.com
 Cc: bug-followup@FreeBSD.org
 Subject: Re: ports/166666: sysutils/qjail update -b removes uglyperlhack
 
 Maintainer of sysutils/qjail,
 
 Please note that PR ports/166666 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/166666
 
 --
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org
 

From: "qjail" <qjail@a1poweruser.com>
To: <bug-followup@FreeBSD.org>
Cc:  
Subject: RE: ports/166666: sysutils/qjail update -b removes uglyperlhack
Date: Fri, 13 Apr 2012 13:16:54 -0400

 Fix submitted.
 http://www.freebsd.org/cgi/query-pr.cgi?pr=166917
 
 -----Original Message-----
 From: Edwin Groothuis [mailto:edwin@FreeBSD.org]
 Sent: Thursday, April 05, 2012 7:47 PM
 To: qjail@a1poweruser.com
 Cc: bug-followup@FreeBSD.org
 Subject: Re: ports/166666: sysutils/qjail update -b removes uglyperlhack
 
 Maintainer of sysutils/qjail,
 
 Please note that PR ports/166666 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/166666
 
 --
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/166666: commit references a PR
Date: Fri, 13 Apr 2012 17:50:59 +0000 (UTC)

 crees       2012-04-13 17:50:43 UTC
 
   FreeBSD ports repository
 
   Modified files:
     sysutils/qjail       Makefile distinfo 
   Log:
   Update to 1.3;
   
     Updated script so that the perluglyhack code is added to the end of
     qjail update -b logic
   
   PR:             ports/166666
   PR:             ports/166917
   Submitted by:   Joe Barbish (maintainer)
   
   Revision  Changes    Path
   1.5       +1 -1      ports/sysutils/qjail/Makefile
   1.5       +2 -2      ports/sysutils/qjail/distinfo
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
