From mboxrd@z Thu Jan 1 00:00:00 1970 From: Allan Adair Subject: bug#34333: Docker daemon failing to start on boot Date: Wed, 27 Feb 2019 15:17:14 +0100 Message-ID: <87imx5gvth.fsf@adair.io> References: <26bbaae65fb9ab18036684e9f676ac1e@adair.io> <87pns2vtaz.fsf@gnu.org> <20190211114651.2b32e555@scratchpost.org> <20190211183155.30861768@scratchpost.org> <8a67633984fd5547e69b09fff29223ba@adair.io> <20190212184517.77edfb58@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:41973) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gz0UB-0005d0-65 for bug-guix@gnu.org; Wed, 27 Feb 2019 09:47:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gz0UA-0000Op-6c for bug-guix@gnu.org; Wed, 27 Feb 2019 09:47:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:40074) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gz0UA-0000OX-1V for bug-guix@gnu.org; Wed, 27 Feb 2019 09:47:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gz0U9-00083d-RT for bug-guix@gnu.org; Wed, 27 Feb 2019 09:47:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <20190212184517.77edfb58@scratchpost.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" To: Danny Milosavljevic Cc: 34333@debbugs.gnu.org, Allan Adair Hey Danny. I'm curious to know if the dockerd service type works for you. It does not work for me, but maybe I am doing something wrong. Below is my current config.scm: (use-modules (gnu) (gnu system nss) (gnu services)) (use-service-modules desktop docker) (use-package-modules certs gnome) (operating-system (host-name "guixsd") (timezone "Europe/Oslo") (locale "en_US.utf8") (bootloader (bootloader-configuration (bootloader grub-bootloader) (target "/dev/sda"))) (file-systems (cons (file-system (device (file-system-label "my-root")) (mount-point "/") (type "ext4")) %base-file-systems)) (users (cons (user-account (name "allana") (group "users") (supplementary-groups '("wheel" "docker" "netdev" "audio" "video")) (home-directory "/home/allana")) %base-user-accounts)) ;; This is where we specify system-wide packages. (packages (cons* nss-certs ;for HTTPS access gvfs ;for user mounts %base-packages)) (services (cons* (console-keymap-service "no-latin1") (gnome-desktop-service) (service docker-service-type) %desktop-services)) ;; Allow resolution of '.local' host names with mDNS. (name-service-switch %mdns-host-lookup-nss)) After a "guix system reconfigure", it works -- meaning that the dockerd service starts. But when booting in the future, the dockerd daemon never starts. I am however able to execute "sudo herd start dockerd" after booting because I have included dockerd in my user profile. I can also "guix system reconfigure" at this point to start the dockerd service, but then at the next boot it will still not start. Danny Milosavljevic writes: > Hi Allan, > > On Tue, 12 Feb 2019 09:05:10 +0000 > Allan Adair wrote: > >> On 2019-02-11 17:31, Danny Milosavljevic wrote: >> > Hi Allan, >> > >> > I've added some more requirements--let's see. >> > >> > Can you guix pull and guix reconfigure and then try again once more? >> >> Still no luck. Do you face the same issue? > > I don't know since my machine has not finished updating after the > recent staging to master merge. -- Allan Adair http://allan.adair.io