You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2018/11/01 05:51:23 UTC
[GitHub] rhtyd commented on issue #2909: debian does not have libvirt-bin it
has libvirt
rhtyd commented on issue #2909: debian does not have libvirt-bin it has libvirt
URL: https://github.com/apache/cloudstack/issues/2909#issuecomment-434938293
@querplis you're right, there are several places there `libvirt-bin` is used that may possible be replaced with `libvirtd`. Can you send a pull request?
```
python/lib/cloud_utils.py: elif distro is Ubuntu: libvirtfile = "/etc/default/libvirt-bin"
python/lib/cloud_utils.py: elif distro is Ubuntu: libvirtfile = "/etc/default/libvirt-bin"
python/lib/cloud_utils.py: else: svc = "libvirt-bin"
python/lib/cloud_utils.py: if os.path.exists("/etc/init/libvirt-bin.conf"):
python/lib/cloud_utils.py: replace_line("/etc/init/libvirt-bin.conf", "exec /usr/sbin/libvirtd","exec /usr/sbin/libvirtd -d -l")
python/lib/cloud_utils.py: replace_or_add_line("/etc/default/libvirt-bin","libvirtd_opts=","libvirtd_opts='-l'")
python/lib/cloud_utils.py: else: svc = "libvirt-bin"
python/lib/cloudutils/serviceConfig.py: if os.path.exists("/etc/init/libvirt-bin.conf"):
python/lib/cloudutils/serviceConfig.py: cfo = configFileOps("/etc/init/libvirt-bin.conf", self)
python/lib/cloudutils/serviceConfig.py: elif os.path.exists("/etc/default/libvirt-bin"):
python/lib/cloudutils/serviceConfig.py: cfo = configFileOps("/etc/default/libvirt-bin", self)
python/lib/cloudutils/serviceConfig.py: self.syscfg.svo.stopService("libvirt-bin")
python/lib/cloudutils/serviceConfig.py: self.syscfg.svo.enableService("libvirt-bin")
python/lib/cloudutils/serviceConfig.py: self.syscfg.svo.stopService("libvirt-bin")
python/lib/cloudutils/serviceConfig.py: self.syscfg.svo.startService("libvirt-bin")
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services