[systemd-devel] [PATCH resend] virt: detect_virtualization() do not abort on errors

2014-02-25 Thread Djalal Harouni
The detect_virtualization() logic is to test several mechanisms in order to detect if we are in a container or a virtual machine. This implies that these tests may fail at an undetermined point. An example: detect_container() needs privileges where detect_vm() does not, perhaps there are other

Re: [systemd-devel] [PATCH resend] virt: detect_virtualization() do not abort on errors

2014-02-25 Thread Lennart Poettering
On Tue, 25.02.14 18:29, Djalal Harouni (tix...@opendz.org) wrote: The detect_virtualization() logic is to test several mechanisms in order to detect if we are in a container or a virtual machine. This implies that these tests may fail at an undetermined point. An example: detect_container()

Re: [systemd-devel] [PATCH resend] virt: detect_virtualization() do not abort on errors

2014-02-25 Thread Djalal Harouni
On Tue, Feb 25, 2014 at 07:11:00PM +0100, Lennart Poettering wrote: On Tue, 25.02.14 18:29, Djalal Harouni (tix...@opendz.org) wrote: The detect_virtualization() logic is to test several mechanisms in order to detect if we are in a container or a virtual machine. This implies that these