ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: cornet <cornet@zmail.ru>
To: Sisyphus <sisyphus@altlinux.ru>
Subject: [sisyphus] hylafax-client-4.1-ipl0.9mdk.i586.rpm PREIN script error
Date: Fri, 12 Oct 2001 12:23:36 +0400
Message-ID: <3BC6A888.60E8E0D9@zmail.ru> (raw)

Привет всем!

Обнаружился смысловой баг.

Дело в том, что hylafax-client НЕ требует наличия пакета
hylafax-server что логично.
Однако, в rpm скрипте PREIN есть следующая запись:
if [ $1 = 2 ] ; then
        /etc/rc.d/init.d/hylafax stop
fi

Соответственно, если пакет hylafax-server не установлен (что
нормально для рабочей станции) происходит ошибка скрипта File:
/etc/rc.d/init.d/hylafax not found и законный выпад rpm в осадок.

Не хорошо это, apt-get очень не любит такие ситуации, приходится
ручками добивать инсталляцию пакета.

Хотелось бы, что бы в будущей сборке останов сервера был убран,
либо, что более корректно, сначала проводилась проверка наличия
файла /etc/rc.d/init.d/hylafax, а потом уже останов если true или
выход из скрипта если false.

P.S.
Я бы все это в багтрак направил, но мой прошлый опыт показывает
что вебинтерфейс при разборе заполненной формы как то очень
странно тралит контент и фактически убивает сообщение, заменяя
многие символы на "/".
Надеюсь что в скором времени это положение будет исправлено.
:-)

-- 
******** FIRE & STEEL ********



                 reply	other threads:[~2001-10-12  8:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3BC6A888.60E8E0D9@zmail.ru \
    --to=cornet@zmail.ru \
    --cc=sisyphus@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git