| Summary: | Ошибки в postin и perun скриптах пакета postfix-tls-2.1.5-alt1 | ||
|---|---|---|---|
| Product: | Sisyphus | Reporter: | Sergei Epiphanov <serpiph> |
| Component: | postfix | Assignee: | Gleb F-Malinovskiy <glebfm> |
| Status: | CLOSED FIXED | QA Contact: | qa-sisyphus |
| Severity: | normal | ||
| Priority: | P2 | CC: | glebfm, lakostis, ns |
| Version: | unstable | ||
| Hardware: | all | ||
| OS: | Linux | ||
Спасибо, исправлено в 2.1.5-alt2 |
postinstall scriptlet (through /bin/sh): for n in lmtp smtp smtpd; do ln -s -nf "$n"-tls /usr/lib/postfix/"$n" done /usr/bin/subst -p 's/^#\(.*tlsmgr\)/\1' /etc/postfix/postfix-files /etc/postfix/post-install upgrade-package Пропущен символ в строке /usr/bin/subst... Должно быть: /usr/bin/subst -p 's/^#\(.*tlsmgr\)/\1/' /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 "$n"-std /usr/lib/postfix/"$n" done Отсутсвует завершение условия. Должно быть: if [ $1 = 0 ]; then for n in lmtp smtp smtpd; do ln -s -nf "$n"-std /usr/lib/postfix/"$n" done fi Из-за ошибки не удаляется пакет postfix-tls. Steps to Reproduce: 1.Сборка postfix с tls 2.Установка postfix-tls 3.Удаление postfix-tls Actual Results: Ошибки при установке и удалении пакета Expected Results: Нормальная установка и удаление пакета.