Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 562702 - sys-process/runit /etc/runit/2 setsid
Summary: sys-process/runit /etc/runit/2 setsid
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-10 03:56 UTC by toast+misc
Modified: 2016-11-10 22:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description toast+misc 2015-10-10 03:56:21 UTC
Getty (agetty, mingetty, others) need to run in their own process group.
This used to be provided using chpst (which was, indeed, not the correct way to do this).

A potential solution would be to prefix all the execs in getty run files with setsid, however a much simple solution would be to add -P to runsvdir's arguments in /etc/runit/2.
Comment 1 William Hubbs gentoo-dev 2016-11-10 22:49:25 UTC
This is fixed in 2.1.2-r1. Thanks for the report.