{"action":"closed","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/9492","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/9492/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/9492/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/9492/events","html_url":"https://github.com/NixOS/nixpkgs/issues/9492","id":103719918,"number":9492,"title":"Docker depends on utillinux","user":{"login":"fduraffourg","id":220489,"avatar_url":"https://avatars.githubusercontent.com/u/220489?v=3","gravatar_id":"","url":"https://api.github.com/users/fduraffourg","html_url":"https://github.com/fduraffourg","followers_url":"https://api.github.com/users/fduraffourg/followers","following_url":"https://api.github.com/users/fduraffourg/following{/other_user}","gists_url":"https://api.github.com/users/fduraffourg/gists{/gist_id}","starred_url":"https://api.github.com/users/fduraffourg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fduraffourg/subscriptions","organizations_url":"https://api.github.com/users/fduraffourg/orgs","repos_url":"https://api.github.com/users/fduraffourg/repos","events_url":"https://api.github.com/users/fduraffourg/events{/privacy}","received_events_url":"https://api.github.com/users/fduraffourg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NixOS/nixpkgs/labels/blocker","name":"blocker","color":"e11d21"},{"url":"https://api.github.com/repos/NixOS/nixpkgs/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/NixOS/nixpkgs/milestones/6","html_url":"https://github.com/NixOS/nixpkgs/milestones/15.09","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/milestones/6/labels","id":895513,"number":6,"title":"15.09","description":"","creator":{"login":"domenkozar","id":126339,"avatar_url":"https://avatars.githubusercontent.com/u/126339?v=3","gravatar_id":"","url":"https://api.github.com/users/domenkozar","html_url":"https://github.com/domenkozar","followers_url":"https://api.github.com/users/domenkozar/followers","following_url":"https://api.github.com/users/domenkozar/following{/other_user}","gists_url":"https://api.github.com/users/domenkozar/gists{/gist_id}","starred_url":"https://api.github.com/users/domenkozar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domenkozar/subscriptions","organizations_url":"https://api.github.com/users/domenkozar/orgs","repos_url":"https://api.github.com/users/domenkozar/repos","events_url":"https://api.github.com/users/domenkozar/events{/privacy}","received_events_url":"https://api.github.com/users/domenkozar/received_events","type":"User","site_admin":false},"open_issues":24,"closed_issues":56,"state":"open","created_at":"2014-12-08T10:44:19Z","updated_at":"2015-08-31T08:14:04Z","due_on":"2015-09-09T22:00:00Z","closed_at":null},"comments":3,"created_at":"2015-08-28T13:34:37Z","updated_at":"2015-08-31T08:14:05Z","closed_at":"2015-08-31T08:14:04Z","body":"Hi,\r\n\r\nI'm using \r\nDocker needs blkid (depends on utillinux).\r\nI enable docker with the following configuration only:\r\n\r\n    virtualisation.docker.enable = true;\r\n\r\nI get the following status:\r\n\r\n    ● docker.service - Docker Application Container Engine\r\n       Loaded: loaded (/nix/store/avhm5zj9rzq6rbh9idlzndqzvp26v7r2-unit-docker.service/docker.service)\r\n       Active: failed (Result: exit-code) since Fri 2015-08-28 13:15:26 UTC; 1min 53s ago\r\n      Process: 10372 ExecStartPost=/nix/store/q3riq7z8n850lgqrzrn31qjf5j3yb92k-unit-script/bin/docker-post-start (code=exited, status=0/SUCCESS)\r\n      Process: 10371 ExecStart=/nix/store/dnk6r07m4ds4ji2n2p4kbpp3abv4h-docker-1.8.1/bin/docker --daemon=true --group=docker (code=exited, status=1/FAILURE)\r\n     Main PID: 10371 (code=exited, status=1/FAILURE)\r\n\r\n    Aug 28 13:15:26 n4 systemd[1]: Started Docker Application Container Engine.\r\n    Aug 28 13:15:26 n4 docker[10371]: Warning: '--daemon' is deprecated, it will be removed soon. See usage.\r\n    Aug 28 13:15:26 n4 docker[10371]: time=\"2015-08-28T13:15:26Z\" level=warning msg=\"please use 'docker daemon' instead.\"\r\n    Aug 28 13:15:26 n4 docker[10371]: time=\"2015-08-28T13:15:26.447966291Z\" level=info msg=\"Listening for HTTP on unix (/var/run/docker.sock)\"\r\n    Aug 28 13:15:26 n4 docker[10371]: time=\"2015-08-28T13:15:26.482644879Z\" level=error msg=\"[graphdriver] prior storage driver \\\"devicemapper\\\" failed: Could not query and save base device UUID:exec: \\\"blkid\\\": executable file not found in $PATH\"\r\n    Aug 28 13:15:26 n4 docker[10371]: time=\"2015-08-28T13:15:26.482713086Z\" level=fatal msg=\"Error starting daemon: error initializing graphdriver: Could not query and save base device UUID:exec: \\\"blkid\\\": executable file not found in $PATH\"\r\n    Aug 28 13:15:26 n4 systemd[1]: docker.service: main process exited, code=exited, status=1/FAILURE\r\n    Aug 28 13:15:26 n4 systemd[1]: Unit docker.service entered failed state.\r\n    Aug 28 13:15:26 n4 systemd[1]: docker.service failed.\r\n\r\nThe path from utillinux is missing from the service unit:\r\n\r\n    [Unit]\r\n    After=network.target\r\n    Description=Docker Application Container Engine\r\n\r\n    [Service]\r\n    Environment=\"LOCALE_ARCHIVE=/nix/store/2mbqc6p36xlyl21d4mf1zhmprmqijwkk-glibc-locales-2.21/lib/locale/locale-archive\"\r\n    Environment=\"MODULE_DIR=/run/current-system/kernel-modules/lib/modules\"\r\n    Environment=\"PATH=/nix/store/z0rgmk4hqwhskmskm0c65680v4652n32-kmod-21/bin:/nix/store/p48nbf29nkv54vbvwqfqccwym58zf6bb-coreutils-8.24/bin:/nix/store/vmfzhzfh5w3hzxh7y0i4pf28h6jbqi62-findutils-4.4.2/bin:/nix/store/qrk6cndaf867z1blcfa9hpxrlar265j7-gnugrep-2.21/bin:/nix/store/5i5salk61869jjac0mgvj4n4agg2k2q0-gnused-4.2.2/bin:/nix/store/p0smmqn5jvf8hc34k8blixarpv3kj5q0-systemd-217/bin:/nix/store/z0rgmk4hqwhskmskm0c65680v4652n32-kmod-21/sbin:/nix/store/p48nbf29nkv54vbvwqfqccwym58zf6bb-coreutils-8.24/sbin:/nix/store/vmfzhzfh5w3hzxh7y0i4pf28h6jbqi62-findutils-4.4.2/sbin:/nix/store/qrk6cndaf867z1blcfa9hpxrlar265j7-gnugrep-2.21/sbin:/nix/store/5i5salk61869jjac0mgvj4n4agg2k2q0-gnused-4.2.2/sbin:/nix/store/p0smmqn5jvf8hc34k8blixarpv3kj5q0-systemd-217/sbin\"\r\n    Environment=\"TZDIR=/nix/store/pl3066vi01b5ynjxi9wf51yyg8dnv43b-tzdata-2015f/share/zoneinfo\"\r\n\r\n    X-RestartIfChanged=false\r\n\r\n    ExecStart=/nix/store/dnk6r07m4ds4ji2n2p4kbpp3abv4h-docker-1.8.1/bin/docker --daemon=true --group=docker \r\n    ExecStartPost=/nix/store/q3riq7z8n850lgqrzrn31qjf5j3yb92k-unit-script/bin/docker-post-start\r\n    LimitNOFILE=1048576\r\n    LimitNPROC=1048576\r\n\r\nIf I add utillinux as a buildInputs on the derivation, it doesn't solve the issue. The unit is generated by:\r\nhttps://github.com/NixOS/nixpkgs/blob/release-15.09/nixos/modules/virtualisation/docker.nix\r\n\r\nI'm using nixos 15.09:\r\n\r\n    [root@n4]# nixos-version \r\n    15.09.17.9be7d99 (Dingo)\r\n\r\n"}}