Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 700687

Summary: ziomon: Debugfs mount path check at /sys/kernel/debug
Product: Red Hat Enterprise Linux 5 Reporter: IBM Bug Proxy <bugproxy>
Component: s390utilsAssignee: Dan HorĂ¡k <dhorak>
Status: CLOSED ERRATA QA Contact: qe-baseos-daemons
Severity: medium Docs Contact:
Priority: medium    
Version: 5.6CC: balkov, jkachuck, ovasik, psklenar, swhiteho
Target Milestone: rc   
Target Release: ---   
Hardware: s390x   
OS: All   
Whiteboard:
Fixed In Version: s390utils-1.8.1-16.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 713440 (view as bug list) Environment:
Last Closed: 2011-07-21 07:52:33 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: 684940, 713440    
Attachments:
Description Flags
s390-tools-rhel5-ziomon-debugfs-mount-path-checking.patch none

Description IBM Bug Proxy 2011-04-29 02:50:18 UTC
s390-tools-rhel5-ziomon-debugfs-mount-path-checking.patch

Description: ziomon: Debugfs mount path check at /sys/kernel/debug.
Symptom:     ziomon fails when debugfs is mounted on a directory other than
             /sys/kernel/debug.
Problem:     Code does not checks the debugfs mount path at /sys/kernel/debug.
Solution:    Verify debugfs mount path at /sys/kernel/debug if not promt error.

The patch has been tested, fixes the problem, and will be included in the next
upstream release of the s390-tools.

With best regards,
     Hendrik

Comment 1 Ondrej Vasik 2011-05-02 15:46:42 UTC
IBM, it seems that attachement is missing, could you please attach the s390-tools-rhel5-ziomon-debugfs-mount-path-checking.patch so we could check it?

Comment 2 IBM Bug Proxy 2011-05-02 16:00:22 UTC
------- Comment From brueckner.ibm.com 2011-05-02 11:58 EDT-------
(In reply to comment #10)
> IBM, it seems that attachement is missing, could you please attach the
> s390-tools-rhel5-ziomon-debugfs-mount-path-checking.patch so we could check it?

Looks like that this is caused due to a bugzilla mirroring issue.

Comment 3 IBM Bug Proxy 2011-05-02 17:09:17 UTC
Created attachment 496306 [details]
s390-tools-rhel5-ziomon-debugfs-mount-path-checking.patch

Comment 7 IBM Bug Proxy 2011-06-13 10:20:27 UTC
------- Comment From sachinp.com 2011-06-13 06:18 EDT-------
Tested with RHEL 5.7. The tool is behaving as expected when debugfs is mounted on a directory other that /sys/kernel/debug

# mount
/dev/dasda1 on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
none on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
debugfs on /mnt type debugfs (rw)

# ziomon -l 2M -d 1 -o log /dev/sda
ziomon: Error: Debugfs not mounted on /sys/kernel/debug.

# uname -r
2.6.18-264.el5
#

Comment 8 errata-xmlrpc 2011-07-21 07:52:33 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-1021.html