| Summary: | systemd rc-local.service failed, but /etc/rc.local manually ok | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Maxime Thépault <sites> |
| Component: | systemd | Assignee: | Lennart Poettering <lpoetter> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 15 | CC: | harald, johannbg, lpoetter, metherid, mschmidt, notting, plautrba |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-06-02 15:29:35 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
Maxime Thépault
2011-06-02 07:37:16 UTC
Your script returns exit code 1 as it appears. systemd considers that a failure. Thank you, I found the bug, it was a program that use sudo : Before, with init.d, no problem, but now with systemd, it seem not use a tty, so I obtained : sudo: sorry, you must have a tty to run sudo So, I removed "Defaults requiretty" into /etc/sudoers and it works. |