| Summary: | init scripts output is totally suppressed when running them from the shell | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Simo Sorce <ssorce> |
| Component: | systemd | Assignee: | Lennart Poettering <lpoetter> |
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 15 | CC: | lpoetter, metherid, mschmidt, notting, plautrba |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-02-16 21:56:16 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Simo Sorce
2011-02-16 13:41:06 UTC
Yes, we suppress this output. Since we spawn services in a completely clean execution context detached from the user context services do not have access to the tty that the user happened to start the software on. This is a good thing and one of the good things about systemd: we do not inherit any process properties, resource limits, yadda yadda from the user running "systemctl start". If a service fails to start the reason please log details to syslog as we plan to hook up "systemctl status ..." to syslog sooner or later. By setting SysVConsole=yes in /etc/systemd/system.conf you can redirect sysv output to /dev/console. Which is half a replacement for what you are looking for. I will close this bug since I don't think services should never get access to the tty a user happened to start "systemctl start" from. And the right place for details about service failure is syslog. |