libvirtd libvirt-openrc file conflicts work around 15 January 2020, 05:23:58 I ran into the same issue mentioned in https://forum.artixlinux.org/index.php/topic,354.0.html , but managed to work around it, and thought I'd share my steps for any other lost soul who wanders byI looked at the sources of the two packages, and it looks like the files for libvirt-openrc are coming from here: https://github.com/gentoo/gentoo/blob/master/app-emulation/libvirt/files/ . Reading the files, it seems they're all comments except for the line `rc_need="net"`. I then added that line to `/etc/conf.d/libvirtd`, and edited the PKGBUILD to remove the unused files (and bump the revision numbers). Also, as per https://forum.artixlinux.org/index.php/topic,885.0.html , I needed to change `need firewall` to `want firewall`Modified PKGBUILD:Spoiler (click to show/hide)Code: [Select]# Maintainer: Rafli Akmal <[email protected]># Contributor: artoo <[email protected]># Contributor: Oscar Campos <[email protected]>_url="https://raw.githubusercontent.com/gentoo/gentoo/master"pkgname=libvirt-openrcpkgver=20180312pkgrel=1pkgdesc="OpenRC libvirt init script"arch=('any')url="https://github.com/artix-linux/packages-galaxy"license=('GPL2')groups=('openrc-galaxy')depends=('openrc' 'libvirt')conflicts=('systemd-sysvcompat')backup=('etc/conf.d/libvirtd')source=("libvirtd.initd::${_url}/app-emulation/libvirt/files/libvirtd.init-r18" "virtlockd.initd::${_url}/app-emulation/libvirt/files/virtlockd.init-r1" "virtlogd.initd::${_url}/app-emulation/libvirt/files/virtlogd.init-r1" "libvirt-guests.initd::${_url}/app-emulation/libvirt/files/libvirt-guests.init-r4")sha256sums=('66a446078a651f9ac87d582f0e14e1e1c4c6758e557bab4fb1748e4232c19eb2' 'bd73d36793acadf92914cd3d60c8763b3ea02417c03b5577e95ce20305497dd1' '4b4c2be239a39f0a2ea991067cc9ad35dff0bb6ac9ad1d3bfba7c293e146983c' '482adfaecb3d7f515744dc8123bf147699e1f9d120b7bb7520d5b669b3d15c51')# pkgver() {# date +%Y%m%d# }_inst_initd(){ install -Dm755 ${srcdir}/$1.initd ${pkgdir}/etc/init.d/$1 sed -e 's|#!/sbin/openrc-run|#!/usr/bin/openrc-run|g' \ -e 's|/var/run|/run|g' \ -e 's|/usr/sbin|/usr/bin|g' \ -i ${pkgdir}/etc/init.d/$1}package() { _inst_initd 'libvirtd' _inst_initd 'virtlockd' _inst_initd 'virtlogd' _inst_initd 'libvirt-guests' sed -e "s/USE_FLAG_FIREWALLD/want firewalld/" \ -e "s/USE_FLAG_AVAHI/use avahi-daemon/" \ -e "s/USE_FLAG_ISCSI/use iscsid/" \ -e "s/USE_FLAG_RBD/use ceph/" \ -i "${pkgdir}/etc/init.d/libvirtd"}I don't really know how to package this and commit it upstream, sorry, but maybe it could help someone ¯\_(ツ)_/¯