[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 #16 from Mikolaj Izdebski <mizdebsk@xxxxxxxxxx> ---
(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

>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

-- 
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