ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] hylafax-client-4.1-ipl0.9mdk.i586.rpm PREIN script error
@ 2001-10-12  8:23 cornet
  0 siblings, 0 replies; only message in thread
From: cornet @ 2001-10-12  8:23 UTC (permalink / raw)
  To: Sisyphus

Привет всем!

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

Дело в том, что 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 ********



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-10-12  8:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-12  8:23 [sisyphus] hylafax-client-4.1-ipl0.9mdk.i586.rpm PREIN script error cornet

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