On 22/09/2025 16:40, Chris Hofstaedtler wrote:
On Mon, Sep 22, 2025 at 04:23:04PM +0200, Chris Hofstaedtler wrote:On Mon, Sep 22, 2025 at 02:52:36PM +0200, Santiago Vila wrote:If the file exists and it's not empty, it means somebody is still trying to write to it.I'd like to make this proposed change in base-files after the last program trying to write to the file stops doing so.That will be a long time in the future. The old lastlog program is gone, so TTBOMK it's become impossible to read the file. With my util-linux+shadow maintainer hats on, I'd think it'd be better to stop creating the file ASAP.BTW, all of this is also true for btmp and wtmp.
All 3 mentioned files are 0 bytes and are generated by the postinst of base-files. During the generation of a live image (as seen by strace) there are no other read or write access attempts.
With kind regards, Roland Clobus
OpenPGP_signature.asc
Description: OpenPGP digital signature

