| Summary: | vsftpd gives an error when uninstalled | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | claire robinson <eeeemail> |
| Component: | RPM Packages | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | g.merigo, luigiwalser |
| Version: | 3 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | vsftpd | CVE: | |
| Status comment: | |||
|
Description
claire robinson
2013-08-21 13:34:50 CEST
claire robinson
2013-08-21 13:35:01 CEST
Hardware:
i586 =>
All Adding you here Giuseppe as you use this program and know a bit about the patch, David too. CC:
(none) =>
g.merigo, luigiwalser I'm adding here the same comment in the other bug:
@claire
could the init.d file be included in one of the patches introduced for this bug? Maybe there's some inclusion that put the file in the rpm if there isn't one alreaedy?
I'm not very familiar with spec files even if I meddled with them sometimes, but it seems that there's something like this in the spec patch:
%preun
+if [ -e /etc/init.d/%{name} ]; then
%stop_on_removal %name
+fi
Maybe the spec file for mageia did not include this check?
Here's what it has: %preun %_preun_service vsftpd if [ -x /usr/sbin/xinetd ];then %_post_service xinetd fi and what %_preun_service vsftpd runs is: /usr/share/rpm-helper/del-service vsftpd 0 vsftpd (assuming you're uninstalling the package...on upgrade when it runs it, the 0 is a 1). So that _preun_service call is standard for all services. Current SPEC file: http://svnweb.mageia.org/packages/updates/3/vsftpd/current/SPECS/vsftpd.spec?revision=468626&view=markup The updating bit is fine..
# urpmi vsftpd
installing vsftpd-3.0.2-2.1.mga3.x86_64.rpm from /var/cache/urpmi/rpms
Preparing... ############################
1/1: vsftpd ############################
1/1: removing vsftpd-3.0.2-2.mga3.x86_64
############################
Removing is when it shows the error..
# urpme vsftpd
removing vsftpd-3.0.2-2.1.mga3.x86_64
removing package vsftpd-3.0.2-2.1.mga3.x86_64
1/1: removing vsftpd-3.0.2-2.1.mga3.x86_64
#####################################
warning: /etc/vsftpd/vsftpd.conf saved as /etc/vsftpd/vsftpd.conf.rpmsave
warning: file /etc/rc.d/init.d/vsftpd: remove failed: No such file or directory
#####################################################################
It happens with both builds though so isn't a regression introduced with the patch.
|