Red Hat Bugzilla – Bug 995891
vsftpd update breaks package scriptlets
Last modified: 2014-11-09 17:36:09 EST
Description of problem:
vsftpd-3.0.2-4.fc20 package scriplets look like this:
postinstall scriptlet (using /bin/sh):
preuninstall scriptlet (using /bin/sh):
postuninstall scriptlet (using /bin/sh):
Not very surprisingly this results in the following:
/var/tmp/rpm-tmp.zfGqRn: line 1: fg: no job control
warning: %post(vsftpd-3.0.2-4.fc20.x86_64) scriptlet failed, exit status 1
Moreover, since postuninstall scriptlet is affected as well, on the next update it will fail and one will end up with duplicates as
vsftpd-3.0.2-4.fc20 will be not removed (and apparently there is no other way to remove such duplicate as with 'rpm -e --no-scripts ...).
Version-Release number of selected component (if applicable):
See also bug 983760 (which already lingers way too long).
I've committed changes inclusive 'BuildRequires: systemd' recommended in BZ#983760 (comments #7 & #11). If the difficulties persists, please reopen the bug.