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


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

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

From Lorenzo <plorenzo@disroot.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1094921: sysvinit-core: does not write entries to wtmpdb
Date 2025-02-02 20:50 +0100
Message-ID <KbO8F-dTRH-7@gated-at.bofh.it> (permalink)
References (6 earlier) <KbL17-dRrG-1@gated-at.bofh.it> <KblT3-dy13-7@gated-at.bofh.it> <KbNPj-dTGw-1@gated-at.bofh.it> <KblT3-dy13-7@gated-at.bofh.it> <KbNPj-dTGw-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi all,

On Sun, 2 Feb 2025 19:24:45 +0000
Andrew Bower <andrew@bower.uk> wrote:

> 
> Actually, I see no reason to rely on most of these dependencies or
> wait until runlevel 2.
> 
> The dbus dependency is only for systemd to tell us about a "soft
> reboot", which is obviously not a thing in this case.

+ 1

> 
> How about this change? Seems to work ok.
> 
> diff --git a/debian/wtmpdb.wtmpdb-update-boot.init
> b/debian/wtmpdb.wtmpdb-update-boot.init index d9213fc..4022d0f 100644
> --- a/debian/wtmpdb.wtmpdb-update-boot.init
> +++ b/debian/wtmpdb.wtmpdb-update-boot.init
> @@ -15,10 +15,10 @@ fi
>  # 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
> +# Should-Start:
> +# Should-Stop:
> +# Default-Start:     1 2 3 4 5

if $remote_fs insserv facility is mountnfs initscript, then
Default-start can be runlevel S (it make sense to write the boot
wtmp entry during boot runlevel, right?)

Cheers,
Lorenzo

> +# Default-Stop:      0 6
>  # Short-Description: Write boot and shutdown times into wtmpdb
>  # Description:       Invokes wtmpdb to write boot and shutdown times
>  #                    into the wtmpdb login database.
> 

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