Re: any way to completely disable Emacs eln-cache

Liste des GroupesRevenir à col misc 
Sujet : Re: any way to completely disable Emacs eln-cache
De : lew.pitcher (at) *nospam* digitalfreehold.ca (Lew Pitcher)
Groupes : comp.os.linux.misc
Date : 05. Jul 2024, 20:52:28
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v69its$3dons$1@dont-email.me>
References : 1 2 3 4 5 6
User-Agent : Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2)
On Thu, 04 Jul 2024 02:46:14 +0200, Carlos E. R. wrote:

On 2024-07-03 16:30, candycanearter07 wrote:
Lew Pitcher <lew.pitcher@digitalfreehold.ca> wrote at 13:33 this Wednesday (GMT):
On Wed, 03 Jul 2024 03:42:52 +0000, Robert Riches wrote:
>
On 2024-07-02, Carlos E.R. <robin_listas@es.invalid> wrote:
On 2024-07-02 06:19, Robert Riches wrote:
Is there any practical way to completely disable Emacs' eln-cache
while using Devuan Daedalus binary packages, versions in the
1.28.2 neighborhood?  Even better would be to entirely disable
native compilation.
>
The cached files cause noise in Tripwire output and make messes
in directories Emacs should not be leaving messes in.  Recently,
I saw .el files being left in /tmp.
>
emacs has all the right to leave any file it wishes in /tmp.
>
Not on _MY_ machine, it doesn't.  Long-standing tradition says it
is a bug for a program to fail to clean up after itself in /tmp.
>
Longer standing Unix tradition has a periodically-scheduled job
(often known as "skulker" or "tmpwatch") that cleans out the various
tmp directories (/tmp, /var/tmp, etc) of old, discarded temporary
files.
 
 
Wait, really? I've been storing random files in /var/tmp..
 
Distributions have various policies and implementations of that.

True dat. The requirements of the Linux Filesystem Hierarchy Standard
(https://refspecs.linuxfoundation.org/FHS_3.0/fhs/index.html) seem to
have been sidelined by many distros and developers. But, AFAICT, they
still are the recommended standards.

For /var/tmp, the FHS says:
  5.15. /var/tmp : Temporary files preserved between system reboots
  5.15.1. Purpose

  The /var/tmp directory is made available for programs that require
  temporary files or directories that are preserved between system
  reboots. Therefore, data stored in /var/tmp is more persistent than
  data in /tmp.

  Files and directories located in /var/tmp must not be deleted when
  the system is booted. Although data stored in /var/tmp is typically
  deleted in a site-specific manner, it is recommended that deletions
  occur at a less frequent interval than /tmp

As for /tmp, the FHS says:
  3.18. /tmp : Temporary files
  3.18.1. Purpose

  The /tmp directory must be made available for programs that require
  temporary files.

  Programs must not assume that any files or directories in /tmp are
  preserved between invocations of the program.

  Rationale
    IEEE standard POSIX.1-2008 lists requirements similar to the above
    section.

    Although data stored in /tmp may be deleted in a site-specific
    manner, it is recommended that files and directories located in
    /tmp be deleted whenever the system is booted.

    FHS added this recommendation on the basis of historical precedent
    and common practice, but did not make it a requirement because system
    administration is not within the scope of this standard.

--
Lew Pitcher
"In Skills We Trust"

Date Sujet#  Auteur
5 Jul 25 o 

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal