Bug 703384 - Error when using the web UI to compare the differences between a file revision when SELinux is disabled in RHEL6
Summary: Error when using the web UI to compare the differences between a file revisio...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Docs Release Notes
Version: 541
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Lana Brindley
QA Contact: ecs-bugs
URL:
Whiteboard:
Depends On: 688461 690238
Blocks: sat541-docs
TreeView+ depends on / blocked
 
Reported: 2011-05-10 08:33 UTC by Jan Pazdziora (Red Hat)
Modified: 2013-10-23 23:23 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Under &RHEL; 6 with SELinux disabled, using the web UI to compare the differences between a revision file would cause the lgetfilecon function to throw an exception and display a fatal error. The exception is now handled quietly, and the task allowed to complete as expected. Revision 0-4
Clone Of: 688461
Environment:
Last Closed: 2011-06-16 22:34:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 1 Lana Brindley 2011-06-06 20:38:29 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Cause: Under RHEL6, with SELinux disabled, using the web UI to compare the differences between a revision file.

Consequence: lgetfilecon was throwing an exception, and the following error was displayed: 
This action's status is: Failed.
The client picked up this action on <date> <time>.
The client completed this action on <date> <time>.
Client execution returned "Fatal error in Python code occurred [[6]]" (code -1)

Fix: The exception is now handled quietly, and the task allowed to complete.

Result: Instead of the error, the user now sees:
After applied the patch, we are now able to compare files using the web UI: 

This action's status is: Completed.
The client picked up this action on <date> <time>.
The client completed this action on <date> <time>.
Client execution returned "Files successfully diffed" (code 0)
Config Files:
/etc/test-case-00413111 (rev. 1) Differences exist

Comment 2 Lana Brindley 2011-06-07 18:26:44 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -16,4 +16,6 @@
 The client completed this action on <date> <time>.
 Client execution returned "Files successfully diffed" (code 0)
 Config Files:
-/etc/test-case-00413111 (rev. 1) Differences exist+/etc/test-case-00413111 (rev. 1) Differences exist
+
+Under &RHEL; 6 with SELinux disabled, using the web UI to compare the differences between a revision file would cause  the lgetfilecon function to throw an exception and display a fatal error. The exception is now handled quietly, and the task allowed to complete as expected.

Comment 3 Lana Brindley 2011-06-07 18:36:24 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1,21 +1,3 @@
-Cause: Under RHEL6, with SELinux disabled, using the web UI to compare the differences between a revision file.
+Under &RHEL; 6 with SELinux disabled, using the web UI to compare the differences between a revision file would cause  the lgetfilecon function to throw an exception and display a fatal error. The exception is now handled quietly, and the task allowed to complete as expected.
 
-Consequence: lgetfilecon was throwing an exception, and the following error was displayed: 
+Revision 0-4-This action's status is: Failed.
-The client picked up this action on <date> <time>.
-The client completed this action on <date> <time>.
-Client execution returned "Fatal error in Python code occurred [[6]]" (code -1)
-
-Fix: The exception is now handled quietly, and the task allowed to complete.
-
-Result: Instead of the error, the user now sees:
-After applied the patch, we are now able to compare files using the web UI: 
-
-This action's status is: Completed.
-The client picked up this action on <date> <time>.
-The client completed this action on <date> <time>.
-Client execution returned "Files successfully diffed" (code 0)
-Config Files:
-/etc/test-case-00413111 (rev. 1) Differences exist
-
-Under &RHEL; 6 with SELinux disabled, using the web UI to compare the differences between a revision file would cause  the lgetfilecon function to throw an exception and display a fatal error. The exception is now handled quietly, and the task allowed to complete as expected.

Comment 4 Lana Brindley 2011-06-16 22:34:37 UTC
5.4.1 Satellite books are now available on docs.redhat.com. Please raise a new
bug for any issues.

LKB


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