<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>32953</bug_id>
          
          <creation_ts>2016-12-28 19:39:27 +0300</creation_ts>
          <short_desc>%postun scriptlet failed when removing sa-content-filter</short_desc>
          <delta_ts>2023-12-03 14:52:06 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>sa-content-filter</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Vladimir D. Seleznev">vseleznv</reporter>
          <assigned_to name="Nobody&apos;s working on this, feel free to take it">nobody</assigned_to>
          <cc>3aHyga</cc>
    
    <cc>iv</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>161118</commentid>
    <comment_count>0</comment_count>
    <who name="Vladimir D. Seleznev">vseleznv</who>
    <bug_when>2016-12-28 19:39:27 +0300</bug_when>
    <thetext>Вывод:

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

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

Как видно, отсутствует заключительная &quot;запятая&quot; в команде.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>238261</commentid>
    <comment_count>1</comment_count>
    <who name="Ivan A. Melnikov">iv</who>
    <bug_when>2023-12-03 14:50:20 +0300</bug_when>
    <thetext>*** Bug 42990 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>238262</commentid>
    <comment_count>2</comment_count>
    <who name="Ivan A. Melnikov">iv</who>
    <bug_when>2023-12-03 14:51:59 +0300</bug_when>
    <thetext>Запятая на место водружена.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>