Bug 193919 - Inconsistent OpenPegasus trace file handling when package is removed
Summary: Inconsistent OpenPegasus trace file handling when package is removed
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: tog-pegasus
Version: 4.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Jason Vas Dias
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-06-02 22:20 UTC by Denise Eckstein
Modified: 2007-11-30 22:07 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-06-05 19:55:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Denise Eckstein 2006-06-02 22:20:14 UTC
Description of problem:
When the OpenPegasus package is removed, rpm -e, the cimserver.trc file is 
deleted but the Out-Of-Process Process generated trace files are not.

Version-Release number of selected component (if applicable):
tog-pegasus-2.5.1-1.EL4

How reproducible:


Steps to Reproduce:
1. # cimconfig -s forceProviderProcesses=true -p
2. # service tog-pegasus restart
3. # cimconfig -s traceLevel=4
4. # cimconfig -s traceComponents=ALL
5. # osinfo
6. # ls /var/lib/Pegasus/cache/trace
cimserver.trc  cimserver.trc.OperatingSystemModule.root
7. # rpm -el tog-pegasus-2.5.1-1.EL4
8. # ls /var/lib/Pegasus/cache/trace
cimserver.trc.OperatingSystemModule.root
  
Actual results:


Expected results:


Additional info:

Comment 1 Jason Vas Dias 2006-06-05 19:55:38 UTC
Well, we cannot predict the name of every possible trace file that may be created
under /var/lib/Pegasus/cache/trace, as we cannot know which providers may be
installed or which users may run them. And users may want to keep their trace
logs; a file created by explicit user actions should not be removed by rpm -e .
Hence, this is 'NOTABUG'.
 

Comment 2 Denise Eckstein 2006-06-05 21:15:53 UTC
The trace files created by OOP processes are really just extensions of the 
cimserver.trc file.  All trace files are controlled by the same cimconfig 
options. To be consistent, if we are keeping the OOP process trace files, we 
should consider keeping the cimserver.trc file.


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