[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: A 2025 NewYear present: make dpkg --force-unsafe-io the default?



Julien Plissonneau Duquène <sre4ever@free.fr> writes:

> Hi,
>
> Le 2024-12-30 21:38, Nikolaus Rath a écrit :
>> If a system crashed while dpkg was installing a package, then my
>> assumption has always been that it's possible that at least this package
>> is corrupted.
>
> The issue here is that without the fsync there is a risk that such corruption
> occurs even if the system crashes _after_ dpkg has finished (or finished
> installing a package).

That is not my understanding of the issue. The proposal was to disable
fsync after individual files have been unpacked, i.e. multiple times per
package. Not about one final fsync just before dpkg exits.

Best,
-Nikolaus


Reply to: