[Bug 1443076] Review Request: java-9-openjdk - OpenJDK Runtime Environment in implementation of java 9 specification

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1443076



--- Comment #19 from jiri vanek <jvanek@xxxxxxxxxx> ---
(In reply to Mikolaj Izdebski from comment #16)
> (In reply to jiri vanek from comment #13)
> > - No %config files under /usr.
> >   Note: %config(noreplace)
> >  
> > /usr/lib/jvm/java-9-openjdk-9.0.0.163-2.fc26.x86_64/lib/security/default.
> > policy%config(noreplace)
> > ...
> >  
> > /usr/lib/jvm/java-9-openjdk-9.0.0.163-2.fc26.x86_64/lib/accessibility.
> > properties
> >   See:
> >   http://fedoraproject.org/wiki/Packaging/Guidelines#Configuration_files
> >   Perhaps symlink config files from
> > /usr/lib/jvm/java-9-openjdk-9.0.0.163-2.fc26.x86_64/conf to
> > /etc/java-9-openjdk/java-9-openjdk-9.0.0.163-2.fc26.x86_64/
> > 
> > Well.. why? i dont see a reason for this change.  java config files are
> > quite specific, and always lied in java_home.
> > 
> > Every config file we ever moved outised was casuing some not expected
> > behavior (cacerts, etc/java).
> > 
> > To symlink, seems like just bending over knee to make guideliens happy.
> > 
> > If you isnists, I will do as you advice. But I really think it is
> > unnecessary work which will help nothing.
> 
> There are several valid reasons for keeping config files in /etc:
>  - /usr may be read-only, but users should be allowed to edit config files
>  - /usr may be shared between many machines, may use different Java config
>  - if config is in /etc then you need to back up only this directory, /usr
> is supposed to be restorable from package contents

Any config file is, isnt? Even if it is in etc...
> 
> From FHS: "/usr is shareable, read-only data. That means that /usr should be
> shareable between various FHS-compliant hosts and must not be written to.
> Any information that is host-specific or varies with time is stored
> elsewhere". So yes, config files definitely don't belong in /usr


Thanx for wring this down. 
I see two issues
 - all javas up to now had configs in java_home, which in /usr/lib/jvm/theJdk
   - so if your concerns are applicable, then they have to be revisited
 - config files were decided to be in jdk, as they are supposed to be jdk x
cluster specific. So this is fundametnal chage to java in fedora/rhel.

Still it may be good idea to allow per machine setup. 


If we agreed on this, are you ok with simply symlinks?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux