Hi, when the specfile contains a separate entry for this directory in the %files section, it will be removed upon removal of the rpm (when the directory is empty). When the specfile does not contain this separate entry, the directory will be created implicitly. In that case rpm does not "know" this directory and will never remove it. regards, Siem Korteweg -----Oorspronkelijk bericht----- Van: syslog-ng-bounces@lists.balabit.hu namens Balazs Scheidler Verzonden: wo 30-9-2009 10:40 Aan: Syslog-ng users' and developers' mailing list Onderwerp: Re: [syslog-ng] Syslog-ng uninstallation issue On Wed, 2009-09-30 at 11:01 +0530, Jain, Vaibhav (GE Healthcare) wrote:
Hi,
I am using syslog-ng open source (3.0.3-1 rhel5 amd64). Syslog-ng install files in /opt/syslog-ng directory but in the uninstalling syslog-ng rpm does not remove this directory. Let me know how to solve this problem? Is there any release with this fix? I don't want to remove /opt/syslog-ng directory manually.
Please help!
if that directory is not removed after removing the RPM, it probably indicates that there are some leftover files in the hierarchy, e.g. files that were not installed by the RPM package. After checking that you indeed don't need those files, you can remove the directory safely. -- Bazsi _____________________________________________________________________________ _ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.campin.net/syslog-ng/faq.html