Red Hat Bugzilla – Bug 189759
automount -vd is different than -v -d.
Last modified: 2007-11-30 17:11:31 EST
Description of problem:
automount does not detect -d flag if called with combined flags like
-vd as -v -d.
Version-Release number of selected component (if applicable):
automount -vd : no debugging messages
automount -v -d.: debugging messages shown.
Steps to Reproduce:
no debug messages shown with -vd
flags detected in combined mode like -vd for -v -d.
That's odd. Are you starting the daemon by hand? If you're specifying flags
for the automounter via the master map or the sysconfig file, you should use the
long versions, "--debug" and "--verbose". However, the two options do the same
thing, so either will suffice.
Ian, do you want to take a look at this?
There're long version for the most gnu cmd options.
Close this bug. Seems that automount gives very rare debug messages, so this
looks like this bug. kill automount gives the same output with "-vd" or "-v -d".
A message like "Debug enabled would be nice".
The debug logs are logged at level DEBUG, which means they won't appear in
/var/log/messages. See http://people.redhat.com/jmoyer for more information on
configuring autofs for debugging. It is quite apparent when debug output is
Aaaargh, I don't like to query the source code, to find out, at which level the
debug messages are logged. The normal case is that -d don't forks and prints
debug output to stderr.
Why should the DEBUG output not appear in /var/log/messages? This is the case
for standard FC5 syslog.conf setup, because the min level is info.
However, the man page should point to that, that the debug output is send with
So, please add a notice to the man page for FC5.