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?
-- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Principal Consultant 10 West 24th Street #100 - - +1 (443) 269-1555 x333 Baltimore, Maryland 21218 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is copyright PD Inc, subject to license 20080407P00.
-----Original Message----- From: Jason Pyeron Sent: Monday, February 21, 2011 10:27 To: 'CentOS mailing list' Subject: [CentOS] java-1.6.0-openjdk.x86_64 keeps clobberinglogging.properties
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.
Fyi: https://bugzilla.redhat.com/show_bug.cgi?id=679180
/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?
-- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Principal Consultant 10 West 24th Street #100 - - +1 (443) 269-1555 x333 Baltimore, Maryland 21218 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is copyright PD Inc, subject to license 20080407P00.
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.