Bug 63004 - RFE: pass proxy configuration to rhn_register
Summary: RFE: pass proxy configuration to rhn_register
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Registration
Version: unspecified
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Adrian Likins
QA Contact: Jay Turner
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-04-09 03:53 UTC by Chip Turner
Modified: 2015-01-07 23:55 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-04-11 09:39:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Chip Turner 2002-04-09 03:53:12 UTC
It would be nice to be able to pass proxy config to rhn_register from the
applet, so that the user only has to enter it once.

Comment 1 Adrian Likins 2002-04-09 18:33:56 UTC
persistent or not?

ie, if you pass args to me, do I write them to the config file,
or use them for that session only?

I assume you want the former, though the latter is more consistent
with the way commandline arguments typically work.

Comment 2 Adrian Likins 2002-04-09 18:59:21 UTC
does:

new install, no commandline argument
   exp: fire up config dialog, record proxy settings and user them, write
networkSetup=1

new install, proxy specified on commandline:
  exp: no config dialog, record proxy settings and user them, write networkSetup=1

existin install (networkSetup=1), no commandline bahaviour:
  exp: no config dialog, use proxy settings if available

existing install (networkSetup=1), proxy specified on commandline:
  exp: no config dialog, use proxy settings, dont record



sound like what you'd expect it to do?

Comment 3 Adrian Likins 2002-04-09 19:43:00 UTC
I changed my mind, if you specify an proxy, it gets recorded
as the default proxy.

A little ugly, but doing otherwise will change too much code

Comment 4 Adrian Likins 2002-04-09 20:13:24 UTC
changed my mind again, should exhibit the behaviour mentioned above
now.

should be fix in 2.7.13 or higher

Comment 5 Chip Turner 2002-04-09 20:42:53 UTC
well, rhn_register should only be run once, so sending it there should be
permanent.  as for up2date, I don't have much preference either way; I can
easily send proxy info to it, too, or not.

the semantic of "if info is on command line, set permanently" works for me. 
which is it now?  can I get RPMs of the latest to test?

Comment 6 Adrian Likins 2002-04-09 20:49:47 UTC
up2date will grab proxy info from rhn_registers config if
it hasnt been ran before.

I'd prefer not adding anymore commandline options to up2date if
at possible.

rpms will be in 7.3-HEAD as soon as porkchop unbreaks itself

Comment 7 Adrian Likins 2002-05-15 19:47:05 UTC
I belive this is implemented in a workable fashion. Closing.


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