CEPH filesystem development
 help / color / mirror / Atom feed
From: Wido den Hollander <wido@widodh.nl>
To: Sage Weil <sage@newdream.net>
Cc: gcs@debian.hu, ceph-devel@vger.kernel.org
Subject: Re: [PATCH] debian init: Do not stop or start daemons when installing or upgrading
Date: Wed, 16 Nov 2011 22:01:23 +0100	[thread overview]
Message-ID: <4EC424A3.7080406@widodh.nl> (raw)
In-Reply-To: <Pine.LNX.4.64.1111161152550.22555@cobra.newdream.net>

On 11/16/2011 08:53 PM, Sage Weil wrote:
> Ooh, that would certainly make things less annoying for me as well.
> Unless that's contrary to some debian policy/best practice, Laszlo?
>

We could also go for "--no-restart-on-upgrade".

I ran into this when upgrading the debs on my machines. The init script 
would try to stop any running radosgw processes, that failed (none were 
running), exited non-zero and that broke the prerm script.

But since we are dealing with potentially very important daemons I don't 
want any init scripts restarting my daemons, I want to do that myself.

Wido

> sage
>
>
> On Wed, 16 Nov 2011, Wido den Hollander wrote:
>
>>
>> Signed-off-by: Wido den Hollander<wido@widodh.nl>
>> ---
>>   debian/rules |    2 +-
>>   1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/debian/rules b/debian/rules
>> index a20258d..4f3fe62 100755
>> --- a/debian/rules
>> +++ b/debian/rules
>> @@ -98,7 +98,7 @@ binary-arch: build install
>>   	dh_installexamples
>>   	dh_install --sourcedir=$(DESTDIR) --list-missing
>>   	dh_installlogrotate
>> -	dh_installinit
>> +	dh_installinit --no-start
>>   	dh_installman
>>   	dh_lintian
>>   	dh_link
>> --
>> 1.7.5.4
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
>>

  reply	other threads:[~2011-11-16 21:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-16 19:41 (unknown), Wido den Hollander
2011-11-16 19:41 ` [PATCH] debian init: Do not stop or start daemons when installing or upgrading Wido den Hollander
2011-11-16 19:53   ` Sage Weil
2011-11-16 21:01     ` Wido den Hollander [this message]
2011-11-23 19:59     ` Wido den Hollander
2011-11-23 21:22       ` Laszlo Boszormenyi
2011-11-23 23:52     ` Laszlo Boszormenyi
2011-11-28 17:06   ` Sage Weil

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=4EC424A3.7080406@widodh.nl \
    --to=wido@widodh.nl \
    --cc=ceph-devel@vger.kernel.org \
    --cc=gcs@debian.hu \
    --cc=sage@newdream.net \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox