Unable to set log priority for all direct mounts
Goldwyn Rodrigues <[email protected]> Thu, 14 May 2026 16:01:44 -0400
| Newsgroups | org.kernel.vger.autofs |
|---|---|
| Message-ID | <[email protected]> |
Hello,
Since the work to have a single FIFO file for setting log priority
(16ea4156 ("autofs-5.1.8 - switch to application wide command pipe"), to
be more precise 16ea4156 (autofs-5.1.8 - switch to application wide
command pipe), automount has lost the ability to set the log priority of
all direct mounts using the path "/-".
# sudo automount -l info /-
Could not find device id for mount /-
This is because automount attempts to mount and get verifies the real
path which is non-existent in case of direct mounts "/-".
In the automount program, the log priority is set pretty early and much
before the master map is setup. So we cannot check on the autofs dev
either.
What would be the best way to solve this? Should we just document it
as a feature loss?
--
Goldwyn