Bug 982560 - install.pl --managed-db accepts invalid inputs
Summary: install.pl --managed-db accepts invalid inputs
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Installer
Version: 560
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Matej Kollar
QA Contact: Dimitar Yordanov
URL:
Whiteboard:
Depends On:
Blocks: sat570-lowbug
TreeView+ depends on / blocked
 
Reported: 2013-07-09 09:56 UTC by Matej Kollar
Modified: 2015-01-13 09:54 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-13 09:54:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Matej Kollar 2013-07-09 09:56:13 UTC
Description of problem:

  No validation is performed on bind adress and accept range. Values
  are just written into postgre config, resulting in failure during
  postgre start.

Version-Release number of selected component (if applicable):


How reproducible: always/deterministic


Steps to Reproduce:
1. install.pl --managed-db
2. when asked about network related stuff, just go ahead and type some nonsense there
3. continue in process as usual

Actual results:
  Obviously wrong data is accepted and passed to config,
  starting postgre fails.

Expected results:
  Data are re-requested in case they are obviously wrong.

Additional info:
  Sanity checking should take into account both IPv4 and IPv6 addresses.
  Also bind-address might be checked against available interfaces...

Comment 2 Matej Kollar 2013-08-01 12:14:19 UTC
commit 994dad50270bd3db8d4abee482b782a9a1e14696 Spacewalk

Comment 7 Matej Kollar 2013-09-11 11:42:40 UTC
spacewalk.git 75b53687ee82bdbe09f0fbea32f8beead098b5b7

Comment 11 Clifford Perry 2015-01-13 09:54:53 UTC
With the release of Red Hat Satellite 5.7 on January 12th 2015 this bug is
being moved to a Closed Current Release state. 

The Satellite 5.7 GA Errata:
 - https://rhn.redhat.com/errata/RHSA-2015-0033.html 

Satellite 5.7 Release Notes:
 -
https://access.redhat.com/documentation/en-US/Red_Hat_Satellite/5.7/html-single/Release_Notes/index.html

Satellite Customer Portal Blog announcement for release:
 - https://access.redhat.com/blogs/1169563/posts/1315743 

Cliff


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