Package: runit-init
Version: 2.1.2-22
Severity: wishlist
Tags: upstream

Hi,

the initscripts package ships /etc/init.d/umountnfs.sh, which is started on
shutdown and invokes "halt -w", which writes a shutdown record to
/var/log/wtmp.

The halt(8) binary shipped with runit-init, however, ignores the option and
tries to initiate a shutdown, waiting for it to complete, but a shutdown is
already in progress, waiting for /etc/init.d/umountnfs.sh to exit, which is
waiting for halt(8), which is waiting ...

I think as a minimum, halt -w and --wtmp-only should be a no-op and exit
immediately; but the clean solution would be to actually write that shutdown
record to wtmp.

AndrĂ¡s

-- System Information:
Debian Release: 10
  APT prefers unstable
  APT policy: (350, 'unstable'), (350, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.169-vs2.3.9.8-caeeng (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=hu_HU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: runit (via /run/runit.stopit)

Versions of packages runit-init depends on:
ii  getty-run       2.1.2-19
ii  initscripts     2.92~beta-2+devuan1.1
ii  libc6           2.28-3
ii  runit           2.1.2-22
ii  runit-helper    2.7.3
ii  sysuser-helper  1.3.3
ii  sysv-rc         2.92~beta-2+devuan1.1

runit-init recommends no packages.

runit-init suggests no packages.

-- no debconf information

-- 
               Hit ESC once to quit, or twice to save your data.

Reply via email to