[syslog-ng] Syslog-ng uninstallation issue

Siem Korteweg Siem.Korteweg at qnh.nl
Wed Sep 30 11:14:18 CEST 2009


Hi,

a spec-file is used by rpmbuild to produce the rpm. 
When you are not happy with the way this rpm behaves, dive into RPM and
improve the specfile.

regards,

Siem Korteweg


-----Oorspronkelijk bericht-----
Van: syslog-ng-bounces at lists.balabit.hu namens Jain, Vaibhav (GE Healthcare)
Verzonden: wo 30-9-2009 10:56
Aan: Syslog-ng users' and developers' mailing list
Onderwerp: Re: [syslog-ng] Syslog-ng uninstallation issue
 
Hi,


Thanks for your quick response.

I am using syslog-ng open source RPM (3.0.3-1 rhel5 amd64) for
installation. 

http://www.balabit.com/downloads/files/syslog-ng/sources/3.0.3/setups/rh
el-5-amd64/

I am not using SPEC file or source code for installation.

Regards,
V 

-----Original Message-----
From: syslog-ng-bounces at lists.balabit.hu
[mailto:syslog-ng-bounces at lists.balabit.hu] On Behalf Of Siem Korteweg
Sent: Wednesday, September 30, 2009 2:15 PM
To: Syslog-ng users' and developers' mailing list
Subject: RE: [syslog-ng] Syslog-ng uninstallation issue

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 at 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


_____________________________________________________________________________
_
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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 4203 bytes
Desc: not available
Url : http://lists.balabit.hu/pipermail/syslog-ng/attachments/20090930/a8c4d7bf/attachment-0001.bin 


More information about the syslog-ng mailing list