all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Danny Milosavljevic <dannym@scratchpost.org>
Cc: 22619-done@debbugs.gnu.org
Subject: bug#22619: postgresql-service error checking wtf
Date: Sun, 21 Feb 2016 12:38:03 +0100	[thread overview]
Message-ID: <87wppyxpic.fsf@gnu.org> (raw)
In-Reply-To: <20160212204858.56275e93@scratchpost.org> (Danny Milosavljevic's message of "Fri, 12 Feb 2016 20:48:58 +0100")

Danny Milosavljevic <dannym@scratchpost.org> skribis:

> The actual problem only arises because guix reconfigure doesn't deem a change in service arguments as reason to restart (or reconfigure) a service.
>
> I.e. before, my config was:
>
> (postgresql-service )
>
> Then I did guix reconfigure ...
>
> Afterwards, I changed the config to:
>
> (postgresql-service #:config-file ...)
>
> Then I did giux reconfigure   # this erroneously doesn't reload the postgres service!!

Yes, this is a known limitation: <http://bugs.gnu.org/22039>.

Currently, for services that are safe to be restarted, the solution is
to explicitly stop them beforehand, in which case the new service gets
started by ‘guix system reconfigure’:

  # herd stop postgresql
  # guix system reconfigure new-config.scm

I’m closing this bug.  Let me know if anything else is amiss.

Thanks,
Ludo’.

      reply	other threads:[~2016-02-21 11:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20160210200143.4a9f95c2@scratchpost.org>
2016-02-10 23:12 ` bug#22619: postgresql-service error checking wtf Glenn Morris
2016-02-12 14:14   ` Ludovic Courtès
2016-02-12 14:14 ` Ludovic Courtès
2016-02-12 19:48   ` Danny Milosavljevic
2016-02-21 11:38     ` Ludovic Courtès [this message]

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=87wppyxpic.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=22619-done@debbugs.gnu.org \
    --cc=dannym@scratchpost.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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.