Bug 166666 - sysutils/qjail update -b removes uglyperlhack
Summary: sysutils/qjail update -b removes uglyperlhack
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Chris Rees
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-05 12:10 UTC by Herbert Vojčík
Modified: 2012-04-13 19:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Herbert Vojčík 2012-04-05 12:10:01 UTC
perl is not able to start (for example, build of ffmpeg fails) in jail managed by qjail after when 'qjail update -b' was executed.

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)
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).
Comment 1 Herbert Vojčík 2012-04-05 13:59:10 UTC
s/uglyporthack/uglyperlhack/

Sorry, typo.

also 's/remove ugly/removes ugly/' in synopsis.
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2012-04-06 00:47:06 UTC
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
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2012-04-06 00:47:07 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 4 joeb1 2012-04-13 18:15:25 UTC
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
Comment 5 qjail 2012-04-13 18:16:54 UTC
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
Comment 6 Chris Rees freebsd_committer freebsd_triage 2012-04-13 18:17:04 UTC
State Changed
From-To: feedback->closed

Fixed in ports/166917 . Thanks! 


Comment 7 Chris Rees freebsd_committer freebsd_triage 2012-04-13 18:17:04 UTC
Responsible Changed
From-To: freebsd-ports-bugs->crees

Fixed in ports/166917 . Thanks!
Comment 8 dfilter service freebsd_committer freebsd_triage 2012-04-13 18:50:59 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"