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

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

    <bug>
          <bug_id>6214</bug_id>
          
          <creation_ts>2005-03-04 16:57:34 +0300</creation_ts>
          <short_desc>Ошибки в postin и perun скриптах пакета postfix-tls-2.1.5-alt1</short_desc>
          <delta_ts>2005-07-13 15:47:29 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>postfix</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>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sergei Epiphanov">serpiph</reporter>
          <assigned_to name="Gleb F-Malinovskiy">glebfm</assigned_to>
          <cc>glebfm</cc>
    
    <cc>lakostis</cc>
    
    <cc>ns</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>22374</commentid>
    <comment_count>0</comment_count>
    <who name="Sergei Epiphanov">serpiph</who>
    <bug_when>2005-03-04 16:57:34 +0300</bug_when>
    <thetext>postinstall scriptlet (through /bin/sh):
for n in lmtp smtp smtpd; do
      ln -s -nf &quot;$n&quot;-tls /usr/lib/postfix/&quot;$n&quot;
done
/usr/bin/subst -p &apos;s/^#\(.*tlsmgr\)/\1&apos; /etc/postfix/postfix-files
/etc/postfix/post-install upgrade-package

Пропущен символ в строке /usr/bin/subst... Должно быть:

/usr/bin/subst -p &apos;s/^#\(.*tlsmgr\)/\1/&apos; /etc/postfix/postfix-files

Из-за ошибки не правится файл /etc/postfix/postfix-files

preuninstall scriptlet (through /bin/sh):
if [ $1 = 0 ]; then
        for n in lmtp smtp smtpd; do
              ln -s -nf &quot;$n&quot;-std /usr/lib/postfix/&quot;$n&quot;
        done

Отсутсвует завершение условия. Должно быть:

if [ $1 = 0 ]; then
        for n in lmtp smtp smtpd; do
              ln -s -nf &quot;$n&quot;-std /usr/lib/postfix/&quot;$n&quot;
        done
fi

Из-за ошибки не удаляется пакет postfix-tls.




Steps to Reproduce:
1.Сборка postfix с tls
2.Установка postfix-tls
3.Удаление postfix-tls
Actual Results:  
Ошибки при установке и удалении пакета

Expected Results:  
Нормальная установка и удаление пакета.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22477</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2005-03-10 14:36:18 +0300</bug_when>
    <thetext>Спасибо, исправлено в 2.1.5-alt2</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>