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


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

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-03 00:00 +0100
Message-ID <KbR6x-dVJW-13@gated-at.bofh.it> (permalink)
References (8 earlier) <KbPo5-dUS4-3@gated-at.bofh.it> <KbQk9-dVqG-11@gated-at.bofh.it> <KbQDv-dVx0-3@gated-at.bofh.it> <KblT3-dy13-7@gated-at.bofh.it> <KbQDv-dVx0-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sun, 2 Feb 2025 22:25:43 +0000
Andrew Bower <andrew@bower.uk> wrote:

> On Sun, Feb 02, 2025 at 11:00:46PM +0100, Lorenzo wrote:
> > On Sun, 2 Feb 2025 21:00:41 +0000
> > Andrew Bower <andrew@bower.uk> wrote:
> > 
> > For the boot entry I can just remove the wtmpdb call in stage 1;
> > for the shutdown entry in runit, is implemented as "halt -w[1]" in
> > shutdown.c that is called by umountnfs.sh in runlevel 0 or 6, and
> > it's not obvious to me how to prevent a double shutdown entry here.
> > maybe the sysv script can be a no-op when runit is init?
> > 
> > [ -f  /run/runit.stopit ] && exit 0
> > 
> > better ideas are welcome; when I added the code to runit I didn't
> > think a sysv script was going to be accepted in the wtmpdb package.
> 
> What about /etc/runit/override-sysv.d?

yes, that would work too, I can ship the file with runit-init package.

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