Bug 1011746
Summary: | RFE/MSG: improve "Flushing journal to Persistent Storage" message with Storage=volatile | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Chris Murphy <bugzilla> |
Component: | systemd | Assignee: | systemd-maint |
Status: | CLOSED CANTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | johannbg, lnykryn, mschmidt, msekleta, plautrba, systemd-maint, vpavlin, zbyszek |
Target Milestone: | --- | Keywords: | FutureFeature, Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-10-21 18:22:50 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Chris Murphy
2013-09-25 03:56:37 UTC
"Trigger Flushing of Journal to Persistent Storage" is the description of systemd-journal-flush.service. This service gets started regardless of what's in journald.conf. All it does is it sends SIGUSR1 to systemd-journald. systemd-journald will simply ignore this signal if "Storage=volatile" is configured. It is true that starting systemd-journal-flush.service is pointless when "Storage=volatile" is used, but it causes no harm. Possible solutions to clear up the confusion: 1. Rephrase the service's description somehow. "Notify journald About Availability Of Persistent Storage"? Would you consider that an improvement? 2. Add a generator to parse journald.conf and pull systemd-journald-flush.service into the boot transaction only if persistent storage is enabled. This would work, but I don't like this. It means additional code and the overhead of the generator is comparable to the overhead of starting the service needlessly. Thanks for the response. This bug is more user confusion than an actual bug, and is more an RFE and figuring out what that would be. The suggestion is definitely an improvement. It makes it a true statement of fact. While troubleshooting something else, I needed to redirect the log elsewhere and this message seemed like a statement of fact, no matter what I changed in journald.conf, until I learned it wasn't saying what I thought it was saying. I also thought about journalctl having a way to show where the current logs are being written, reported by --disk-usage. Synonyms for this might be --usage and --status. So all of those would return what --disk-usage does now, but also includes the path to journals. To make it REALLY obvious, the returned information could even say persistent vs volatile. e.g. [root@local ~]# journalctl --usage/status/disk-usage Journals take up 12.0M on persistent storage at /var/log/journal This message is a reminder that Fedora 20 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 20. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '20'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 20 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. I can't come up with a wording that would be conside but avoid this ambiguity. If you have a good solution, please reopen. |