Bug 2221442
| Summary: | rsyslogd logs an error that is seemingly unfixable | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | John Dodson <jwadodson> |
| Component: | rsyslog | Assignee: | Attila Lakatos <alakatos> |
| Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 38 | CC: | alakatos, lkundrak, rsroka, zfridric |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 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
John Dodson
2023-07-09 03:44:59 UTC
To silence the error, you can set the filecreatemode module parameter for the imjournal module. Where & how - I've tried many permutations in many places. Can that not be a default in the distributed config file? (Wherever that might be?) Just change module(load="imjournal" StateFile="imjournal.state") To module(load="imjournal" StateFile="imjournal.state" filecreatemode="some file mode that is suitable for you, e.g. 0600 but don't forget to set the appropriate permission for the file as well if you've already created it") OK. Can whatever the current default is (or better 0640) be placed in the rsyslog.conf file in the future? It seems unreasonable to leave such an error as the default. See https://github.com/rsyslog/rsyslog/pull/5109 for detailed discussion and what is recommended. |