Bug#1057417: systemd tmpfiles seems to delete lost+found again
Luca Boccassi
bluca at debian.org
Mon Dec 4 19:27:30 GMT 2023
On Mon, 4 Dec 2023 at 19:15, Axel Scheepers <axel.scheepers76 at gmail.com> wrote:
>
> On Mon, Dec 4, 2023 at 6:58 PM Luca Boccassi <bluca at debian.org> wrote:
> > You have a separate, non-tmpfs filesystem on /tmp? How did you end up
> > with such a setup?
>
> Hi Luca,
>
> I always configure separate /var, /tmp and /home filesystems. In this case
> the system is also low on ram so tmpfs is not really an option (I think?).
> Is using tmpfs the preferred way to handle this on debian? Or maybe ext4
> as a filesystem is not preferred in this case?
I think the default is simply a directory in the rootfs in Debian -
the more common setup is to have a tmpfs on it.
But the main point is, it's fine if you do a custom local setup with
the appropriate local configuration, but then you also need to add the
appropriate config for tmpfiles.d. You can either mask or replace
tmp.conf, simply add your own file as /etc/tmpfiles.d/tmp.conf and it
will have priority, and do what you need for your custom local setup.
More information about the Pkg-systemd-maintainers
mailing list