From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: bug#23064: herd has incomplete status reporting, not so helpful Date: Tue, 22 Mar 2016 20:29:16 +0100 Message-ID: <20160322202916.53b89904@scratchpost.org> References: <20160319161337.609ada55@scratchpost.org> <87lh5ef9uy.fsf@gnu.org> <20160319223921.107f27bc@scratchpost.org> <87shzkcjoi.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36011) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aiS0E-0005Iw-Nn for bug-guix@gnu.org; Tue, 22 Mar 2016 15:30:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aiS0B-0000wO-GC for bug-guix@gnu.org; Tue, 22 Mar 2016 15:30:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:35078) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aiS0B-0000wK-D7 for bug-guix@gnu.org; Tue, 22 Mar 2016 15:30:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1aiS0B-0001Uz-4F for bug-guix@gnu.org; Tue, 22 Mar 2016 15:30:03 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87shzkcjoi.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 23064@debbugs.gnu.org Hi Ludo, > Could you try this and report back? $ patch -p1 < ... $ sudo ./pre-inst-env guix system reconfigure /etc/config.scm $ sudo herd stop postgres $ sudo herd start postgres Service postgres has been started. $ tail -f /var/log/messages Mar 22 20:15:51 localhost nscd: 213 monitored file `/etc/services` was created, adding watch Mar 22 20:15:51 localhost nscd: 213 monitored file `/etc/services` was written to Mar 22 20:20:40 localhost postgres[2115]: [1-1] FATAL: database files are incompatible with server Mar 22 20:20:40 localhost postgres[2115]: [1-2] DETAIL: The data directory was initialized by PostgreSQL version 9.3, which is not compatible with this version 9.5.1. ... Nice :-) Thanks! Although it would be nice to have shepherd have a field in "herd status" which tells you when it respawned the service in < 1 s intervals (or maybe if it respawned it < 1 s after the initial start) - or maybe just how long ago it was (last) started and when the actual herd start command was :-)