Red Hat Bugzilla – Bug 145305
/var/log/lastlog very large size after install
Last modified: 2014-03-16 22:51:50 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Description of problem:
After installing an x86_64 system /var/log/lastlog is a huge file:
-r-------- 1 root root 1254130450140 Jan 14 12:25 lastlog
Since this file is much larger than the disk capacity of the system it
is clearly a sparse file.
I have reinstalled and checked with "linux rescue" and the same huge
file is there before the very first boot.
Not all utilities handle such huge sparse files well. Deleting this
file and creating a new one works well.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install x86_64
2. A huge file is installed as /var/log/lastlog
Actual Results: /var/log/lastlog is very large, surely a sparse file.
Expected Results: /var/log/lastlog should be zero or quite small
before the first login.
Hardware: AMD64 3500+, ASUS A8V Deluxe motherboard, 2x200GB SATA disks
in MD1 software RAID for the filesystems.
It's a sparse file, it's because of the userid for nfsnobody.