Bug 15755
| Summary: | ctrl-C does not work in runlevel s | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Rene Uittenbogaard <ruittenbogaard> |
| Component: | sh-utils | Assignee: | Bernhard Rosenkraenzer <bero> |
| Status: | CLOSED RAWHIDE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.0 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i686 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2001-02-19 14:58:05 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Rene Uittenbogaard
2000-08-08 19:08:04 UTC
This appears to be a problem with shell startup after switching to single user mode. How are you getting to single user mode? What's needed is to set ^C in the profile used by the shell that's run when you end up in single user mode. Adding the line "stty intr ^C" in /root/.bashrc does not help. However, a long time ago the following customisation has been made to /etc/inittab: ss:S:once:/sbin/sulogin removing / commenting out this line solves the problem. However, as a security measure, I don't want to remove it. Also, in /etc/rc.sysinit, sulogin is used, which means ctrl-C cannot be used in an emergency shell. Is it possible to consider this bugreport as a bug in sulogin? The problem is still present in RH7.0 with the same customisation. Will you have a look at this problem again please? I can't reproduce this with the current version (from rawhide). |