Bug 248184 - adminserver: The config CGI program does not preserve Listen IP addr
adminserver: The config CGI program does not preserve Listen IP addr
Status: CLOSED CURRENTRELEASE
Product: 389
Classification: Community
Component: Admin (Show other bugs)
1.1.0beta
All Linux
low Severity low
: ---
: ---
Assigned To: Rich Megginson
Viktor Ashirov
:
Depends On:
Blocks: 240316 FDS1.1.0
  Show dependency treegraph
 
Reported: 2007-07-13 15:14 EDT by Rich Megginson
Modified: 2015-12-07 11:38 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-12-07 11:38:20 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)
diffs (3.87 KB, patch)
2007-07-13 15:14 EDT, Rich Megginson
no flags Details | Diff

  None (edit)
Description Rich Megginson 2007-07-13 15:14:32 EDT
The format of the Listen directive in console.conf is
Listen IPaddr:portnum

The config CGI used by the console and setup does not preserve the IPaddr in all
cases.
Comment 1 Rich Megginson 2007-07-13 15:14:32 EDT
Created attachment 159232 [details]
diffs
Comment 2 Noriko Hosoi 2007-07-13 15:39:15 EDT
Looks good to me.
Comment 3 Rich Megginson 2007-07-13 15:48:06 EDT
Checking in adminserver/admserv/cgi-src40/config.c;
/cvs/dirsec/adminserver/admserv/cgi-src40/config.c,v  <--  config.c
new revision: 1.13; previous revision: 1.12
done

Reviewed by: nhosoi (Thanks!)
Fix Description: Move the existing code into a new function.  This function will
set the Listen directive IP and port, preserving any existing values.
Platforms tested: RHEL4, FC6
Flag Day: no
Doc impact: no
Comment 4 Anh Nguyen 2007-12-11 15:08:50 EST
Verified.

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