Bug 514022
| Summary: | dracut causing 'cannot set terminal process group (-1): Inappropriate ioctl for device' with ttyS0 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mark McLoughlin <markmc> |
| Component: | dracut | Assignee: | Harald Hoyer <harald> |
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | harald, plautrba |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2009-09-15 13:59:15 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
Mark McLoughlin
2009-07-27 16:59:54 UTC
well, bash would have to do what init normally does:
/* get session leader */
setsid();
/* set controlling terminal */
if (ioctl (0, TIOCSCTTY, 1))
warn("failed to TIOCSCTTY");
maybe we should write a small helper application which does just this and rexecs the shell. sry, won't fix this it seems to be same problem as https://bugzilla.redhat.com/show_bug.cgi?id=519237 i'd suggest to close this as duplicate #519237 is after we switch_root, so it's different. |