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@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to