Single user mode problem

From: Domenico Panella <pandom79_at_gmail.com>
Date: Mon, 24 Jan 2022 14:36:40 +0100

Hi all,

I'm using runit init system on slackware using the void linux init scripts.
All works like a charm except sigle user mode which just run sulogin.
The service goes in loop not showing the prompt for some reason.
This is the service:

/etc/sv/sulogin/run

#!/bin/sh
[ -r conf ] && . ./conf
read -r tty < /sys/class/tty/console/active
tty=/dev/${tty##* }
exec /usr/bin/setsid /sbin/sulogin ${OPTS:=-p} < $tty >$tty 2>&1

What am i wronging?
Regards
Received on Mon Jan 24 2022 - 14:36:40 CET

This archive was generated by hypermail 2.4.0 : Mon Jan 24 2022 - 14:37:12 CET