Bug 209737

Summary: sysutils/qjail: Upgrade to 4.7 (bugfixes)
Product: Ports & Packages Reporter: Joe Barbish <qjail1>
Component: Individual Port(s)Assignee: Dmitry Marakasov <amdmi3>
Status: Closed FIXED    
Severity: Affects Many People Keywords: easy, patch, patch-ready
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
port_diff qjail1: maintainer-approval+

Description Joe Barbish 2016-05-24 18:52:33 UTC
Created attachment 170616 [details]
port_diff

Summary of 4.7 update

  1. When running "qjail create -c" option for creating a jail with ssh and
     a user id / password of the jail name. On first start the user id 
     gets created in the jail. This first start status was not being 
     turned off. Added code to start logic to fix this.

  2. Did not like the way console function was handling console commands
     being passed to the jail for execution. Changed the logic so it works 
     like this. If -c option used alone or if -c & -u used together,
     them default jexec command format used. If no -c option then 
     "jexec jailname login -f <root or -u value>" format used. 
     This is real login causing the Welcome message to display.  

  3. Corrected the qjail manual console function to document usage of 
     -c and -u flags.
Comment 1 commit-hook freebsd_committer freebsd_triage 2016-05-26 13:17:01 UTC
A commit references this bug:

Author: amdmi3
Date: Thu May 26 13:16:48 UTC 2016
New revision: 415891
URL: https://svnweb.freebsd.org/changeset/ports/415891

Log:
  - Update to 4.7

  Changes:

  1. When running "qjail create -c" option for creating a jail with ssh and
     a user id / password of the jail name. On first start the user id
     gets created in the jail. This first start status was not being
     turned off. Added code to start logic to fix this.

  2. Did not like the way console function was handling console commands
     being passed to the jail for execution. Changed the logic so it works
     like this. If -c option used alone or if -c & -u used together,
     them default jexec command format used. If no -c option then
     "jexec jailname login -f <root or -u value>" format used.
     This is real login causing the Welcome message to display.

  3. Corrected the qjail manual console function to document usage of
     -c and -u flags.

  PR:		209737
  Submitted by:	qjail1@a1poweruser.com (maintainer)

Changes:
  head/sysutils/qjail/Makefile
  head/sysutils/qjail/distinfo