{"action":"opened","issue":{"url":"https://api.github.com/repos/BugRoger/coreos-nvidia-driver/issues/3","repository_url":"https://api.github.com/repos/BugRoger/coreos-nvidia-driver","labels_url":"https://api.github.com/repos/BugRoger/coreos-nvidia-driver/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/BugRoger/coreos-nvidia-driver/issues/3/comments","events_url":"https://api.github.com/repos/BugRoger/coreos-nvidia-driver/issues/3/events","html_url":"https://github.com/BugRoger/coreos-nvidia-driver/issues/3","id":336187086,"node_id":"MDU6SXNzdWUzMzYxODcwODY=","number":3,"title":"systemctl: Failed to connect to bus: No data available","user":{"login":"coreyjewett","id":12782,"node_id":"MDQ6VXNlcjEyNzgy","avatar_url":"https://avatars3.githubusercontent.com/u/12782?v=4","gravatar_id":"","url":"https://api.github.com/users/coreyjewett","html_url":"https://github.com/coreyjewett","followers_url":"https://api.github.com/users/coreyjewett/followers","following_url":"https://api.github.com/users/coreyjewett/following{/other_user}","gists_url":"https://api.github.com/users/coreyjewett/gists{/gist_id}","starred_url":"https://api.github.com/users/coreyjewett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreyjewett/subscriptions","organizations_url":"https://api.github.com/users/coreyjewett/orgs","repos_url":"https://api.github.com/users/coreyjewett/repos","events_url":"https://api.github.com/users/coreyjewett/events{/privacy}","received_events_url":"https://api.github.com/users/coreyjewett/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-27T11:21:45Z","updated_at":"2018-06-27T11:21:45Z","closed_at":null,"author_association":"NONE","body":"nvidia-update.service executes `run.sh` which attempts to run systemctl in a chroot. I was getting \"Failed to connect to bus: No data available\" and non-zero exit code. This blocked the whole chain of services.\r\n\r\nI made the following changes; moving the systemctl commands from the chroot jail up into the `nvidia-update.service`. Seems to be working as I now have the drivers working after a reboot. I have not tried a release update. Stable release channel; 1745.7.0.\r\n\r\n```diff\r\n--- install.sh  2018-06-15 20:22:52.000000000 +0000\r\n+++ install.sh.new      2018-06-27 08:28:32.000000000 +0000\r\n@@ -21,8 +21,13 @@\r\n TimeoutStartSec=0\r\n Type=oneshot\r\n RemainAfterExit=yes\r\n-ExecStartPre=/usr/bin/docker pull bugroger/coreos-nvidia-driver:\\${VERSION}-$DRIVER_VERSION-$NVIDIA_PRODUCT_TYPE\r\n-ExecStart=/usr/bin/docker run -v /:/rootfs --privileged bugroger/coreos-nvidia-driver:\\${VERSION}-$DRIVER_VERSION-$NVIDIA_PRODUCT_TYPE\r\n+#ExecStartPre=/usr/bin/docker pull coreos-nvidia-driver:\\${VERSION}-$DRIVER_VERSION-$NVIDIA_PRODUCT_TYPE\r\n+ExecStart=/usr/bin/docker run -v /:/rootfs --privileged coreos-nvidia-driver:\\${VERSION}-$DRIVER_VERSION-$NVIDIA_PRODUCT_TYPE\r\n+ExecStartPost=/usr/bin/systemctl daemon-reload\r\n+ExecStartPost=/usr/bin/systemctl enable nvidia-update\r\n+ExecStartPost=/usr/bin/systemctl enable usr-lib64.mount\r\n+ExecStartPost=/usr/bin/systemctl enable nvidia\r\n+ExecStartPost=/usr/bin/systemctl enable nvidia-persistenced\r\n\r\n [Install]\r\n WantedBy=multi-user.target\r\n@@ -86,8 +91,3 @@\r\n udevadm control --reload-rules\r\n useradd -c \"NVIDIA Persistence Daemon\" --shell /sbin/nologin --home-dir / nvidia-persistenced || true\r\n\r\n-systemctl daemon-reload\r\n-systemctl enable nvidia-update\r\n-systemctl enable usr-lib64.mount\r\n-systemctl enable nvidia\r\n-systemctl enable nvidia-persistenced\r\n``` "}}
{"actor":{"display_login":"coreyjewett"}}