ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] init scripts policy clarification
@ 2008-03-08 17:57 Igor Vlasenko
  2008-03-08 19:02 ` Igor Vlasenko
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Igor Vlasenko @ 2008-03-08 17:57 UTC (permalink / raw)
  To: devel; +Cc: ldv

Господа,
хотелось бы прояснить наше полиси по InitScripts.
на
http://freesource.info/wiki/AltLinux/Sisyphus/devel/InitScripts
сказано:
> скрипты, которые входят в пакеты, которые используют 
> макросы %post_service и %preun_service, обязаны реализовывать 
> обработку первого аргумента condrestart и condstop соответственно;
Эти проверки (на condrestart и condstop) делаются сейчас в
repocop-unittest-init-condrestart.
При наличии %{post/preun}_service и отсутствии соответствующего
cond* выдается fail, и это правильно, так как %{post/preun}_service
не отработает.

Но что делать, если в скрипте нет вызова %{post/preun}_service
и одновременно нет целей condrestart и condstop?

Предупреждать ли (через warn) о желательности condrestart и condstop?

Или у нас этого требования нет, оставлять как есть, 
и считать, что майнтайнерам виднее?


-- 

Dr. Igor Vlasenko
--------------------
Topology Department
Institute of Math
Kiev, Ukraine



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2008-03-09 20:56 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-08 17:57 [devel] init scripts policy clarification Igor Vlasenko
2008-03-08 19:02 ` Igor Vlasenko
2008-03-08 20:09 ` Dmitry V. Levin
2008-03-08 20:35   ` Igor Vlasenko
2008-03-08 20:48     ` Mikhail Gusarov
2008-03-08 21:26       ` Igor Vlasenko
2008-03-08 22:31         ` Mikhail Gusarov
2008-03-08 23:10         ` Dmitry V. Levin
2008-03-09 19:29 ` Slava Semushin
2008-03-09 20:19   ` Dmitry V. Levin
2008-03-09 20:50     ` Mikhail Gusarov
2008-03-09 20:56       ` Slava Semushin

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

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


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