Re: Weird behaviour of /var/log/lastlog on F24/Rawhide?

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

 



On Thu, 2016-07-14 at 15:40 -0700, Adam Williamson wrote:
> Hey, folks. I just noticed something a bit odd in the behaviour of
> /var/log/lastlog . IIRC, this is supposed to be a symlink that's
> pointed to the most recent log file to be updated (somehow or other).
> However, in openQA tests and also on my workstation, I've seen it be -
> seemingly - an extremely large regular file which doesn't actually take
> up as much space as it should. For e.g., right now this is how it shows
> on my Rawhide workstation:
> 
> [adamw@adam openqa_fedora (freeipa-password %)]$ ls -lh /var/log/lastlog 
> -rw-r--r--. 1 root root 43G Jul 14 13:19 /var/log/lastlog
> 
> But note the output of du:
> 
> 4.2G	/var/log
> 
> of which 4.1G is /var/log/journal . So it seems the file isn't 'really'
> taking up any space at all.
> 
> Anyone know what's going on?

Oh, never mind, found http://www.noah.org/wiki/Lastlog_is_gigantic whic
h explains the size issue at least. I'm sure it used to be a symlink,
though? Oh well.
-- 

Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
http://www.happyassassin.net
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux