hidden directories under /etc/
omajid at redhat.com
Thu Sep 29 14:57:27 PDT 2011
On 09/29/2011 05:43 PM, Alan Bateman wrote:
> Omair Majid wrote:
>> I recently discovered that openjdk creates hidden directories under
>> /etc/ . I would like to propose that those directories should be
>> made explicit.
>> webrev at:
>> The patch modifies the directory names to make them visible by
>> default. The directory /etc/java/ already exists on many linux
>> distributions - jpackage uses it - so it seems like a useful
>> replacement directory.
>> The patch also renames systemPrefs to system-prefs to make it slightly
>> more consistent with existing directories under /etc/.
>> Does anyone have any thoughts or concerns?
> I don't think the preferences API is used very often but changing the
> default locations will mean that existing preferences are lost (unless
> you set java.util.prefs.userRoot and java.util.prefs.systemRoot to their
> original location). I'm not sure if it's worth the disruption it might
Yes, I am a little afraid of the disruption too, which is why I proposed
it for jdk8, not for a 7 update.
That said, I think these directories should be visible by default. We
are storing preferences in it and hiding the directory from the sysadmin
serves no purpose. In fact, programs like rkhunter tend to flag them as
More information about the core-libs-dev