Bug 1195873 - virt-manager virtual network DNS Domain Name rules are incorrect
Summary: virt-manager virtual network DNS Domain Name rules are incorrect
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: virt-manager
Version: 21
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Cole Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-24 18:13 UTC by Kevin Clevenger
Modified: 2015-04-07 07:28 UTC (History)
3 users (show)

Fixed In Version: virt-manager-1.1.0-5.git310f6527.fc21
Clone Of:
Environment:
Last Closed: 2015-04-07 07:28:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Kevin Clevenger 2015-02-24 18:13:38 UTC
Description of problem:
When creating a virtual network with a name of "10-1" and a DNS Domain Name (on the last panel) of "10-1" I get the following error:
Invalid Domain 
Name Domain name may contain alphanumeric and '_' characters only

This seems contrary to accepted practice and rfc's that allow only ASCII letters, digits, and the '-' character. 

rfc1912: "The presence of underscores in a label is allowed in [RFC 1033], except [RFC 1033] is informational only and was not defining a standard. There is at least one popular TCP/IP implementation which currently refuses to talk to hosts named with underscores in them."

Version-Release number of selected component (if applicable):
virt-manager-1.0.1-5.fc20

How reproducible:
Create a virtual network and give it a DNS Domain Name including a dash

Actual results:
Error dialog "Invalid Domain"

Expected results:
Accept the domain name and finish

Additional info:

Comment 1 Cole Robinson 2015-03-26 21:12:11 UTC
Thanks for the report, fixed upstream:

commit af562320a5c4f9148dd7710547386ab203dd9849
Author: Cole Robinson <crobinso>
Date:   Thu Mar 26 17:11:23 2015 -0400

    createnet: Drop incorrect domain name validation (bz 1195873)

Comment 2 Fedora Update System 2015-03-27 21:12:34 UTC
virt-manager-1.1.0-5.git310f6527.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/virt-manager-1.1.0-5.git310f6527.fc21

Comment 3 Fedora Update System 2015-03-30 06:59:51 UTC
Package virt-manager-1.1.0-5.git310f6527.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing virt-manager-1.1.0-5.git310f6527.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-4962/virt-manager-1.1.0-5.git310f6527.fc21
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2015-04-07 07:28:14 UTC
virt-manager-1.1.0-5.git310f6527.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.