Package: runit-init
Version: 2.2.0-2
Severity: normal
X-Debbugs-Cc: João Pedro Malhado <phlogis...@sapo.pt>, plore...@disroot.org

I received a private mail with a report about runit as init on Hurd,
and it looks there are missing pieces
[writing this bug as a reminder for myself]

João, feel free to follow-up here if/when you have further infos.

So it looks like Hurd kernel first runs /etc/hurd/runsystem script which is
handled via alternatives; at the end the script exec /sbin/init.
When sysvinit-core is installed, /etc/hurd/runsystem.sysv is used;

on runit-init side, at least the following is needed:

* install a /etc/hurd/runsystem.runit and update the alternatives
  (/etc/hurd/runsystem.sysv invokes init with parameters that are not ok for 
runit-init)

* mount proc at boot: proc is not mounted automatically (as it is in linux);
  in sysvinit the mount is done inside the /etc/init.d/rc script, not used by 
runit-init

* runit-init for now conflicts with sysvinit-core so either remove the conflic 
for Hurd
  or at least make sure that when runit-init is installed the alternative of 
sysvinit-core
  is removed; this may require cooperation of Hurd porters and/or sysvinit 
maintainers

on getty-run side:

* getty tty[n] uses the 'linux' parameter which is wrong for Hurd (no parameter 
at
  all seems ok)

and maybe few other things

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.8.12-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN, TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: runit (via /run/runit.stopit)

Versions of packages runit-init depends on:
ii  getty-run    2.2.0-2
ii  initscripts  3.14-4
ii  insserv      1.26.0-1
ii  mount        2.40.4-5
ii  runit        2.2.0-2

Versions of packages runit-init recommends:
ii  runit-services  0.9.0

runit-init suggests no packages.

-- no debconf information

Reply via email to