ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Igor Vlasenko <vlasenko@imath.kiev.ua>
To: devel@lists.altlinux.org
Cc: ldv@altlinux.org
Subject: [devel] init scripts policy clarification
Date: Sat, 8 Mar 2008 19:57:17 +0200
Message-ID: <20080308175716.GA16243@dad.imath.kiev.ua> (raw)

Господа,
хотелось бы прояснить наше полиси по 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



             reply	other threads:[~2008-03-08 17:57 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-08 17:57 Igor Vlasenko [this message]
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

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=20080308175716.GA16243@dad.imath.kiev.ua \
    --to=vlasenko@imath.kiev.ua \
    --cc=devel@lists.altlinux.org \
    --cc=ldv@altlinux.org \
    /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 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