Hello everyone,

The runit home page invites people to write to the mailing list if runit runs on
another operating system. I used runit as init systems on Debian GNU/Hurd, see
the output of ps attached.

On a microkernel operating system like the Hurd, the init (runit in this case)
is not the first program running in userspace, but on Debian the PIDs are
renumbered such that runit is reassigned PID 1.

Perhaps interesting here is the fact that the Hurd does some sort of supervision
of its own servers, with passive translators being restarted when needed, but I
don't know the exact mechanism by which this is achieved.

Best regards,
João
USER       PID  PPID  PGRP  SESS LCOLL STAT TT     TIME COMMAND
root         1     1     1     1     1 Sslo  -  0:00.17 runit
root         2     1     1     1     1 Sp    -  0:00.04 /hurd/startup 
root=part:1:device:hd0
root         3     2     1     1     1 D<fmo ?  0:00.05 gnumach 
root=part:1:device:hd0
root         4     2     1     1     1 R<mo  ?  0:00.20 /hurd/proc
root         5     2     1     1     1 S<o   -  0:00.04 pci-arbiter 
--host-priv-port=1 --device-master-port=2 --next-task=3
root         6     2     1     1     1 S<o   -  0:00.23 acpi --next-task=1
root         7     8     1     1     1 S<o   -  0:00.02 rumpdisk --next-task=1
root         8     2     1     1     1 S<o   -  0:01.91 ext2fs 
--multiboot-command-line=root=part:1:device:hd0 --exec-server-task=1 -T typed 
part:1:device:hd0
root         9     8     1     1     1 S<o   -  0:00.17 exec
root        10     2     1     1     1 S<o   -  0:00.02 /hurd/auth
root        12     8     1     1     1 S<o   -  0:00.05 /hurd/random 
--seed-file /var/lib/random-seed
root        13     8     1     1     1 S<o   -  0:00.17 /hurd/term /dev/console 
device console
root        14     8     1     1     1 S<o   -  0:00.10 /hurd/pflocal
root        20     8     1     1     1 S<o   -  0:00.01 /hurd/storeio hd0s1
root        21     8     1     1     1 S<o   -  0:00.00 /hurd/storeio hd0s2
root        22     1     1     1     1 S<o   -  0:00.01 /hurd/procfs 
--compatible none
root        23     8     1     1     1 S<o   -  0:00.01 /hurd/storeio 
--no-cache time
-           28     8     1     1     1 So    -  0:00.00 /hurd/null
root       103    22     1     1     1 So    -  0:00.01 /hurd/magic pid
root       105     1     1     1     1 S<o   -  0:00.04 /hurd/tmpfs --nosuid 
--size=10% --mode=755 tmpfs
root       108     1   108   108     1 Ssfo  -  0:00.10 /hurd/mach-defpager
root       122     1     1     1     1 S<o   -  0:00.02 /hurd/tmpfs --noexec 
--nosuid --size=5242880 --mode=1777 tmpfs
root       143     8     1     1     1 S<o   -  0:00.00 /hurd/proxy-defpager
root       180     8     1     1     1 So    -  0:00.00 /hurd/magic --directory 
fd
-          215    22     1     1     1 So    -  0:00.01 /hurd/mtab /
root       579     1   579   579     1 Sso   -  0:00.01 runsvdir -P 
/etc/service log: 
........................................................................................................................................................................................................................................................................................................................................................................check:
 3: socklog-check: not found^K
root       621     8     1     1     1 S<o   -  0:00.00 /hurd/streamio kmsg
root       630   579   630   630     1 Sso   -  0:00.01 runsv default-syslog
root       631   579   631   631     1 Sso   -  0:00.02 runsv rsyslog
root       632   579   632   632     1 Sso   -  0:00.00 runsv cron
root       633   579   633   633     1 Sso   -  0:00.00 runsv getty-console
root       634     8     1     1     1 S<o   -  0:00.00 /hurd/fifo
root       635     8     1     1     1 S<o   -  0:00.00 /hurd/fifo
root       636     8     1     1     1 S<o   -  0:00.03 /hurd/fifo
root       637     8     1     1     1 S<o   -  0:00.01 /hurd/fifo
root       638     8     1     1     1 S<o   -  0:00.01 /hurd/fifo
root       639     8     1     1     1 S<o   -  0:00.00 /hurd/fifo
root       640     8     1     1     1 S<o   -  0:00.00 /hurd/fifo
root       641     8     1     1     1 S<o   -  0:00.00 /hurd/fifo
root       642   630   630   630     1 So    -  0:00.00 sleep 6000
root       643   631   631   631     1 So    -  0:00.00 /usr/sbin/rsyslogd -n 
-iNONE
root       644   633   644   644   644 Sslow co 0:00.01 -bash
root       645   632   632   632     1 So    -  0:00.04 cron -f
root       677     8     1     1     1 S<o   -  0:00.01 /hurd/pfinet -6 
/servers/socket/26
root       678     8     1     1     1 S<o   -  0:00.15 /hurd/password
root       679     8     1     1     1 So    -  0:00.00 /hurd/magic tty
root       683   644   683   644   644 S    co  0:00.02 ps -ejw

Reply via email to