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 4 product line. The current stable release is 4.9. 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 240973

Summary: RFE: Allow debugging to be enabled on the fly
Product: Red Hat Enterprise Linux 4 Reporter: Jeff Moyer <jmoyer>
Component: autofsAssignee: Jeff Moyer <jmoyer>
Status: CLOSED ERRATA QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.5CC: ikent, tao
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2008-0702 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-07-24 19:51:12 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: 251993    
Bug Blocks:    
Attachments:
Description Flags
Add a daemon option to set the log priority at run-time.
none
Updated version of the patch to enable switching log priorities at run-time. none

Description Jeff Moyer 2007-05-23 14:57:25 UTC
Description of problem:
Currently, in order to enable debugging for the autofs daemon, one has to
restart the daemon.  Unfotunately, when experiencing transient problems, this
often makes the problematic behaviour go away.  It would be better if the daemon
supported a mechanism to enable debugging at run-time.

Comment 1 Jeff Moyer 2007-08-13 18:17:52 UTC
Created attachment 161200 [details]
Add a daemon option to set the log priority at run-time.

Comment 2 Jeff Moyer 2007-09-11 21:19:35 UTC
I just added an RHTS test for this functionality under
/CoreOS/autofs/bugzillas/bz240973.

Comment 3 Jeff Moyer 2007-09-12 19:36:15 UTC
Created attachment 193861 [details]
Updated version of the patch to enable switching log priorities at run-time.

This patch works with multiple automount processes.  It also adds documentation
of the new command-line parameter.

Comment 4 RHEL Program Management 2007-11-29 04:19:56 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 5 Jeff Moyer 2008-01-02 19:33:14 UTC
A fix for this issue was built into autofs version 4.1.3-131.1.

Comment 8 Barry Donahue 2008-06-12 14:23:28 UTC
Verified by RHTS job #23575

Comment 10 errata-xmlrpc 2008-07-24 19:51:12 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-2008-0702.html