misc/174902: jail should provide validator for jail names

Alexander Yerenkow yerenkow at gmail.com
Wed Jan 2 16:20:00 UTC 2013


>Number:         174902
>Category:       misc
>Synopsis:       jail should provide validator for jail names
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 02 16:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Yerenkow
>Release:        FreeBSD 9.1
>Organization:
>Environment:
>Description:
Currently, such tools as poudriere, ezjail, etc are using jails.
But, jail names aren't validated there (at least in poudriere).
For example, you can create podudriere-jail "9.1R", but you can't run build - since jail failing start jail with such name.
To not reimplement name validation in many places, jail subsyste, should provide unified way to validate jail names.
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list