GNU bug report logs -
#58048
The boot process can't delete old /tmp when it contains non-UTF-8 file names
Previous Next
Full log
View this message in rfc822 format
Maxime Devos <maximedevos <at> telenet.be> skribis:
> On 24-09-2022 23:12, Maxime Devos wrote:
>> Will try to catch the exact warning message and write a reproducer
>> at the next boot, for now I write it here before I forget about it.
>
> Two reproducers:
>
> (1) Compile ripgrep and somehow let it fail (but after it creates
> non-UTF-8 file names), reboot, "ls /tmp"
> (2) Run touch /tmp/OOPS-$(echo -e '\xff')-OOPS, reboot, "ls /tmp"
The culprit would be ‘cleanup-gexp’ in (gnu services). It keeps going
upon ‘system-error’ (like ENOENT), but it could be that you’re getting
‘encoding-error’ in this case.
In that case, ‘fail-safe’ should also catch this.
We can extend ‘%test-cleanup’ in (gnu tests base) to exercise this.
Would you like to give it a spin?
Ludo’.
This bug report was last modified 2 years and 262 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.