Your message dated Sat, 22 Jun 2024 16:31:36 +0200
with message-id <ZnbgSNNq8lyQ7T66@per>
and subject line Re: #922945: /var/log/lastlog is a 110 TByte sparse file, 
seriously affecting backup
has caused the Debian Bug report #922945,
regarding /var/log/lastlog is a 110 TByte sparse file, seriously affecting 
backup
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
922945: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=922945
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: login
Version: 1:4.4-4.1

Somehow /var/log/lastlog grew to a 110 TByte sparse file:

        # ls -al /var/log/lastlog
        -rw-rw-r-- 1 root utmp 110784817228 Feb 22 08:37 /var/log/lastlog

        # du -h /var/log/lastlog
        88K     /var/log/lastlog

This affects rsync performance seriously, even when -S is used.
To reproduce the problem, please try

        # time rsync -SHa /var/log/lastlog /dev/shm
        
        real    4m0.621s
        user    6m36.402s
        sys     0m58.913s

Using our backup system as a destination for rsync I gave up waiting
after 15 minutes.

Do you think this could be improved?


UID_MAX is 60000, but our user database is freeipa on CentOS 7.6.
This might be related:

        # getent passwd admin
        admin:*:379400000:379400000:Administrator:/home/admin:/bin/bash


Regards
Harri

--- End Message ---
--- Begin Message ---
Source: shadow
Source-Version: 1:4.13+dfsg1-5

pam_lastlog.so was dropped in that version from the default config,
also PAM stopped shipping it.

--- End Message ---

Reply via email to