Jason Pyeron
2011-Feb-21 15:27 UTC
[CentOS] java-1.6.0-openjdk.x86_64 keeps clobbering logging.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. /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.
Jason Pyeron
2011-Feb-21 20:20 UTC
[CentOS] java-1.6.0-openjdk.x86_64 keeps clobberinglogging.properties
> -----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.
Benjamin Franz
2011-Feb-21 22:05 UTC
[CentOS] java-1.6.0-openjdk.x86_64 keeps clobbering logging.properties
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