hOn Tue, Dec 22, 2015 at 10:26:33AM +0000, Stuart Henderson wrote:
> On 2015-12-21, Duncan Patton a Campbell <[email protected]> wrote:
> > On Sun, 20 Dec 2015 12:37:30 -0800
> > Philip Guenther <[email protected]> wrote:
> >> Well, you apparently know that the data comes from /var/log/wtmp, so
> >> what's the status of that file? It should be a normal file of
> >> non-zero length. If it's a symlink to /dev/null or something bogus
> >> then you need to figure out why and maybe reinstall from scratch.
> >>
> >
> > # ls -l /var/log/wtmp
> > - -rw-r--r-- 1 root wheel 0 Dec 19 04:00 /var/log/wtmp
>
> Are any flags set on it? ls -lo
>
> >> Also, you failed to include the dmesg or even mention what version
> >> you're running, so maybe we should just go with "you're clearly
> >> running an out of date version and probably screwed up an upgrade
> >> across the time_t size change"...
>
> There isn't a '> /var/log/wtmp' or something in rc.local from a past
> upgrade across the time_t bump is there?
Or in /etc/rc.firsttime and a r/o /etc so it cannot be renamed?
-Otto