Bug#1057417: systemd tmpfiles seems to delete lost+found again
Michael Biebl
biebl at debian.org
Mon Dec 4 23:38:03 GMT 2023
Am 04.12.23 um 23:09 schrieb Michael Biebl:
> The code to exclude lost+found appears to be still there:
> https://github.com/systemd/systemd/blob/main/src/tmpfiles/tmpfiles.c#L720
>
> Can you create a lost+found directory and then run
> SYSTEMD_LOG_LEVEL=debug systemd-tmpfiles --prefix /tmp
>
> ?
I haven't really debugged this fully, but from a cursory glance it
appears that systemd-tmpfiles-setup.service is responsible for nuking
/tmp/lost+found
systemd-tmpfiles --create --remove --boot --exclude-prefix=/dev
doesn't preserve /tmp/lost+found which looks like a regression.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20231205/a8be2c51/attachment.sig>
More information about the Pkg-systemd-maintainers
mailing list