From: Domenico Panella <pandom79@gmail.com>
To: supervision@list.skarnet.org
Subject: Single user mode problem
Date: Mon, 24 Jan 2022 14:36:40 +0100 [thread overview]
Message-ID: <37344717.Ad1ZaxnVCB@susedomenico> (raw)
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
next reply other threads:[~2022-01-24 13:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-24 13:36 Domenico Panella [this message]
2022-01-25 19:15 ` Leah Neukirchen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=37344717.Ad1ZaxnVCB@susedomenico \
--to=pandom79@gmail.com \
--cc=supervision@list.skarnet.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).