Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #176942

Re: What in /var/logs shows system reboot?

From francis picabia <fpicabia@gmail.com>
Newsgroups linux.debian.user
Subject Re: What in /var/logs shows system reboot?
Date 2017-01-23 19:30 +0100
Message-ID <t2Rxn-1pg-9@gated-at.bofh.it> (permalink)
References <t2RnI-1o4-15@gated-at.bofh.it> <t2RnI-1o4-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Mon, Jan 23, 2017 at 2:18 PM, Greg Wooledge <wooledg@eeg.ccf.org> wrote:

> On Mon, Jan 23, 2017 at 02:12:04PM -0400, francis picabia wrote:
> > I'm running Debian 8.6, and looking at old logs.  I'd like to confirm
> when
> > the system was rebooted to invoke the newer kernel which fixed
> > the Dirty COW bug.
>
> last | grep boot
>
> or, apparently (according to the man page):
>
> last reboot
>
> > If I have a complete
> > copy of my /var/log from last October,
>
> Urghhh.  So it's not on a live system?  It's on a chrooted disk image?
> Then I think you need to use:
>
> last -f /some/path/wtmp reboot
>
> where /some/path/wtmp is the location of your chrooted disk image's
> wtmp file.
>
>
I think I said I already tried that.  There are no results from last
pointed to any recovered wtmp file.  It is a recovery of /var/log
from backup tape.

I even have psacct on that system.  A command like
lastcomm -f pacct | grep boot
is returning nothing.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

What in /var/logs shows system reboot? francis picabia <fpicabia@gmail.com> - 2017-01-23 19:20 +0100
  Re: What in /var/logs shows system reboot? Greg Wooledge <wooledg@eeg.ccf.org> - 2017-01-23 19:20 +0100
    Re: What in /var/logs shows system reboot? francis picabia <fpicabia@gmail.com> - 2017-01-23 19:30 +0100
      Re: What in /var/logs shows system reboot? Joe <joe@jretrading.com> - 2017-01-23 21:10 +0100
        Re: What in /var/logs shows system reboot? francis picabia <fpicabia@gmail.com> - 2017-01-24 01:30 +0100
          Re: What in /var/logs shows system reboot? Greg Wooledge <wooledg@eeg.ccf.org> - 2017-01-24 14:50 +0100
            Re: What in /var/logs shows system reboot? francis picabia <fpicabia@gmail.com> - 2017-01-25 16:00 +0100
        What in /var/logs shows system reboot? Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.com> - 2017-01-25 01:00 +0100
          Re: What in /var/logs shows system reboot? Joe <joe@jretrading.com> - 2017-01-25 09:20 +0100
          Re: What in /var/logs shows system reboot? Joe <joe@jretrading.com> - 2017-01-25 09:30 +0100
  Re: What in /var/logs shows system reboot? Sven Joachim <svenjoac@gmx.de> - 2017-01-23 19:50 +0100

csiph-web