On Fri, 2023-03-17 at 07:02 +0100, Markus Volk wrote:
> Currently /tmp is a link to /var/tmp which breaks glib-2.0 ptest
> Systemd documentation describes tmpdir usage as follows:
> 
> /tmp/ and /var/tmp/ are two world-writable directories Linux systems provide 
> for temporary files. The former is
> typically on tmpfs and thus backed by RAM/swap, and flushed out on each 
> reboot. The latter is typically a proper,
> persistent file system, and thus backed by physical storage.
> 
> By default, systemd-tmpfiles will apply a concept of “ageing” to all files 
> and directories stored in /tmp/ and
> /var/tmp/. This means that files that have neither been changed nor read 
> within a specific time frame are auto-
> matically removed in regular intervals.
> (This concept is not new to systemd-tmpfiles btw, it’s inherited from 
> previous subsystems such as tmpwatch.)
> By default files in /tmp/ are cleaned up after 10 days, and those in /var/tmp 
> after 30 days.
> 
> This commit tries to align tmpdir to what systemd expects.

This changes the system layout to what systemd wants but what happens
to sysvinit or anything else though? Some systems won't have systemd-
tmpfiles and so on present. The commit message above makes it sound
like systemd is the only thing that exists/matters.

Cheers,

Richard
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#178744): 
https://lists.openembedded.org/g/openembedded-core/message/178744
Mute This Topic: https://lists.openembedded.org/mt/97667591/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to