Red Hat Bugzilla – Bug 254227
log "/etc/init.d/autofs reload" invocations to the system log
Last modified: 2008-05-21 10:37:44 EDT
+++ This bug was initially created as a clone of Bug #221400 +++
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?
-- Additional comment from firstname.lastname@example.org on 2007-01-10 13:28 EST --
This should be easy to implement and test, and is a reasonable request.
-- Additional comment from email@example.com on 2007-01-16 19:53 EST --
Created an attachment (id=145762)
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.
-- Additional comment from firstname.lastname@example.org on 2007-07-12 18:39 EST --
Created an attachment (id=159107)
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.
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 236011 [details]
Patch to add logging of map reloads
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.