Bug 1704608
| Summary: | systemd-tmpfiles-clean deletes /tmp/hsperfdata_* | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Gerrit Slomma <gerrit.slomma> |
| Component: | java-1.8.0-openjdk | Assignee: | jiri vanek <jvanek> |
| Status: | CLOSED WONTFIX | QA Contact: | OpenJDK QA <java-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.6 | CC: | apmukher, cww, dbhole, dtardon, jvanek, sgehwolf, systemd-maint-list |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-11-11 21:46:58 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
Gerrit Slomma
2019-04-30 08:20:13 UTC
(In reply to Gerrit Slomma from comment #0) > Added following lines to /usr/lib/tmpfiles.d/tmp.conf and restarted > systemd-tmpfiles-clean service afterwards to remedy the problem: > > # Exclude java-hooks > x /tmp/hsperfdata_* > > I hope this was the correct approach? Yes, it is. Just the exclusion should not be in tmp.conf, but in a separate config file owned by the package that creates/uses these dirs. So the goal is to have generated from rpmbuild file of: /usr/lib/tmpfiles.d/java.conf where java.conf contains two lines of: x /tmp/hsperfdata_* x /tmp/.java_pid* and eventually comment of : # Exclude java-hooks Right? One nit to highlight, Multiple JDKS can be installed, so this file must be be same over all jdks. If it can change ove jdk, it must be /usr/lib/tmpfiles.d/java-version(-openjdk).conf If it is supposed to change betwen releases, then it must be /usr/lib/tmpfiles.d/NVRA.conf I guess best for us is /usr/lib/tmpfiles.d/java-version-openjdk.conf Thoughts? Considering how badly is this tested, any comment befor eimplementation itself is valuable. (In reply to jiri vanek from comment #7) > I guess best for us is /usr/lib/tmpfiles.d/java-version-openjdk.conf > > Thoughts? This sounds right. Red Hat Enterprise Linux 7 shipped it's final minor release on September 29th, 2020. 7.9 was the last minor releases scheduled for RHEL 7. From intial triage it does not appear the remaining Bugzillas meet the inclusion criteria for Maintenance Phase 2 and will now be closed. From the RHEL life cycle page: https://access.redhat.com/support/policy/updates/errata#Maintenance_Support_2_Phase "During Maintenance Support 2 Phase for Red Hat Enterprise Linux version 7,Red Hat defined Critical and Important impact Security Advisories (RHSAs) and selected (at Red Hat discretion) Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available." If this BZ was closed in error and meets the above criteria please re-open it flag for 7.9.z, provide suitable business and technical justifications, and follow the process for Accelerated Fixes: https://source.redhat.com/groups/public/pnt-cxno/pnt_customer_experience_and_operations_wiki/support_delivery_accelerated_fix_release_handbook Feature Requests can re-opened and moved to RHEL 8 if the desired functionality is not already present in the product. Please reach out to the applicable Product Experience Engineer[0] if you have any questions or concerns. [0] https://bugzilla.redhat.com/page.cgi?id=agile_component_mapping.html&product=Red+Hat+Enterprise+Linux+7 |