Summary: |
sys-process/runit-2.1.1 - runsvdir/all/getty-* scripts need to set the process group for shell to work properly |
Product: |
Gentoo Linux
|
Reporter: |
Enne Eziarc <gentoo+bugs> |
Component: |
[OLD] Core system | Assignee: |
William Hubbs <williamh> |
Status: |
RESOLVED
FIXED
|
|
|
Severity: |
normal
|
CC: |
base-system, rene.rheaume
|
Priority: |
Normal
|
Keywords: |
PATCH |
Version: |
unspecified | |
|
Hardware: |
All | |
|
OS: |
Linux | |
|
Whiteboard: |
|
Package list:
|
|
Runtime testing required:
|
---
|
Attachments: |
Make each agetty process have its own process group
|
Created attachment 384236 [details, diff] Make each agetty process have its own process group With Gentoo's current runit scripts, logging in on a VT makes bash complain about "no job control in this shell". This stops things like ctrl+c and ctrl+z from working, which is pretty annoying. The bash manpage is vague about this, but I figured out that the root cause is that bash wants its own process group, and runsv doesn't give it one by default. It's a trivial fix, here's a patch.