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


Groups > linux.debian.bugs.dist > #1231277

Bug#1094921: sysvinit-core: does not write entries to wtmpdb

From Andrew Bower <andrew@bower.uk>
Newsgroups linux.debian.bugs.dist
Subject Bug#1094921: sysvinit-core: does not write entries to wtmpdb
Date 2025-02-01 14:40 +0100
Message-ID <KblT3-dy13-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Package: sysvinit-core
Version: 3.13-1
Severity: normal

sysvinit-core does not write entries to the new wtmpdb.

I fully understand how deeply unattractive the idea would be of any of
the following approaches to doing this:

 - linking with libwtmpdb
 - spawning wtmpdb
 - doing anything more direct with the wtmpdb sqlite database

But the user experience is obviously not going to be ideal as things
stand. I don't think there's even a decoder tool left in the archive
although old ones still work of course.

runit manages this by spawning wtmpdb asymmetrically: on boot through
stage 1 scripts and on shutdown in the shutdown command.

So I thought it would be best to have a bug to stash considerations
around this from a sysvinit-centric perspective. I did a while back
browse the old threads where wtmpdb was introduced but I can't remember
any input from non-systemd users and rather than go back to the thread I
think we should focus on what we can do from where we are now.

Any thoughts on:

 - install an initscript with wtmpdb that imports the missing real wtmp
   entries into wtmpdb at boot.
 - install an initscript with wtmpdb independently to record startup and
   shutdown, but less reliably than init itself would.
 - reinstate a classic wtmp toolset and compat for wtmpdb?

Thanks,

Andrew

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


Thread

Bug#1094921: sysvinit-core: does not write entries to wtmpdb Andrew Bower <andrew@bower.uk> - 2025-02-01 14:40 +0100
  Bug#1094921: sysvinit-core: does not write entries to wtmpdb Chris Hofstaedtler <zeha@debian.org> - 2025-02-01 18:00 +0100
    Bug#1094921: sysvinit-core: does not write entries to wtmpdb Mark Hindley <mark@hindley.org.uk> - 2025-02-01 21:30 +0100
      Bug#1094921: sysvinit-core: does not write entries to wtmpdb Mark Hindley <mark@hindley.org.uk> - 2025-02-01 21:40 +0100
        Bug#1094921: sysvinit-core: does not write entries to wtmpdb Andrew Bower <andrew@bower.uk> - 2025-02-01 21:50 +0100
        Bug#1094921: sysvinit-core: does not write entries to wtmpdb Andrew Bower <andrew@bower.uk> - 2025-02-02 17:30 +0100
          Bug#1094921: sysvinit-core: does not write entries to wtmpdb Andrew Bower <andrew@bower.uk> - 2025-02-02 20:30 +0100
            Bug#1094921: sysvinit-core: does not write entries to wtmpdb Lorenzo <plorenzo@disroot.org> - 2025-02-02 20:50 +0100
              Bug#1094921: sysvinit-core: does not write entries to wtmpdb Andrew Bower <andrew@bower.uk> - 2025-02-02 22:10 +0100
                Bug#1094921: sysvinit-core: does not write entries to wtmpdb Lorenzo <plorenzo@disroot.org> - 2025-02-02 23:10 +0100
                Bug#1094921: sysvinit-core: does not write entries to wtmpdb Andrew Bower <andrew@bower.uk> - 2025-02-02 23:30 +0100
                Bug#1094921: sysvinit-core: does not write entries to wtmpdb Lorenzo <plorenzo@disroot.org> - 2025-02-03 00:00 +0100
                Bug#1094921: sysvinit-core: does not write entries to wtmpdb Andrew Bower <andrew@bower.uk> - 2025-02-08 00:40 +0100
                Bug#1094921: sysvinit-core: does not write entries to wtmpdb Lorenzo <plorenzo@disroot.org> - 2025-02-08 01:40 +0100
          Bug#1094921: sysvinit-core: does not write entries to wtmpdb Mark Hindley <mark@hindley.org.uk> - 2025-02-03 10:10 +0100
            Bug#1094921: sysvinit-core: does not write entries to wtmpdb Andrew Bower <andrew@bower.uk> - 2025-02-03 10:30 +0100
      Bug#1094921: sysvinit-core: does not write entries to wtmpdb Andrew Bower <andrew@bower.uk> - 2025-02-01 23:20 +0100
      Bug#1094921: sysvinit-core: does not write entries to wtmpdb Chris Hofstaedtler <zeha@debian.org> - 2025-02-02 02:30 +0100
        Bug#1094921: sysvinit-core: does not write entries to wtmpdb Mark Hindley <mark@hindley.org.uk> - 2025-02-03 10:10 +0100

csiph-web