• any way to completely disable Emacs eln-cache

    From Robert Riches@21:1/5 to All on Tue Jul 2 04:19:59 2024
    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.

    Web searching found several ways to try to direct the cache to a
    different directory path, but that's not what I want. (Also,
    most of those methods failed to work as advertised.) Making the
    default directory a symlink to /dev/null simply moved the cached
    files to another directory.

    Thanks.

    --
    Robert Riches
    spamtrap42@jacob21819.net
    (Yes, that is one of my email addresses.)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E.R.@21:1/5 to Robert Riches on Tue Jul 2 23:31:05 2024
    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.


    Web searching found several ways to try to direct the cache to a
    different directory path, but that's not what I want. (Also,
    most of those methods failed to work as advertised.) Making the
    default directory a symlink to /dev/null simply moved the cached
    files to another directory.

    Thanks.


    --
    Cheers, Carlos.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Robert Riches@21:1/5 to Carlos E.R. on Wed Jul 3 03:42:52 2024
    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.

    --
    Robert Riches
    spamtrap42@jacob21819.net
    (Yes, that is one of my email addresses.)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Natural Philosopher@21:1/5 to Robert Riches on Wed Jul 3 10:35:48 2024
    On 03/07/2024 04:42, 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.

    Tell that to systemd...:-)


    --
    “The urge to save humanity is almost always only a false face for the
    urge to rule it.”
    – H. L. Mencken

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E.R.@21:1/5 to The Natural Philosopher on Wed Jul 3 12:42:44 2024
    On 2024-07-03 11:35, The Natural Philosopher wrote:
    On 03/07/2024 04:42, 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.

    Tell that to systemd...:-)

    :-D

    --
    Cheers, Carlos.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lew Pitcher@21:1/5 to Robert Riches on Wed Jul 3 13:33:55 2024
    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.


    --
    Lew Pitcher
    "In Skills We Trust"

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From candycanearter07@21:1/5 to Lew Pitcher on Wed Jul 3 14:30:03 2024
    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..
    --
    user <candycane> is generated from /dev/urandom

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to The Natural Philosopher on Wed Jul 3 23:43:57 2024
    On Wed, 3 Jul 2024 10:35:48 +0100, The Natural Philosopher wrote:

    On 03/07/2024 04:42, Robert Riches wrote:

    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.

    Tell that to systemd...:-)

    systemd has a whole mechanism for dealing with temporary files, including isolating processes with their own temporary directories, that
    automatically disappear when the service terminates.

    You are not going to see junk left around with systemd. It takes full
    advantage of tmpfs to ensure that.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E. R.@21:1/5 to All on Thu Jul 4 02:46:14 2024
    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.

    --
    Cheers,
    Carlos E.R.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Robert Riches@21:1/5 to The Natural Philosopher on Thu Jul 4 03:29:50 2024
    On 2024-07-03, The Natural Philosopher <tnp@invalid.invalid> wrote:
    On 03/07/2024 04:42, 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.

    Tell that to systemd...:-)

    systemd? Not on this machine!!!!!

    A test VM installation of the first Mageia release with systemd
    appeared to install okay. However, on first boot, the boot
    process got hung up, waited several minutes, reported some
    timeouts, and came up with a severely crippled system. IIRC,
    not all of the RAIDs were composed, and not all of the
    filesystems were mounted. The tools to analyze the binary registry^H^H^H^H^H^H^H^Hjournal weren't installed.

    Determined to be one of the last people on the planet to use an
    init system other than systemd, I switched to Slackware, then to
    Debian, and now to Devuan (Beowulf, Chimaera, and now Daedalus).
    If it becomes impractical to use Linux without systemd, one of
    the BSDs will have to do.

    --
    Robert Riches
    spamtrap42@jacob21819.net
    (Yes, that is one of my email addresses.)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bobbie Sellers@21:1/5 to Robert Riches on Wed Jul 3 22:20:38 2024
    On 7/3/24 20:29, Robert Riches wrote:
    On 2024-07-03, The Natural Philosopher <tnp@invalid.invalid> wrote:
    On 03/07/2024 04:42, 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.

    Tell that to systemd...:-)

    systemd? Not on this machine!!!!!

    A test VM installation of the first Mageia release with systemd
    appeared to install okay. However, on first boot, the boot
    process got hung up, waited several minutes, reported some
    timeouts, and came up with a severely crippled system. IIRC,
    not all of the RAIDs were composed, and not all of the
    filesystems were mounted. The tools to analyze the binary registry^H^H^H^H^H^H^H^Hjournal weren't installed.

    Determined to be one of the last people on the planet to use an
    init system other than systemd, I switched to Slackware, then to
    Debian, and now to Devuan (Beowulf, Chimaera, and now Daedalus).
    If it becomes impractical to use Linux without systemd, one of
    the BSDs will have to do.


    Have you ever considered PCLinuxOS 64 bit only X86 as
    here V and a friendly Forum that helps resolve issues. <https://www.pclinuxos.com/forum/index.php>
    A Rolling Release...
    bliss- Dell Precision 7730-PCLOS 2024.07-Linux 6.6.36-Plasma 5.27.11

    --
    b l i s s - S F 4 e v e r at D S L E x t r e m e dot com

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Robert Riches on Thu Jul 4 06:52:15 2024
    On 4 Jul 2024 03:29:50 GMT, Robert Riches wrote:

    If it becomes impractical to use Linux without systemd, one of the BSDs
    will have to do.

    Did you know some in the BSD world have been working on their own systemd- lookalike? It’s called “InitWare”.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Richard Kettlewell@21:1/5 to Lawrence D'Oliveiro on Thu Jul 4 08:36:32 2024
    Lawrence D'Oliveiro <ldo@nz.invalid> writes:
    On 4 Jul 2024 03:29:50 GMT, Robert Riches wrote:
    If it becomes impractical to use Linux without systemd, one of the
    BSDs will have to do.

    Did you know some in the BSD world have been working on their own
    systemd- lookalike? It’s called “InitWare”.

    In fact it seems to be a (by now quite divergent?) fork of systemd, not
    just a lookalike.

    --
    https://www.greenend.org.uk/rjk/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Richard Kettlewell on Thu Jul 4 23:46:53 2024
    On Thu, 04 Jul 2024 08:36:32 +0100, Richard Kettlewell wrote:

    Lawrence D'Oliveiro <ldo@nz.invalid> writes:

    On 4 Jul 2024 03:29:50 GMT, Robert Riches wrote:

    If it becomes impractical to use Linux without systemd, one of the
    BSDs will have to do.

    Did you know some in the BSD world have been working on their own
    systemd- lookalike? It’s called “InitWare”.

    In fact it seems to be a (by now quite divergent?) fork of systemd, not
    just a lookalike.

    They do seem to measure themselves closely against systemd as a yardstick,
    to how how they are different and how they are the same.

    <https://github.com/InitWare/InitWare/wiki/Dropped-components>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Robert Riches@21:1/5 to Lawrence D'Oliveiro on Fri Jul 5 03:37:30 2024
    On 2024-07-04, Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
    On Thu, 04 Jul 2024 08:36:32 +0100, Richard Kettlewell wrote:

    Lawrence D'Oliveiro <ldo@nz.invalid> writes:

    On 4 Jul 2024 03:29:50 GMT, Robert Riches wrote:

    If it becomes impractical to use Linux without systemd, one of the
    BSDs will have to do.

    Did you know some in the BSD world have been working on their own
    systemd- lookalike? It’s called “InitWare”.

    In fact it seems to be a (by now quite divergent?) fork of systemd, not
    just a lookalike.

    They do seem to measure themselves closely against systemd as a yardstick,
    to how how they are different and how they are the same.

    <https://github.com/InitWare/InitWare/wiki/Dropped-components>

    Thanks for the heads-up.

    Thanks.

    --
    Robert Riches
    spamtrap42@jacob21819.net
    (Yes, that is one of my email addresses.)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Robert Riches@21:1/5 to Bobbie Sellers on Fri Jul 5 03:36:21 2024
    On 2024-07-04, Bobbie Sellers <blissInSanFrancisco@mouse-potato.com> wrote:
    On 7/3/24 20:29, Robert Riches wrote:
    On 2024-07-03, The Natural Philosopher <tnp@invalid.invalid> wrote:
    On 03/07/2024 04:42, 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.

    Tell that to systemd...:-)

    systemd? Not on this machine!!!!!

    A test VM installation of the first Mageia release with systemd
    appeared to install okay. However, on first boot, the boot
    process got hung up, waited several minutes, reported some
    timeouts, and came up with a severely crippled system. IIRC,
    not all of the RAIDs were composed, and not all of the
    filesystems were mounted. The tools to analyze the binary
    registry^H^H^H^H^H^H^H^Hjournal weren't installed.

    Determined to be one of the last people on the planet to use an
    init system other than systemd, I switched to Slackware, then to
    Debian, and now to Devuan (Beowulf, Chimaera, and now Daedalus).
    If it becomes impractical to use Linux without systemd, one of
    the BSDs will have to do.


    Have you ever considered PCLinuxOS 64 bit only X86 as
    here V and a friendly Forum that helps resolve issues.
    <https://www.pclinuxos.com/forum/index.php>
    A Rolling Release...
    bliss- Dell Precision 7730-PCLOS 2024.07-Linux 6.6.36-Plasma 5.27.11

    Thank you for the suggestion. PCLinuxOS was on my list of
    options in May of 2016. At the time, it did not appear to have
    csh.

    Thanks.

    --
    Robert Riches
    spamtrap42@jacob21819.net
    (Yes, that is one of my email addresses.)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bobbie Sellers@21:1/5 to Robert Riches on Fri Jul 5 09:33:57 2024
    On 7/4/24 20:36, Robert Riches wrote:
    On 2024-07-04, Bobbie Sellers <blissInSanFrancisco@mouse-potato.com> wrote:
    On 7/3/24 20:29, Robert Riches wrote:
    On 2024-07-03, The Natural Philosopher <tnp@invalid.invalid> wrote:
    On 03/07/2024 04:42, 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.

    Tell that to systemd...:-)

    systemd? Not on this machine!!!!!

    A test VM installation of the first Mageia release with systemd
    appeared to install okay. However, on first boot, the boot
    process got hung up, waited several minutes, reported some
    timeouts, and came up with a severely crippled system. IIRC,
    not all of the RAIDs were composed, and not all of the
    filesystems were mounted. The tools to analyze the binary
    registry^H^H^H^H^H^H^H^Hjournal weren't installed.

    Determined to be one of the last people on the planet to use an
    init system other than systemd, I switched to Slackware, then to
    Debian, and now to Devuan (Beowulf, Chimaera, and now Daedalus).
    If it becomes impractical to use Linux without systemd, one of
    the BSDs will have to do.


    Have you ever considered PCLinuxOS 64 bit only X86 as
    here V and a friendly Forum that helps resolve issues.
    <https://www.pclinuxos.com/forum/index.php>
    A Rolling Release...
    bliss- Dell Precision 7730-PCLOS 2024.07-Linux 6.6.36-Plasma 5.27.11

    Thank you for the suggestion. PCLinuxOS was on my list of
    options in May of 2016. At the time, it did not appear to have
    csh.

    Thanks.


    How about tcsh?

    An enhanced version of csh, the C shell
    Tcsh is an enhanced but completely compatible version of csh, the C
    shell. Tcsh is a command language interpreter which can be used both
    as an interactive login shell and as a shell script command processor.
    Tcsh includes a command line editor, programmable word completion,
    spelling correction, a history mechanism, job control and a C language
    like syntax.


    If that variation is not too far out then you have
    no excuse to not experiment with PCLinuxOS 64.
    <http://www.pclinuxos.com>

    bliss the satisfied user.
    bliss- Dell Precision 7730- PCLOS 2024.07- Linux 6.6.36- Plasma 5.27.11

    --
    b l i s s - S F 4 e v e r at D S L E x t r e m e dot com

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lew Pitcher@21:1/5 to Carlos E. R. on Fri Jul 5 19:52:28 2024
    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"

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jack Strangio@21:1/5 to Lew Pitcher on Sat Jul 6 05:22:33 2024
    Lew Pitcher <lew.pitcher@digitalfreehold.ca> writes:

    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.

    Exactly. **temporary** files are just that: temporary.

    You don't expect them to be there after a reboot, or the next time your
    program runs, or whatever.

    If you want files to remain somewhere, you put them somewhere specific that is **not** one of the tmp directories. And you name it such that there can be multiple instances of it, such as
    '/some-permanent-directory/my_program_errors-[PID-NUMBER]'

    Any well-behaved program should destroy all of its temporary files after it
    has finished with them.

    That doesn't always happen. I'm looking at you GTK with your /tmp/gtk_errs that might end up being owned by root, unable to be removed by non-root
    users, and which causes GTK programs not owned by root to crash:

    m70t [jvs] /home/jvs > gparted
    bash: /tmp/gtk_errs: Permission denied
    m70t [jvs] /home/jvs >

    Regards.

    Jack

    --
    She came late to bed at 3AM. "You're drunk" I said.
    She asked "How do you know?"
    "You live next door." I replied.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Lew Pitcher on Sat Jul 6 07:19:32 2024
    On Fri, 5 Jul 2024 19:52:28 -0000 (UTC), Lew Pitcher wrote:

    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.

    What about /var/cache?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Jack Strangio on Sat Jul 6 07:20:11 2024
    On Sat, 6 Jul 2024 05:22:33 -0000 (UTC), Jack Strangio wrote:

    I'm looking at you GTK with your /tmp/gtk_errs that might end up being
    owned by root ...

    How can that happen, unless you’ve been running GUI programs as root?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E. R.@21:1/5 to Jack Strangio on Sat Jul 6 12:56:11 2024
    On 2024-07-06 07:22, Jack Strangio wrote:
    Lew Pitcher <lew.pitcher@digitalfreehold.ca> writes:

    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.

    Exactly. **temporary** files are just that: temporary.

    You don't expect them to be there after a reboot, or the next time your program runs, or whatever.

    Not fully correct :-)

    The interpretation of the "rules" is that the files can be deleted, or
    maybe not. You can not expect assurance that they will be there, but
    neither there is assurance that they will be deleted.

    The application can not be sure that the file will be there on next
    boot. But it may be.

    --
    Cheers,
    Carlos E.R.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Dallman@21:1/5 to All on Sat Jul 6 14:10:00 2024
    In article <sG6s8v.B6nB@yahoo.com>, jackstrangio@yahoo.com (Jack Strangio) wrote:

    Exactly. **temporary** files are just that: temporary.

    A record for Unix ignorance I encountered, 20-odd years ago. A chap at
    work turned in his Solaris workstation to be sorted out after it began misbehaving. When he got it back, he complained that important files he'd
    been keeping in /tmp were gone. The sysadmins were sarcastic, as was his
    boss, and everyone else.

    John

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E. R.@21:1/5 to John Dallman on Sat Jul 6 16:34:44 2024
    On 2024-07-06 15:10, John Dallman wrote:
    In article <sG6s8v.B6nB@yahoo.com>, jackstrangio@yahoo.com (Jack Strangio) wrote:

    Exactly. **temporary** files are just that: temporary.

    A record for Unix ignorance I encountered, 20-odd years ago. A chap at
    work turned in his Solaris workstation to be sorted out after it began misbehaving. When he got it back, he complained that important files he'd been keeping in /tmp were gone. The sysadmins were sarcastic, as was his boss, and everyone else.

    Well, it was his boss fault, for not making sure he was properly
    trained. I don¡t understand why he laughed.

    --
    Cheers,
    Carlos E.R.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Dallman@21:1/5 to Carlos E. R. on Sat Jul 6 16:20:00 2024
    In article <let304FasraU1@mid.individual.net>, robin_listas@es.invalid
    (Carlos E. R.) wrote:

    When he got it back, he complained that important files he'd
    been keeping in /tmp were gone.
    Well, it was his boss fault, for not making sure he was properly
    trained. I don't understand why he laughed.

    The chap had been told. He didn't think it applied to him.

    John

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From vallor@21:1/5 to ldo@nz.invalid on Sat Jul 6 22:58:05 2024
    On Sat, 6 Jul 2024 07:20:11 -0000 (UTC), Lawrence D'Oliveiro
    <ldo@nz.invalid> wrote in <v6ar7b$3ngh6$2@dont-email.me>:

    On Sat, 6 Jul 2024 05:22:33 -0000 (UTC), Jack Strangio wrote:

    I'm looking at you GTK with your /tmp/gtk_errs that might end up being
    owned by root ...

    How can that happen, unless you’ve been running GUI programs as root?

    His example was gparted...which you helpfully snipped, of course.

    How would you _not_ run gparted as root, Perfessor?

    --
    -v

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to vallor on Sun Jul 7 01:31:41 2024
    On Sat, 6 Jul 2024 22:58:05 -0000 (UTC), vallor wrote:

    How would you _not_ run gparted as root, Perfessor?

    From the OP:

    m70t [jvs] /home/jvs > gparted
    bash: /tmp/gtk_errs: Permission denied

    That’s not running as root now, is it?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Carlos E. R. on Sun Jul 7 01:33:02 2024
    On Sat, 6 Jul 2024 12:56:11 +0200, Carlos E. R. wrote:

    The interpretation of the "rules" is that the files can be deleted, or
    maybe not.

    Given that many Linux systems are using tmpfs, which is entirely RAM-
    based, for /tmp and other similar filesystems, that’s a guarantee that the files in there will *not* survive a reboot.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E. R.@21:1/5 to Lawrence D'Oliveiro on Sun Jul 7 04:10:53 2024
    On 2024-07-07 03:33, Lawrence D'Oliveiro wrote:
    On Sat, 6 Jul 2024 12:56:11 +0200, Carlos E. R. wrote:

    The interpretation of the "rules" is that the files can be deleted, or
    maybe not.

    Given that many Linux systems are using tmpfs, which is entirely RAM-
    based, for /tmp and other similar filesystems, that’s a guarantee that the files in there will *not* survive a reboot.

    openSUSE is using hard disk for /tmp, and has currently no working
    periodical job to clean it.

    --
    Cheers,
    Carlos E.R.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lew Pitcher@21:1/5 to Carlos E. R. on Sun Jul 7 02:43:28 2024
    On Sun, 07 Jul 2024 04:10:53 +0200, Carlos E. R. wrote:

    On 2024-07-07 03:33, Lawrence D'Oliveiro wrote:
    On Sat, 6 Jul 2024 12:56:11 +0200, Carlos E. R. wrote:

    The interpretation of the "rules" is that the files can be deleted, or
    maybe not.

    Given that many Linux systems are using tmpfs, which is entirely RAM-
    based, for /tmp and other similar filesystems, that’s a guarantee that the >> files in there will *not* survive a reboot.

    Ah, but that is only /one/ of the conditions for keeping a clean /tmp directory. If you maintain a large uptime (say, even more than a few
    hours), you really should, periodically, clean up the contents of /tmp

    openSUSE is using hard disk for /tmp, and has currently no working
    periodical job to clean it.

    So, a (wise) openSUSE sysadmin should either look for and install the
    tmpwatch utility (https://github.com/pete4abw/tmpwatch) or craft their
    own cleanup script. Mine, btw, I called cleantmp.sh, and is little more
    than a sequence of find(1) commands, scheduled to run once per hour.

    --
    Lew Pitcher
    "In Skills We Trust"

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From vallor@21:1/5 to ldo@nz.invalid on Sun Jul 7 03:25:47 2024
    On Sun, 7 Jul 2024 01:31:41 -0000 (UTC), Lawrence D'Oliveiro
    <ldo@nz.invalid> wrote in <v6cr5s$1kfb$1@dont-email.me>:

    On Sat, 6 Jul 2024 22:58:05 -0000 (UTC), vallor wrote:

    How would you _not_ run gparted as root, Perfessor?

    From the OP:

    m70t [jvs] /home/jvs > gparted
    bash: /tmp/gtk_errs: Permission denied

    That’s not running as root now, is it?

    Yes, and that's the problem.

    GPARTED(8) GParted Manual GPARTED(8)

    NAME
    gparted - GNOME Partition Editor for manipulating disk
    partitions.

    SYNOPSIS
    gparted [device]...

    DESCRIPTION
    The gparted application is the GNOME partition editor
    for creating, reorganizing, and deleting disk parti‐
    tions.
    _ _ _ _ _ _ _

    I don't know of many distributions set up to edit disk partitions
    without running as root -- though it is possible, it's not very
    likely.

    --
    -v ASUS TUF Dash F15 x86_64 NVIDIA RTX 3060 Mobile
    OS: Linux 5.15.0-113-lowlatency Release: Mint 21.3 Mem: 15.9G
    "Nobody can be just like me. Even I have trouble."

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Lew Pitcher on Sun Jul 7 03:43:45 2024
    On Sun, 7 Jul 2024 02:43:28 -0000 (UTC), Lew Pitcher wrote:

    If you maintain a large uptime (say, even more than a few
    hours), you really should, periodically, clean up the contents of /tmp

    On this machine:

    root@theon:~ # du -ks /tmp
    350812 /tmp
    root@theon:~ # uptime
    15:43:05 up 12 days, 1:38, 7 users, load average: 0.41, 0.43, 0.45

    Never really been a problem.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From vallor@21:1/5 to ldo@nz.invalid on Sun Jul 7 04:03:41 2024
    On Sun, 7 Jul 2024 03:59:21 -0000 (UTC), Lawrence D'Oliveiro
    <ldo@nz.invalid> wrote in <v6d3qp$6ida$1@dont-email.me>:

    On 7 Jul 2024 03:25:47 GMT, vallor wrote:

    On Sun, 7 Jul 2024 01:31:41 -0000 (UTC), Lawrence D'Oliveiro
    <ldo@nz.invalid> wrote in <v6cr5s$1kfb$1@dont-email.me>:

    That’s not running as root now, is it?

    Yes, and that's the problem.

    Maybe think of GParted as Nature’s way of telling you not to run GUI tools as root.

    Okay, I'll bite -- how do you modify partition tables without running
    as root?

    --
    -v ASUS TUF Dash F15 x86_64 NVIDIA RTX 3060 Mobile
    OS: Linux 5.15.0-113-lowlatency Release: Mint 21.3 Mem: 15.9G
    "I'm busier than a one-eyed cat watching two mouseholes."

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to vallor on Sun Jul 7 03:59:21 2024
    On 7 Jul 2024 03:25:47 GMT, vallor wrote:

    On Sun, 7 Jul 2024 01:31:41 -0000 (UTC), Lawrence D'Oliveiro
    <ldo@nz.invalid> wrote in <v6cr5s$1kfb$1@dont-email.me>:

    That’s not running as root now, is it?

    Yes, and that's the problem.

    Maybe think of GParted as Nature’s way of telling you not to run GUI tools
    as root.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From marrgol@21:1/5 to All on Sun Jul 7 12:17:04 2024
    On 2024-07-07 at 04:10 Carlos E. R. wrote:
    openSUSE is using hard disk for /tmp, and has currently no working
    periodical job to clean it.

    Yes it does, and it's even enabled by default, it just has to be tuned up
    to your/sysadmin's liking. On my system (v15.4):

    # systemctl list-timers | grep tmp
    Mon 2024-07-08 05:38:18 CEST 17h left Fri 2024-07-05 12:10:56 CEST 1
    day 23h ago systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.service

    see man systemd-tmpfiles, tmpfiles.d for details.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to vallor on Sun Jul 7 22:00:31 2024
    On 7 Jul 2024 04:03:41 GMT, vallor wrote:

    On Sun, 7 Jul 2024 03:59:21 -0000 (UTC), Lawrence D'Oliveiro
    <ldo@nz.invalid> wrote in <v6d3qp$6ida$1@dont-email.me>:

    On 7 Jul 2024 03:25:47 GMT, vallor wrote:

    On Sun, 7 Jul 2024 01:31:41 -0000 (UTC), Lawrence D'Oliveiro
    <ldo@nz.invalid> wrote in <v6cr5s$1kfb$1@dont-email.me>:

    That’s not running as root now, is it?

    Yes, and that's the problem.

    Maybe think of GParted as Nature’s way of telling you not to run GUI tools >> as root.

    Okay, I'll bite -- how do you modify partition tables without running
    as root?

    Obviously it’s the “GUI tools” part that’s the problem, not the “root” part.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to marrgol on Sun Jul 7 22:09:58 2024
    On Sun, 7 Jul 2024 12:17:04 +0200, marrgol wrote:

    # systemctl list-timers | grep tmp

    I wonder if there is a “UUOG” to go with “UUOC”:

    systemctl list-timers '*tmp*'

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From marrgol@21:1/5 to All on Mon Jul 8 01:59:23 2024
    On 2024-07-08 at 00:09 Lawrence D'Oliveiro wrote:
    # systemctl list-timers | grep tmp

    I wonder if there is a “UUOG” to go with “UUOC”:

    systemctl list-timers '*tmp*'

    This produces more output than I was after.

    systemctl list-timers --quiet '*tmp*'

    would do, but since I can type "| grep tmp" faster than
    "--quiet '*tmp*'", I'll probably stick to the former. ;-)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E.R.@21:1/5 to marrgol on Fri Jul 12 21:12:05 2024
    On 2024-07-07 12:17, marrgol wrote:
    On 2024-07-07 at 04:10 Carlos E. R. wrote:
    openSUSE is using hard disk for /tmp, and has currently no working
    periodical job to clean it.

    Yes it does, and it's even enabled by default, it just has to be tuned up
    to your/sysadmin's liking. On my system (v15.4):

    # systemctl list-timers | grep tmp
    Mon 2024-07-08 05:38:18 CEST 17h left Fri 2024-07-05 12:10:56 CEST 1
    day 23h ago systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.service

    see man systemd-tmpfiles, tmpfiles.d for details.



    Doesn't work.

    --
    Cheers, Carlos.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lew Pitcher@21:1/5 to Carlos E.R. on Fri Jul 12 19:26:33 2024
    On Fri, 12 Jul 2024 21:12:05 +0200, Carlos E.R. wrote:

    On 2024-07-07 12:17, marrgol wrote:
    On 2024-07-07 at 04:10 Carlos E. R. wrote:
    openSUSE is using hard disk for /tmp, and has currently no working
    periodical job to clean it.

    Yes it does, and it's even enabled by default, it just has to be tuned up
    to your/sysadmin's liking. On my system (v15.4):

    # systemctl list-timers | grep tmp
    Mon 2024-07-08 05:38:18 CEST 17h left Fri 2024-07-05 12:10:56 CEST 1
    day 23h ago systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.service

    see man systemd-tmpfiles, tmpfiles.d for details.



    Doesn't work.

    Be careful; systemd-tmpfiles has been in the news recently,
    (see https://www.theregister.com/2024/06/20/systemd_2561_data_wipe_fix/ ) because it can delete your home directory.

    Specifically, with respect to systemd v256, The Register warns:
    "If you invoke the systemd-tmpfiles --purge command without specifying
    that very important config file which tells it which files to handle,
    version 256 will merrily purge your entire home directory."

    Apparently, systemd v256.1 makes some acknowledgement of this behaviour by documenting it in the systemd help files.

    Stay safe out there.
    HTH
    --
    Lew Pitcher
    "In Skills We Trust"

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E.R.@21:1/5 to Lew Pitcher on Fri Jul 12 23:10:55 2024
    On 2024-07-12 21:26, Lew Pitcher wrote:
    On Fri, 12 Jul 2024 21:12:05 +0200, Carlos E.R. wrote:

    On 2024-07-07 12:17, marrgol wrote:
    On 2024-07-07 at 04:10 Carlos E. R. wrote:
    openSUSE is using hard disk for /tmp, and has currently no working
    periodical job to clean it.

    Yes it does, and it's even enabled by default, it just has to be tuned up >>> to your/sysadmin's liking. On my system (v15.4):

    # systemctl list-timers | grep tmp
    Mon 2024-07-08 05:38:18 CEST 17h left Fri 2024-07-05 12:10:56 CEST 1 >>> day 23h ago systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.service

    see man systemd-tmpfiles, tmpfiles.d for details.



    Doesn't work.

    Be careful; systemd-tmpfiles has been in the news recently,
    (see https://www.theregister.com/2024/06/20/systemd_2561_data_wipe_fix/ ) because it can delete your home directory.

    Specifically, with respect to systemd v256, The Register warns:
    "If you invoke the systemd-tmpfiles --purge command without specifying
    that very important config file which tells it which files to handle,
    version 256 will merrily purge your entire home directory."

    Apparently, systemd v256.1 makes some acknowledgement of this behaviour by documenting it in the systemd help files.

    Stay safe out there.

    Ouch. Thanks for the warning.

    I played with it years ago, and decided it did not work. I haven't
    touched it again.

    --
    Cheers, Carlos.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Popping Mad@21:1/5 to Lew Pitcher on Sat Jul 13 19:14:17 2024
    On 7/12/24 3:26 PM, Lew Pitcher wrote:
    Be careful; systemd-tmpfiles has been in the news recently,
    (see https://www.theregister.com/2024/06/20/systemd_2561_data_wipe_fix/ ) because it can delete your home directory.


    lovely...

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Lew Pitcher on Sun Jul 14 02:21:46 2024
    On Fri, 12 Jul 2024 19:26:33 -0000 (UTC), Lew Pitcher wrote:

    Be careful; systemd-tmpfiles has been in the news recently,
    (see https://www.theregister.com/2024/06/20/systemd_2561_data_wipe_fix/
    ) because it can delete your home directory.

    Here’s the current man page <https://www.freedesktop.org/software/systemd/man/latest/systemd-tmpfiles.html>:

    If this option is passed, all files and directories marked for
    creation by the tmpfiles.d/ files specified on the command line
    will be deleted. Specifically, this acts on all files and
    directories marked with f, F, d, D, v, q, Q, p, L, c, b, C, w, e.
    If this switch is used at least one tmpfiles.d/ file (or - for
    standard input) must be specified on the command line or the
    invocation will be refused, for safety reasons (as otherwise much
    of the installed system files might be removed).

    Hard to see how that can delete anything you haven’t asked for.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)