{"action":"created","issue":{"url":"https://api.github.com/repos/zfsonlinux/pkg-zfs/issues/172","labels_url":"https://api.github.com/repos/zfsonlinux/pkg-zfs/issues/172/labels{/name}","comments_url":"https://api.github.com/repos/zfsonlinux/pkg-zfs/issues/172/comments","events_url":"https://api.github.com/repos/zfsonlinux/pkg-zfs/issues/172/events","html_url":"https://github.com/zfsonlinux/pkg-zfs/issues/172","id":107924744,"number":172,"title":"systemd and LSB scripts run parallel ","user":{"login":"ggzengel","id":12020614,"avatar_url":"https://avatars.githubusercontent.com/u/12020614?v=3","gravatar_id":"","url":"https://api.github.com/users/ggzengel","html_url":"https://github.com/ggzengel","followers_url":"https://api.github.com/users/ggzengel/followers","following_url":"https://api.github.com/users/ggzengel/following{/other_user}","gists_url":"https://api.github.com/users/ggzengel/gists{/gist_id}","starred_url":"https://api.github.com/users/ggzengel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggzengel/subscriptions","organizations_url":"https://api.github.com/users/ggzengel/orgs","repos_url":"https://api.github.com/users/ggzengel/repos","events_url":"https://api.github.com/users/ggzengel/events{/privacy}","received_events_url":"https://api.github.com/users/ggzengel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":26,"created_at":"2015-09-23T13:53:34Z","updated_at":"2015-09-24T14:32:24Z","closed_at":null,"body":"```\r\n# uname -a\r\nLinux xenserver1 4.1.0-0.bpo.2-amd64 #1 SMP Debian 4.1.6-1~bpo8+1 (2015-09-09) x86_64 GNU/Linux\r\n\r\n# cat /etc/apt/sources.list.d/zfsonlinux.list \r\ndeb http://archive.zfsonlinux.org/debian jessie main\r\n```\r\n\r\nOn boot I see ZFS pool import twice. One LSB and one Systemd. They run both on same time.\r\n\r\nWith systemd there is a lot to do. It always import pool by ID:\r\n#cat zfs-import-scan.service | grep ExecStart=\r\nExecStart=/sbin/zpool import -d /dev/disk/by-id -aN\r\n\r\nI think this won't work with the code above:\r\nZPOOL_IMPORT_PATH=\"/dev/disk/by-vdev:/dev/disk/by-id\"\r\n\r\nPerhaps these are changes from Turbo?\r\nThe idea behind this is OK, because I like to import pools by partlabel."},"comment":{"url":"https://api.github.com/repos/zfsonlinux/pkg-zfs/issues/comments/142947008","html_url":"https://github.com/zfsonlinux/pkg-zfs/issues/172#issuecomment-142947008","issue_url":"https://api.github.com/repos/zfsonlinux/pkg-zfs/issues/172","id":142947008,"user":{"login":"ggzengel","id":12020614,"avatar_url":"https://avatars.githubusercontent.com/u/12020614?v=3","gravatar_id":"","url":"https://api.github.com/users/ggzengel","html_url":"https://github.com/ggzengel","followers_url":"https://api.github.com/users/ggzengel/followers","following_url":"https://api.github.com/users/ggzengel/following{/other_user}","gists_url":"https://api.github.com/users/ggzengel/gists{/gist_id}","starred_url":"https://api.github.com/users/ggzengel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggzengel/subscriptions","organizations_url":"https://api.github.com/users/ggzengel/orgs","repos_url":"https://api.github.com/users/ggzengel/repos","events_url":"https://api.github.com/users/ggzengel/events{/privacy}","received_events_url":"https://api.github.com/users/ggzengel/received_events","type":"User","site_admin":false},"created_at":"2015-09-24T14:32:24Z","updated_at":"2015-09-24T14:32:24Z","body":"No, you are absolutely wrong.,\r\nIf you add /etc/init.d/zfs-import and don't add zfs.import.service it will use /etc/init.d.\r\n"}}