ports/176677: ezjail does not support jailnames with non-aplhanumeric characters

Adam adenergy at hotmail.com
Wed Mar 6 04:30:01 UTC 2013


>Number:         176677
>Category:       ports
>Synopsis:       ezjail does not support jailnames with non-aplhanumeric characters
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 06 04:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Adam
>Release:        9.1-RELEASE
>Organization:
.
>Environment:
9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4 09:23:10 UTC 2012     root at farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Port - ezjail (ezjail-3.2.3)

The ezjail-admin script limits the characters that can be used in the name of a jail.
eg. ezjail_safename=echo -n ${ezjail_name} | tr -c [:alnum:] _

The man page currently states - 
It is an error to have several jails of the same name, note that
due to ezjail's internal jailname sanitation, sand-box.com
and sand_box_com are considered identical.

I would like to be able to use a naming standard that allows the base name of the host to be used in the name of the jail. eg. hostname-j1

Would it be possible for the maintainer to update ezjail to support some additional non-alphanumeric characters such as - in the names of jails to assist with creating easily identifiable jail names.

Thanks

>How-To-Repeat:
Use the ezjail-admin utility to manage a jail with a name containing non-alphanumerif characters

>Fix:


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


More information about the freebsd-ports-bugs mailing list