Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Jan 2021 21:09:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 251906] autofs: automounter always only adds to /var/db/mounttab but never clears it
Message-ID:  <bug-251906-227-WeSVbIZeq7@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-251906-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251906

--- Comment #27 from Robert Wing <rew@FreeBSD.org> ---
(In reply to Martin Birgmeier from comment #26)

Those are expected results, got it. At first, I thought those were unexpected.

Even unpatched `automount -u` will report 'Device Busy' errors.

An unpatched `autounmountd` doesn't log 'Device Busy' errors, unless
`autounmountd` was called with '-d' or '-v' - in which case, you'll see the
'Device Busy' errors. My patch did change the behavior of `autounmountd` to log
all errors (including 'Device Busy' errors), it appears that was a mistake.

Other than the logging issues, it sounds like the patch works as expected? 

If the patch is working, I'll be more inclined on getting the log messages
dialed in. The error messages being spammed in /var/log/messages are all logged
from the automount code.

I agree, it would be handy to have a library to share some of the code between
these programs.

-- 
You are receiving this mail because:
You are the assignee for the bug.

help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251906-227-WeSVbIZeq7>