Bug 159428 - [PATCH] sysreport should not collect device nodes
[PATCH] sysreport should not collect device nodes
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: sysreport (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Ngo Than
Ben Levenson
: FutureFeature
Depends On:
  Show dependency treegraph
Reported: 2005-06-02 13:01 EDT by David Lehman
Modified: 2007-11-30 17:07 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-10-04 10:20:32 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
don't include any block or char device nodes in the sysreport (330 bytes, patch)
2005-06-02 13:01 EDT, David Lehman
no flags Details | Diff

  None (edit)
Description David Lehman 2005-06-02 13:01:51 EDT
Description of problem:
sysreport collects device nodes if present from $DNSDIR/dev and
/proc/scsi/qla2300 as a consequence of collecting the /proc/scsi and $DNSDIR/
recursively. This is a problem because it means you need to be root to unpack
the sysreport.

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

How reproducible:

Steps to Reproduce:
1. Run sysreport on a system with qla2300 or a bind chroot set up
2. Try to unpack the sysreport as an unprivileged user 
Actual results:
tar fails trying to create device nodes

Expected results:
sysreports should be collected such that they can be unpacked by non-root users

Additional info:
Comment 1 David Lehman 2005-06-02 13:01:51 EDT
Created attachment 115097 [details]
don't include any block or char device nodes in the sysreport
Comment 3 Ngo Than 2005-10-04 10:20:32 EDT
This feature is now included in sysreport-1.4.2-3 from, which will be added in 
next comming RHEL5 release. 
In my opinion it's not worth to add it in RHEL3 update. 

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