Bug 1657367
Summary: | strange behaviour of alternatives java | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Frank Ansari <mail> |
Component: | chkconfig | Assignee: | Lukáš Nykrýn <lnykryn> |
Status: | CLOSED CANTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 29 | CC: | cglombek, jsynacek, lnykryn, msekleta, odubaj, walters |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-01-31 13:35:30 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: | |||
Bug Depends On: | |||
Bug Blocks: | 1352154 |
Description
Frank Ansari
2018-12-07 19:43:50 UTC
The problem was in unlinking /usr/bin/java instead of /etc/alternatives/java and also bad path linking due to this problem. The bug will be probably fixed in the next release. We should wait what the maintainer will say about the fix. That part of code should be improved a bit but this is not the problem here. The way how the rpm-ostree in silver-blue work is incompatible with alternatives. The main issue is that the alternative database in /var is not created at all. This can't be solved in the alternatives, you need to file an issue about this behaviour to silverblue directly https://pagure.io/fedora-silverblue/issues FWIW I think alternatives could fix this by storing state in /etc solely and not using /var. As I noted on an internal mailing list, this isn't *just* an ostree issue; any system which tries to "snapshot" the OS or do offline updates, without capturing/snapshotting user data (i.e. /var) would trip over this too. I think Colin's proposed fix is the way to go with this; created https://github.com/fedora-sysv/chkconfig/issues/27 for better visibility upstream. |