libvirt requires libsystemd0

_spOOn

Member
Joined
Feb 23, 2015
Messages
52
Reaction score
0
Hey guys,

I’ve noticed that libvirt-bin fails to install on trios, due to the dependency on libsystemd0:

apt-cache depends libvirt-bin​

libvirt-bin
Depends: libvirt-daemon-system
Depends: libvirt-clients

apt-cache depends libvirt-daemon-system|grep systemd​

Depends: libsystemd0
Suggests: systemd

apt-cache depends libvirt-clients|grep systemd​

Depends: libsystemd0

As this is sponsored by Redhat, I’m not that surprised…

Thought you might want to either pin this to -1, or see if its possible to get this working without systemd (as I’m about to do…)

If I have any luck getting this to work without systemd, Ill let you know.
 
Last edited:

Dragan

Well-known member
Staff member
Joined
Jan 13, 2012
Messages
6,371
Reaction score
65
_spOOn_:
If I have any luck getting this to work without systemd, Ill let you know.
The only correct way is to remove systemd dependencies…I’m just working on it
 
Last edited:

_spOOn

Member
Joined
Feb 23, 2015
Messages
52
Reaction score
0
@Dragan yeah, thats what I was intending to do, but it sounds like you’ve got it in hand now anyways.

You might want to add virt-viewer to that list as well.
 
Last edited:

Dragan

Well-known member
Staff member
Joined
Jan 13, 2012
Messages
6,371
Reaction score
65
Done…removed all systemd dependencies, including libsystemd0
Ready for testing…added to our repo (non-systemd-testing component in /source.list.d/trios.list)

[URL='http://mirror.org.rs/trios/po.../trios/pool/non-systemd-testing/libv/libvirt/[/URL]
Code:
[root@debian][/home/user/Desktop]# apt-cache policy libvirt-bin
libvirt-bin:
  Installed: 1.2.9-9trios1
  Candidate: 1.2.9-9trios1
  Version table:
*** 1.2.9-9trios1 0
  1001 http://mirror.org.rs/trios/ mia/non-systemd-testing amd64 Packages
  100 /var/lib/dpkg/status
  1.2.9-9 0
  500 http://http.debian.net/debian/ jessie/main amd64 Packages
[root@debian][/home/user/Desktop]# apt-cache depends libvirt-bin
libvirt-bin
  Depends: libvirt-daemon-system
  Depends: libvirt-clients
  Conflicts: libvirt-bin:i386
[root@debian][/home/user/Desktop]#
View attachment 1397
 
Last edited:

Dragan

Well-known member
Staff member
Joined
Jan 13, 2012
Messages
6,371
Reaction score
65
_spOOn_:
You might want to add virt-viewer to that list as well.
Virt-vewer has no direct systemd dependencies…at least in TRIOS 🙂

[root@debian][/home/user/Desktop]# apt-cache depends virt-viewer virt-viewer Depends: libatk1.0-0 Depends: libc6 Depends: libcairo-gobject2 Depends: libcairo2 Depends: libgdk-pixbuf2.0-0 Depends: libglib2.0-0 Depends: libgtk-3-0 Depends: libgtk-vnc-2.0-0 Depends: libgvnc-1.0-0 Depends: libpango-1.0-0 Depends: libpangocairo-1.0-0 Depends: libspice-client-glib-2.0-8 Depends: libspice-client-gtk-3.0-4 Depends: libvirt0 Depends: libxml2 Suggests: netcat netcat-openbsd netcat-traditional Conflicts: virt-viewer:i386 [root@debian][/home/user/Desktop]# apt-cache policy virt-viewer virt-viewer: Installed: 1.0-1 Candidate: 1.0-1 Version table: *** 1.0-1 0 500 http://http.debian.net/debian/ jessie/main amd64 Packages 100 /var/lib/dpkg/status [root@debian][/home/user/Desktop]#
 
Last edited:

_spOOn

Member
Joined
Feb 23, 2015
Messages
52
Reaction score
0
@Dragan virt-viewer had a dependency on libvirt0, which was dependent on systemd.

Seems this is one of the packages you patched as part of the libvirt-bin fix, so its also fixed virt-viewer.

Thanks for the quick turn around.

Cheers,
 
Last edited:

Dragan

Well-known member
Staff member
Joined
Jan 13, 2012
Messages
6,371
Reaction score
65
_spOOn_:
Seems this is one of the packages you patched as part of the libvirt-bin fix, so its also fixed virt-viewer.
Exactly… libvirt0 is part of libvirt source.
 
Last edited:

_spOOn

Member
Joined
Feb 23, 2015
Messages
52
Reaction score
0
Hey guys, just a quick note, it seems that the libvirt-daemon-system package you’ve made is missing a few files:

/etc/default/libvirt-guests
/etc/default/libvirtd
/etc/init.d/libvirt-guests
/etc/init.d/libvirtd

I suspect thats because the systemd init stuff was removed, but nothing has been put back in place 🙂

Happy to provide config for these if you need them.

Cheers,
 
Last edited:

Dragan

Well-known member
Staff member
Joined
Jan 13, 2012
Messages
6,371
Reaction score
65
_spOOn_:
libvirt-daemon-system package you’ve made is missing a few files
Thank you for reporting this error…really serious flaw.
 
Last edited:

_spOOn

Member
Joined
Feb 23, 2015
Messages
52
Reaction score
0
@Dragan Wondering if you have any update on this one.

As I said, I’m happy to provide the init scripts if someone can help me with the packaging side 🙂

Havent had a lot of experience with packaging…
 
Last edited:

Dragan

Well-known member
Staff member
Joined
Jan 13, 2012
Messages
6,371
Reaction score
65
Hi @spOOn
In the past several days I haven’t had much time so I did not do anything about it.
Thanks for the effort… here you can attach scripts (packed as tar.gz, or .zip…), and I’ll do the rest.
 
Last edited:

_spOOn

Member
Joined
Feb 23, 2015
Messages
52
Reaction score
0
Missing files attached.

Hope this helps.
 
Last edited:

_spOOn

Member
Joined
Feb 23, 2015
Messages
52
Reaction score
0
Hi guys,

Looks like these packages are still sitting in the “testing” repo.

Any reason why these can’t be moved to main?

Merry Christmas,

Cheers,
 
Last edited:

Dragan

Well-known member
Staff member
Joined
Jan 13, 2012
Messages
6,371
Reaction score
65
_spOOn_:
Any reason why these can’t be moved to main?
Fixed 🙂
Index of /trios/mia/pool/main/libv/libvirt/

Merry Christmas to you too!
 
Last edited:
Top