unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#58048: The boot process can't delete old /tmp when it contains non-UTF-8 file names
@ 2022-09-24 21:12 Maxime Devos
  2022-09-25 11:25 ` Maxime Devos
  0 siblings, 1 reply; 4+ messages in thread
From: Maxime Devos @ 2022-09-24 21:12 UTC (permalink / raw)
  To: 58048


[-- Attachment #1.1.1: Type: text/plain, Size: 161 bytes --]

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.

Greetings,
Maxime.

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#58048: The boot process can't delete old /tmp when it contains non-UTF-8 file names
  2022-09-24 21:12 bug#58048: The boot process can't delete old /tmp when it contains non-UTF-8 file names Maxime Devos
@ 2022-09-25 11:25 ` Maxime Devos
  2022-09-26 15:48   ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Maxime Devos @ 2022-09-25 11:25 UTC (permalink / raw)
  To: 58048


[-- Attachment #1.1.1: Type: text/plain, Size: 456 bytes --]


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"

I didn't see the warning this time though.

Greetings,
Maxime.


[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#58048: The boot process can't delete old /tmp when it contains non-UTF-8 file names
  2022-09-25 11:25 ` Maxime Devos
@ 2022-09-26 15:48   ` Ludovic Courtès
  2022-09-27 11:12     ` Maxime Devos
  0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2022-09-26 15:48 UTC (permalink / raw)
  To: Maxime Devos; +Cc: 58048

Maxime Devos <maximedevos@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’.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#58048: The boot process can't delete old /tmp when it contains non-UTF-8 file names
  2022-09-26 15:48   ` Ludovic Courtès
@ 2022-09-27 11:12     ` Maxime Devos
  0 siblings, 0 replies; 4+ messages in thread
From: Maxime Devos @ 2022-09-27 11:12 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 58048


[-- Attachment #1.1.1: Type: text/plain, Size: 996 bytes --]



On 26-09-2022 17:48, Ludovic Courtès wrote:
> Maxime Devos <maximedevos@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?

Yes, just not yet (low priority, doesn't block the boot, just a bit 
annoying).

Greetings,
Maxime.

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-09-27 12:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-24 21:12 bug#58048: The boot process can't delete old /tmp when it contains non-UTF-8 file names Maxime Devos
2022-09-25 11:25 ` Maxime Devos
2022-09-26 15:48   ` Ludovic Courtès
2022-09-27 11:12     ` Maxime Devos

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).