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


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

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

From Mark Hindley <mark@hindley.org.uk>
Newsgroups linux.debian.bugs.dist
Subject Bug#1094921: sysvinit-core: does not write entries to wtmpdb
Date 2025-02-01 21:40 +0100
Message-ID <Kbsrv-dD0H-5@gated-at.bofh.it> (permalink)
References (1 earlier) <KblT3-dy13-7@gated-at.bofh.it> <Kbp0B-dAi5-1@gated-at.bofh.it> <KbshP-dCWe-1@gated-at.bofh.it> <KblT3-dy13-7@gated-at.bofh.it> <KbshP-dCWe-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, Feb 01, 2025 at 08:23:51PM +0000, Mark Hindley wrote:
> Andrew,
> 
> I suppose adding something in initscripts might be possible.

Actually, is there a reason why this or something similar should be included in
wtmpdb itself?

Mark

#! /bin/sh
# Generated by /home/mark/src/debian/unit-translator/utrans from:
#  6e6aacdeddf878a01b260abbda787373e176cce440d786d535d6cf7a465c25cd  ./tmp.iH71YBzenr/usr/lib/systemd/system/wtmpdb-update-boot.service

# kFreeBSD does not accept scripts as interpreters, using #!/bin/sh and sourcing.
if [ true != "$INIT_D_SCRIPT_SOURCED" ] ; then
   set "$0" "$@"; INIT_D_SCRIPT_SOURCED=true . /lib/init/init-d-script
fi
### BEGIN INIT INFO
# Provides: wtmpdb-update-boot
# Required-Start: $remote_fs
# Required-Stop: $remote_fs
# Should-Start: dbus systemd-remount-fs systemd-tmpfiles-setup
# Should-Stop: dbus systemd-remount-fs systemd-tmpfiles-setup
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Description: Write boot and shutdown times into wtmpdb
### END INIT INFO
DESC="Write boot and shutdown times into wtmpdb"
DAEMON="none"
NAME="wtmpdb-update-boot"
do_start_cmd_override() {
  /usr/bin/wtmpdb boot
}
do_stop_cmd_override() {
  /usr/bin/wtmpdb shutdown
}

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | 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