Bug 158095

Summary: Subscription Alert (on first login)
Product: [Fedora] Fedora Reporter: Sean Earp <seanfedora>
Component: rhn-appletAssignee: Robin Norwood <robin.norwood>
Status: CLOSED WONTFIX QA Contact: Beth Nackashi <bnackash>
Severity: medium Docs Contact:
Priority: medium    
Version: 4CC: adam, cheng, joshkel, joukj, mail, robatino, svenwahl, tom, wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-11-05 16:28:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 136450    

Description Sean Earp 2005-05-18 16:52:38 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

Description of problem:
After doing a clean install of FC4T3 via DVD (NOT connected to a network or the internet), on first login I get the following message:

"Subscription Alert
 
Your Subscription has not been activated.
 
This may be because your system is not networked or one of the three Red Hat registration steps were not completed.
 
It is important to activate your subscription so you can access teh services that keep your system secure and supported.
 
-Activate now (recommended)
-Activate later at www.redhat.com/activate
-Do not activate
 
Need Help?  Contact Customer service at www.redhat.com/contact"

This would appear to be a remnant of Fedora while it was still a commercial product...

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

How reproducible:
Didn't try

Steps to Reproduce:
1.Do a clean install of FC4T3 while NOT connected to a network/the internet
2.Log into GNOME
3.
  

Actual Results:  Error message about registering the OS

Expected Results:  No registration error message

Additional info:

Comment 1 Elliot Lee 2005-05-18 20:31:13 UTC
What are the contents of /etc/sysconfig/rhn/sources (excluding the commented out
lines)?

Comment 2 Sean Earp 2005-05-20 03:24:04 UTC
<snip>

yum development
http://download.fedora.redhat.com/pub/fedora/linux/core/development/$ARCH/
yum-mirror development
http://fedora.redhat.com/download/up2date-mirrors/fedora-core-rawhide

### A local directory full of packages (a "dir" repo). For example:
#dir my-favorite-rpms /var/spool/RPMS/

# Multiple versions of all repos except "up2date" can be used. Dependencies
# can be resolved "cross-repo" if need be.

yum extras-development
http://download.fedora.redhat.com/pub/fedora/linux/extras/development/$ARCH/
yum-mirror extras-development
http://fedora.redhat.com/download/mirrors/fedora-extras-devel

Comment 3 Adrian Likins 2005-05-24 20:56:40 UTC
*** Bug 158220 has been marked as a duplicate of this bug. ***

Comment 4 Adrian Likins 2005-05-24 21:06:23 UTC
firstboot/src/firstbootWindow.py: ~440-460

The hooks for a box with no network support are getting ran before we
decided if we should just skip a module entirely or not. For the
RHN modules, the hook for no network support includes writing out the
register_remind file, which then causes the applet to remind the user
to register. 

firstboot fix is to check if we skip the module entirely (as we do with
RHN stuff on fedora) before we run the no network stuff. 

Also, the applet should probably require the register_remind file and
a config pointing at RHN before nagging. 

Comment 5 Adrian Likins 2005-05-24 21:38:15 UTC
fixed in firstboot-1.3.41-4 in dist-fc4-hold

Comment 6 Sean Earp 2005-05-29 05:30:05 UTC
I still get the message on login (even connected to the network) with
firstboot-1.3.42-1

-Sean

Comment 7 petrosyan 2005-06-06 02:26:12 UTC
here is an easy way to reproduce this bug:
1. comment everything in /etc/sysconfig/rhn/sources
2. add "repomd something something" to the /etc/sysconfig/rhn/sources file.
(this is an allowed command)
3. restart the rhn-applet-gui
4. click on it

A dialog asking you to register for RHN appears. This is reproducible on a
Rawhide system as of June 5.

Comment 8 Rahul Sundaram 2005-06-14 09:42:04 UTC
It seems to be reproducible in the final version too

http://forums.fedoraforum.org/showthread.php?t=59157&highlight=activation



Comment 9 Elliot Lee 2005-06-15 21:58:50 UTC
It happens with upgrades only, and is easy to work around, but it does need fixing.

Comment 10 Warren Togami 2005-06-16 06:24:39 UTC
I saw this happen on my laptop after installing FC4 final, not an upgrade.  It
happened when I double-clicked on the rhn_applet for the first time with
networking disabled.

Comment 11 John William 2005-06-17 23:14:46 UTC
I agree - it also happens on clean installs. The first time a user logs in, 
double-clicking the RHN icon will bring up the registration dialog - even with 
networking enabled.

Comment 12 petrosyan 2005-07-07 04:47:39 UTC
Every time a click on RHN icon it offers me to register for Red Hat Network. It
would be nice if this bug got finally fixed.

Comment 13 Vinicius 2005-07-12 23:14:12 UTC
Hello,

I'm not seeing this issue on my FC4, and I did do two fresh install of FC4. I
have networking enabled too.

Vinicius.

Comment 14 Vinicius 2005-07-12 23:16:54 UTC
Hello,

Excuse me. Now I remember I have substituted rhn-applet by yum-applet.

Sorry,
Vinicius.

Comment 15 Gerwin Krist 2005-07-29 07:46:02 UTC
*** Bug 160936 has been marked as a duplicate of this bug. ***

Comment 16 Gerwin Krist 2005-07-29 07:47:56 UTC
*** Bug 161596 has been marked as a duplicate of this bug. ***

Comment 17 Joachim Selke 2006-03-29 13:46:02 UTC
This bug is "fixed" in Fedora Core 5. up2date and the rhn-applet are no more
included in release 5.

Comment 18 John Thacker 2006-10-29 22:34:04 UTC
rhn-applet was replaced by pirut and put (package pirut) as of FC5.  Only FC5
and FC6 are currently fully supported; FC3 and FC4 are supported for security
fixes only.  If this bug occurs in FC3 or FC4 and is a security bug, please
change the product to Fedora Extras and the version to match.  If you can verify
that the bug exists in RHEL as well, please change the product and version
appropriately.

The codebase for pirut and pup is quite different, but if a similar bug exists
in pirut and pup in FC5 or FC6, please change the product to pirut and the
version appropriately and update the bug report.

We apologize that the bug was not fixed before now.  The status will be changed
to NEEDINFO, and if the bug is not updated with evidence that it is a security
bug or a bug that affects RHEL, it will be closed.

Note that rhn-applet may still be present on upgraded systems, and in general
will not function correctly on such systems.  That is not a bug; anaconda does
not generally erase removed packages upon upgrades.

Comment 19 John Thacker 2006-11-05 16:28:57 UTC
Closing per previous comment.