Bug 131583
| Summary: | logrotate can not send any mails | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ruediger Oertel <ro> |
| Component: | logrotate | Assignee: | Cristian Gafton <gafton> |
| Status: | CLOSED RAWHIDE | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 3.7.1-2 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2004-10-19 21:57:49 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 123268 | ||
Fixed in logrotate-3.7.1-2. Thanks for your report. |
From Bugzilla Helper: User-Agent: Mozilla/5.0 (compatible; Konqueror/3.2; Linux) (KHTML, like Gecko) Description of problem: logrotate was changed to use execvp/execlp instead of system to compress/mail log files. this is used to do this: execvp(mailArgv[0], mailArgv); with: char * mailArgv[] = { mailCommand, "-s", subject, address, NULL }; and char * mailCommand = DEFAULT_MAIL_COMMAND; now DEFAULT_MAIL_COMMAND is defined in config.h and reads: #define DEFAULT_MAIL_COMMAND "/bin/mail -s" with the result: execvp: no such file or directory true, since there is no binary called "/bin/mail -s" ... Version-Release number of selected component (if applicable): logrotate-3.7 How reproducible: Always Steps to Reproduce: 1. 2. 3. Additional info: