[Libvirt-ci] Broken: libvirt/libvirt#1996 (master - 94fce25)

Travis CI builds at travis-ci.org
Thu Feb 7 11:10:27 UTC 2019


Build Update for libvirt/libvirt
-------------------------------------

Build: #1996
Status: Broken

Duration: 23 mins and 15 secs
Commit: 94fce25 (master)
Author: Michal Privoznik
Message: lxc: Don't reboot host on virDomainReboot

If the container is really a simple one (init is just bash and
the whole root is passed through) then virDomainReboot and
virDomainShutdown will talk to the actual init within the host.
Therefore, 'virsh shutdown $dom' will result in shutting down the
host. True, at that point the container is shut down too but
looks a bit harsh to me.

The solution is to check if the init inside the container is or
is not the same as the init running on the host.

Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
Reviewed-by: Erik Skultety <eskultet at redhat.com>

View the changeset: https://github.com/libvirt/libvirt/compare/6e27a81a17d8...94fce255461a

View the full build log and details: https://travis-ci.org/libvirt/libvirt/builds/489986810?utm_medium=notification&utm_source=email

--

You can unsubscribe from build emails from the libvirt/libvirt repository going to https://travis-ci.org/account/preferences/unsubscribe?repository=4872032&utm_medium=notification&utm_source=email.
Or unsubscribe from *all* email updating your settings at https://travis-ci.org/account/preferences/unsubscribe?utm_medium=notification&utm_source=email.
Or configure specific recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-ci/attachments/20190207/a42dc8ae/attachment.htm>


More information about the Libvirt-ci mailing list