Red Hat Bugzilla – Bug 221400
log "/etc/init.d/autofs reload" invocations to the system log
Last modified: 2007-11-30 17:07:27 EST
Description of problem:
Initial request taken from an email from Wengang Wang:
Some users like to see information in syslog when autofs reloads.
Till RedHat 4 update 4 with autofs version being 4.1.3-187, there are
logging action for "start", "stop" and "restart", Can we add logging
feature for "reload" too in new update versions?
This should be easy to implement and test, and is a reasonable request.
Created attachment 145762 [details]
Log autofs reload attempts
This patch is included in autofs versions 4.1.3-103 and later, and is likely
destined for RHEL 4.6.
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
Created attachment 159107 [details]
To be clear: autofs only ever logs messsages on startup and shutdown when
debugging is enabled. This patch follows suit, only logging map re-read
information when the debug flag is specified.
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 the 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.