Re: java-1.6.0-openjdk.x86_64 keeps clobbering logging.properties

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



On 02/21/2011 07:27 AM, Jason Pyeron wrote:
> It appears that the rpm does not list the logging.properties as a config file,
> as such every time yum updates the file get overwritten.
>
> /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/logging.properties
>
> For now I have a cron job to replace it.
>
> Any suggestions?

Try making the file immutable.

chattr +i 
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/logging.properties

Just remember to remove the immutable flag when you want to edit it.

-- 
Benjamin Franz

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux