Bug 32953

Summary: %postun scriptlet failed when removing sa-content-filter
Product: Sisyphus Reporter: Vladimir D. Seleznev <vseleznv>
Component: sa-content-filterAssignee: Nobody's working on this, feel free to take it <nobody>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P3 CC: 3aHyga, iv
Version: unstable   
Hardware: all   
OS: Linux   

Description Vladimir D. Seleznev 2016-12-28 19:39:27 MSK
Вывод:

subst: sed: -e expression #1, char 143: unterminated `s' command
warning: %postun(sa-content-filter-0.1-alt3.noarch) scriptlet failed, exit status 1

rpm -q --qf '%{postun}\n' sa-content-filter:
if [ "$1" -eq 0 ]; then
        subst 's,SPAMDOPTIONS="--socketpath=/var/run/spamd/socket -x -P -L --username=spamd --virtual-config-dir=/var/lib/spamd/.spamassassin",SPAMDOPTIONS=""' /etc/sysconfig/spamd
fi

Как видно, отсутствует заключительная "запятая" в команде.
Comment 1 Ivan A. Melnikov 2023-12-03 14:50:20 MSK
*** Bug 42990 has been marked as a duplicate of this bug. ***
Comment 2 Ivan A. Melnikov 2023-12-03 14:51:59 MSK
Запятая на место водружена.