[PATCHv2 0/2] Check if systemd is the init before creating machines

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



v1: https://www.redhat.com/archives/libvir-list/2014-February/msg01662.html
v2: check if systemd1 is registered in ListNames
    instead of reading /proc/1/comm
    actually pass 'make check' in all three cases:
        * no systemd
        * systemd installed
        * systemd running

Ján Tomko (2):
  Split out most of virDBusIsServiceEnabled
  Check if systemd is running before creating machines

 src/util/virdbus.c     | 47 +++++++++++++++++++++++++++++++++++++----------
 src/util/virdbus.h     |  1 +
 src/util/virsystemd.c  |  6 ++++++
 tests/virsystemdmock.c | 24 +++++++++++++++++++++++-
 tests/virsystemdtest.c | 37 +++++++++++++++++++++++++++++++++++++
 5 files changed, 104 insertions(+), 11 deletions(-)

-- 
1.8.3.2

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]