Change in ovirt-engine[master]: packaging: setup: fixing hostname validation

sbonazzo at redhat.com sbonazzo at redhat.com
Wed Jul 9 12:24:25 UTC 2014


Sandro Bonazzola has submitted this change and it was merged.

Change subject: packaging: setup: fixing hostname validation
......................................................................


packaging: setup: fixing hostname validation

engine-setup validates hostnames to avoid strange behaviours;
it's done via a regular expression.
Fixing it to avoid the match of '_' which is
not a valid character in a hostname according to RFC 952
An invalid hostname can cause strange behaviour interacting
with other components.

Change-Id: Id5c56bc5642bfb18629c1a0ad780e8a0e58a3531
Bug-url: https://bugzilla.redhat.com/1113974
Signed-off-by: Simone Tiraboschi <stirabos at redhat.com>
---
M packaging/setup/plugins/ovirt-engine-setup/base/network/hostname.py
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Sandro Bonazzola: Looks good to me, approved
  Simone Tiraboschi: Verified
  oVirt Jenkins CI Server: Looks good to me, but someone else must approve
  Yedidyah Bar David: Looks good to me, but someone else must approve



-- 
To view, visit http://gerrit.ovirt.org/29512
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Id5c56bc5642bfb18629c1a0ad780e8a0e58a3531
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Simone Tiraboschi <stirabos at redhat.com>
Gerrit-Reviewer: Lev Veyde <lveyde at redhat.com>
Gerrit-Reviewer: Ofer Schreiber <oschreib at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: Simone Tiraboschi <stirabos at redhat.com>
Gerrit-Reviewer: Yedidyah Bar David <didi at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list