Bug 700687 - ziomon: Debugfs mount path check at /sys/kernel/debug
Summary: ziomon: Debugfs mount path check at /sys/kernel/debug
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: s390utils
Version: 5.6
Hardware: s390x
OS: All
medium
medium
Target Milestone: rc
: ---
Assignee: Dan Horák
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks: 684940 713440
TreeView+ depends on / blocked
 
Reported: 2011-04-29 02:50 UTC by IBM Bug Proxy
Modified: 2011-07-21 07:52 UTC (History)
5 users (show)

Fixed In Version: s390utils-1.8.1-16.el5
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 713440 (view as bug list)
Environment:
Last Closed: 2011-07-21 07:52:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
s390-tools-rhel5-ziomon-debugfs-mount-path-checking.patch (1.36 KB, patch)
2011-05-02 17:09 UTC, IBM Bug Proxy
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
IBM Linux Technology Center 71813 0 None None None Never
Red Hat Product Errata RHBA-2011:1021 0 normal SHIPPED_LIVE s390utils bug fix and enhancement update 2011-07-20 15:44:26 UTC

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


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