ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Igor Vlasenko <vlasenko@imath.kiev.ua>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] JavaPolicy, RPMMacrosPackagingPolicy to Policy
Date: Thu, 20 Nov 2008 14:04:31 +0200
Message-ID: <20081120120431.GA6811@dad.imath.kiev.ua> (raw)
In-Reply-To: <87fxlmhcbq.fsf@frontier.dottedmag.net>

On Thu, Nov 20, 2008 at 05:22:01PM +0600, Mikhail Gusarov wrote:
> Twas brillig at 13:09:56 20.11.2008 UTC+02 when vlasenko@imath.kiev.ua did gyre and gimble:
> 
>  IV> (зачем ставить 
>  IV> %config(noreplace) /etc/rc.d/init.d/servicenamed 
>  IV> ?)
> 
> Эти скрипты испокон веков были в ведомстве системного
> администратора. 

Я не имел в виду %config, а именно (noreplace).
%config нужен чтобы не стререть quick hack по месту, спора нет.
Но совсем не очевидно, что допотопная версия 
init-скрипта, выжившая после обновления, 
будет работать с новым пакетом. 
Это скорее грабли для начинающего админа.

Без (noreplace) он руками правил servicenamed -
руками и смержит в новую версию свои изменения
из *.rpmsave
или mv servicenamed.rpmsave servicenamed сделает.
rpm его предупредил в любом случае.

(noreplace) странно:
1) правильно написанный init-скрипт должен брать настройки из 
/etc/sysconfig/servicenamed
2) не очевидно, что допотопная версия init-скрипта, выжившая 
после обновления, будет работать с новым пакетом.
новая же версия, хоть и без локального хака, обязана 
работать, раз она запакована в пакете (иначе это BLOCKER bug на пакет).

-- 

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


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



  parent reply	other threads:[~2008-11-20 12:04 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-19 15:32 Igor Vlasenko
2008-11-19 15:39 ` Mikhail Gusarov
2008-11-19 15:57   ` Alexey I. Froloff
2008-11-19 16:12     ` Igor Vlasenko
2008-11-19 16:18       ` Igor Vlasenko
2008-11-20 16:02     ` Igor Vlasenko
2008-11-19 16:15 ` Aleksey Avdeev
2008-11-19 21:05 ` Mikhail Gusarov
2008-11-20 11:09   ` Igor Vlasenko
2008-11-20 11:18     ` Mikhail Gusarov
2008-11-20 11:18     ` Dmitry Afanasov
2008-11-20 11:22     ` Mikhail Gusarov
2008-11-20 11:25       ` Dmitry V. Levin
2008-11-20 11:29         ` Mikhail Gusarov
2008-11-20 11:32           ` Dmitry Afanasov
2008-11-20 11:34             ` Mikhail Gusarov
2008-11-20 11:43               ` Dmitry Afanasov
2008-11-20 12:04       ` Igor Vlasenko [this message]
2008-11-20 12:06         ` Mikhail Gusarov
2008-11-20 14:07         ` Денис Смирнов

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=20081120120431.GA6811@dad.imath.kiev.ua \
    --to=vlasenko@imath.kiev.ua \
    --cc=devel@lists.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