wsl centos7: Failed to get D-Bus connection: Operation not permitted
生活随笔
收集整理的这篇文章主要介绍了
wsl centos7: Failed to get D-Bus connection: Operation not permitted
小编觉得挺不错的,现在分享给大家,帮大家做个参考.
wsl 运行的 centos 7,使用 service 命令提示 Failed to get D-Bus connection: Operation not permitted 错误,无法运行。
目前的解決办法是更换 systemctl 文件:
mv /usr/bin/systemctl /usr/bin/systemctl.old curl https://raw.githubusercontent.com/gdraheim/docker-systemctl-replacement/master/files/docker/systemctl.py > /usr/bin/systemctl chmod +x /usr/bin/systemctl总结
以上是生活随笔为你收集整理的wsl centos7: Failed to get D-Bus connection: Operation not permitted的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: openjdk-alpine镜像字体问题
- 下一篇: WSL端口映射到win