From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 10 14:01:51 2016 Received: (at submit) by debbugs.gnu.org; 10 Feb 2016 19:01:51 +0000 Received: from localhost ([127.0.0.1]:35271 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aTa1P-0007cm-Is for submit@debbugs.gnu.org; Wed, 10 Feb 2016 14:01:51 -0500 Received: from dd1012.kasserver.com ([85.13.128.8]:48000) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aTa1N-0007ce-UB for submit@debbugs.gnu.org; Wed, 10 Feb 2016 14:01:50 -0500 Received: from localhost (77.119.129.248.wireless.dyn.drei.com [77.119.129.248]) by dd1012.kasserver.com (Postfix) with ESMTPSA id AFAD21CA03AC for ; Wed, 10 Feb 2016 20:01:48 +0100 (CET) Date: Wed, 10 Feb 2016 20:01:43 +0100 From: Danny Milosavljevic To: submit@debbugs.gnu.org Subject: postgresql-service error checking wtf Message-ID: <20160210200143.4a9f95c2@scratchpost.org> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.28; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Package: postgresql When I first configure operating-system with postgresql-service with default config file, then run guix system reconfigure config.scm, then configure operating-system with postgresql-service with custom config file, then run guix system reconfigure config.scm, I get: --- initdb: directory "/var/lib/postgresql/data" exists but is not empty If you want to create a new database system, either remove or empty the directory "/var/lib/postgresql/data" or run initdb with an argument other than "/var/lib/postgresql/data". making '/gnu/store/byn534fg4agm0vv9szl5kkfl19n080b2-system' the current system... Installation finished. No error reported. ---- Postgresql doesn't run and the error message still references the default config file.