* emacs causing automount error
@ 2014-02-11 9:50 Patrick
2014-02-11 14:56 ` Michael Albinus
` (4 more replies)
0 siblings, 5 replies; 7+ messages in thread
From: Patrick @ 2014-02-11 9:50 UTC (permalink / raw)
To: help-gnu-emacs
Hello,
I am using emacs on several machines, and now my system administrator told me that on one machine his log files are filled up with this
Feb 10 14:38:46 xx automount[3394]: key ".bzr" not found in map source(s).
Feb 10 14:38:46 xx automount[3394]: key ".git" not found in map source(s).
Feb 10 14:38:46 xx automount[3394]: key ".hg" not found in map source(s).
Feb 10 14:38:46 xx automount[3394]: key "_MTN" not found in map source(s).
Feb 10 14:38:46 xx automount[3394]: key "{arch}" not found in map source(s).
Comparing the timestamps, this happens everytime I start emacs. Is anyone familiar with this problem or can point me to where I can stop emacs from trying to access all these inexisting keys on startup?
Thanks,
Patrick
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: emacs causing automount error
2014-02-11 9:50 emacs causing automount error Patrick
@ 2014-02-11 14:56 ` Michael Albinus
2014-02-11 15:03 ` Andy Moreton
` (3 subsequent siblings)
4 siblings, 0 replies; 7+ messages in thread
From: Michael Albinus @ 2014-02-11 14:56 UTC (permalink / raw)
To: Patrick; +Cc: help-gnu-emacs
Patrick <patrick.brem87@gmail.com> writes:
> Hello,
Hi Patrick,
> I am using emacs on several machines, and now my system administrator
> told me that on one machine his log files are filled up with this
>
> Feb 10 14:38:46 xx automount[3394]: key ".bzr" not found in map source(s).
> Feb 10 14:38:46 xx automount[3394]: key ".git" not found in map source(s).
> Feb 10 14:38:46 xx automount[3394]: key ".hg" not found in map source(s).
> Feb 10 14:38:46 xx automount[3394]: key "_MTN" not found in map source(s).
> Feb 10 14:38:46 xx automount[3394]: key "{arch}" not found in map source(s).
>
> Comparing the timestamps, this happens everytime I start emacs. Is
> anyone familiar with this problem or can point me to where I can stop
> emacs from trying to access all these inexisting keys on startup?
This seems to be caused by vc. If I open ~/.emacs, for example, vc
checks the existence of the following files:
/home/albinus/RCS/.emacs,v
/home/albinus/.emacs,v
/home/albinus/RCS/.emacs
/home/albinus/CVS/Entries
/home/albinus/.emacs/.svn
/home/albinus/.svn
/home/.svn
/.svn
/home/albinus/SCCS/s..emacs
/home/albinus/s..emacs
/home/albinus/.emacs/.bzr/checkout/format
/home/albinus/.bzr/checkout/format
/home/.bzr/checkout/format
/.bzr/checkout/format
/home/albinus/.emacs/.git
/home/albinus/.git
/home/.git
/.git
/home/albinus/.emacs/.hg
/home/albinus/.hg
/home/.hg
/.hg
/home/albinus/.emacs/_MTN/format
/home/albinus/_MTN/format
/home/_MTN/format
/_MTN/format
/home/albinus/.emacs/{arch}/=tagging-method
/home/albinus/{arch}/=tagging-method
/home/{arch}/=tagging-method
/{arch}/=tagging-method
If you don't need vc, disable it. It might also improve performance.
> Thanks,
> Patrick
Best regards, Michael.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: emacs causing automount error
2014-02-11 9:50 emacs causing automount error Patrick
2014-02-11 14:56 ` Michael Albinus
@ 2014-02-11 15:03 ` Andy Moreton
2014-02-11 16:46 ` W. Greenhouse
` (2 subsequent siblings)
4 siblings, 0 replies; 7+ messages in thread
From: Andy Moreton @ 2014-02-11 15:03 UTC (permalink / raw)
To: help-gnu-emacs
On Tue 11 Feb 2014, Patrick wrote:
> Hello,
>
> I am using emacs on several machines, and now my system administrator told me
> that on one machine his log files are filled up with this
>
> Feb 10 14:38:46 xx automount[3394]: key ".bzr" not found in map source(s).
> Feb 10 14:38:46 xx automount[3394]: key ".git" not found in map source(s).
> Feb 10 14:38:46 xx automount[3394]: key ".hg" not found in map source(s).
> Feb 10 14:38:46 xx automount[3394]: key "_MTN" not found in map source(s).
> Feb 10 14:38:46 xx automount[3394]: key "{arch}" not found in map source(s).
>
> Comparing the timestamps, this happens everytime I start emacs. Is anyone
> familiar with this problem or can point me to where I can stop emacs from
> trying to access all these inexisting keys on startup?
The names from the log are the directories that various version control
systems use to store their metadata in a working copy (i.e tree of
version controlled files).
If you use vc-mode then Emacs finds the root of your working copy by
searching up the directory heirarchy until it finds one of these
directories. At that point it knows which version control system is in
use.
Read the Version Control section of the emacs manual for details. That
suggests doing "(setq vc-handled-backends nil)" to completely disable
VC.
Please file a bug report (M-x report-emacs-bug) with full details of the
emacs version, file paths and log entries to help the developers tune the
search for VC directories.
HTH,
AndyM
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: emacs causing automount error
2014-02-11 9:50 emacs causing automount error Patrick
2014-02-11 14:56 ` Michael Albinus
2014-02-11 15:03 ` Andy Moreton
@ 2014-02-11 16:46 ` W. Greenhouse
2014-02-11 16:56 ` Glenn Morris
[not found] ` <mailman.14783.1392137889.10748.help-gnu-emacs@gnu.org>
4 siblings, 0 replies; 7+ messages in thread
From: W. Greenhouse @ 2014-02-11 16:46 UTC (permalink / raw)
To: help-gnu-emacs-mXXj517/zsQ
Patrick <patrick.brem87-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
> Hello,
>
> I am using emacs on several machines, and now my system administrator
> told me that on one machine his log files are filled up with this
>
> Feb 10 14:38:46 xx automount[3394]: key ".bzr" not found in map source(s).
> Feb 10 14:38:46 xx automount[3394]: key ".git" not found in map source(s).
> Feb 10 14:38:46 xx automount[3394]: key ".hg" not found in map source(s).
> Feb 10 14:38:46 xx automount[3394]: key "_MTN" not found in map source(s).
> Feb 10 14:38:46 xx automount[3394]: key "{arch}" not found in map source(s).
>
> Comparing the timestamps, this happens everytime I start emacs. Is
> anyone familiar with this problem or can point me to where I can stop
> emacs from trying to access all these inexisting keys on startup?
This looks like evidence of vc-mode trying to check if the current
directory is under version control. The nuclear option would be to
(setq vc-handled-backends nil), thus entirely disabling all attempts to
tell if any file/directory is under version control.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: emacs causing automount error
2014-02-11 9:50 emacs causing automount error Patrick
` (2 preceding siblings ...)
2014-02-11 16:46 ` W. Greenhouse
@ 2014-02-11 16:56 ` Glenn Morris
2014-02-11 22:26 ` Stefan Monnier
[not found] ` <mailman.14783.1392137889.10748.help-gnu-emacs@gnu.org>
4 siblings, 1 reply; 7+ messages in thread
From: Glenn Morris @ 2014-02-11 16:56 UTC (permalink / raw)
To: Patrick; +Cc: help-gnu-emacs
Patrick wrote:
> I am using emacs on several machines, and now my system administrator
> told me that on one machine his log files are filled up with this
>
> Feb 10 14:38:46 xx automount[3394]: key ".bzr" not found in map source(s).
> Feb 10 14:38:46 xx automount[3394]: key ".git" not found in map source(s).
> Feb 10 14:38:46 xx automount[3394]: key ".hg" not found in map source(s).
> Feb 10 14:38:46 xx automount[3394]: key "_MTN" not found in map source(s).
> Feb 10 14:38:46 xx automount[3394]: key "{arch}" not found in map source(s).
The messages are harmless. That's just how automount works.
As has been said, you can disable/reduce vc-handled-backends if you
don't need it.
Alternatively, you can tweak locate-dominating-stop-dir-regexp
so that it stops one level before your automounter kicks in.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: emacs causing automount error
[not found] ` <mailman.14783.1392137889.10748.help-gnu-emacs@gnu.org>
@ 2014-02-11 21:14 ` patrick.brem87
0 siblings, 0 replies; 7+ messages in thread
From: patrick.brem87 @ 2014-02-11 21:14 UTC (permalink / raw)
To: help-gnu-emacs
Thanks everybody for the clarification! I will disable VC then even though the messages are harmless, just to stop filling up log files on the machine...
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: emacs causing automount error
2014-02-11 16:56 ` Glenn Morris
@ 2014-02-11 22:26 ` Stefan Monnier
0 siblings, 0 replies; 7+ messages in thread
From: Stefan Monnier @ 2014-02-11 22:26 UTC (permalink / raw)
To: help-gnu-emacs
> Alternatively, you can tweak locate-dominating-stop-dir-regexp
> so that it stops one level before your automounter kicks in.
That is actually the better solution, since this problem affects more
than just VC (tho VC is the more visible user).
Stefan
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2014-02-11 22:26 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-11 9:50 emacs causing automount error Patrick
2014-02-11 14:56 ` Michael Albinus
2014-02-11 15:03 ` Andy Moreton
2014-02-11 16:46 ` W. Greenhouse
2014-02-11 16:56 ` Glenn Morris
2014-02-11 22:26 ` Stefan Monnier
[not found] ` <mailman.14783.1392137889.10748.help-gnu-emacs@gnu.org>
2014-02-11 21:14 ` patrick.brem87
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).