[Assist] alternatives to systemd
Divan Santana
divan at santanas.co.za
Wed Aug 23 22:23:43 BST 2017
>>>>> So I'm interested in stripping systemd from my parabola system.
>>>>>
>>>>> Can one simply go through the openrc wiki doc and use eudev+openrc?
>>>>
>>>> Yes
>>>
>>> Done - thanks.
>>>
>>> All worked pretty well except for two things.
>>>
>>> Docker openrc missing. Fortunately one in AUR.
>>> shorewall openrc missing. Can't find one yet.
>
> Found it right here
> https://gitweb.gentoo.org/repo/gentoo.git/tree/net-firewall/shorewall/files/shorewall-init.initd
>
> It also has a configuration file
> https://gitweb.gentoo.org/repo/gentoo.git/tree/net-firewall/shorewall/files/shorewall-init.confd
>
> For shorewall6:
>
> init.d:
> https://gitweb.gentoo.org/repo/gentoo.git/tree/net-firewall/shorewall/files/shorewall6.initd-r1
>
> conf.d:
> https://gitweb.gentoo.org/repo/gentoo.git/tree/net-firewall/shorewall/files/shorewall6.confd-r1
>
> Well, there are also many other init.d and conf.d files
> https://gitweb.gentoo.org/repo/gentoo.git/tree/net-firewall/shorewall/files
>
> All the *.initd go to /etc/init.d and all the *.confd go to /etc/conf.d
> You can make your own PKGBUILD based on one from the abslibre.git (from
> the openrc-* ones of course)
> https://git.parabola.nu/abslibre.git/tree/pcr
> (they are all in [pcr])
Cool I should look at doing that. I'll try sometime. Thanks for all the info!
>> Also libvirt complains of
>> error: file owned by 'libvirt' and 'libvirt-openrc': 'etc/conf.d/libvirt-guests'
>> error: file owned by 'libvirt' and 'libvirt-openrc': 'etc/conf.d/libvirtd'
>> even though it looks right to me.
>>
>> ~ ᐅ l /etc/conf.d/|grep -i libv
>> -rwxr-xr-x 1 root root 740 Mar 29 09:53 libvirtd*
>> -rwxr-xr-x 1 root root 2.4K Mar 29 09:53 libvirt-guests*
>>
>
> I think I had this problem. Doing pacman -S --force libvirt-openrc
> should work.
Turns out to be some issue with yaourt... Not sure of the fix though.
PASTE
~ ᐅ l /etc/conf.d/libvirt*
-rwxr-xr-x 1 root root 740 Mar 29 09:53 /etc/conf.d/libvirtd*
-rwxr-xr-x 1 root root 2.4K Mar 29 09:53 /etc/conf.d/libvirt-guests*
~ ᐅ yaourt -Ss libvirt-openrc
pcr/libvirt-openrc 20170309-1.parabola4 (openrc-misc) [installed]
aur/libvirt-openrc 20170309-1 [installed: 20170309-1.parabola4] (0) (0.00)
~ ᐅ yaourt -Syyu --noconfirm
nonprism
libre
core
extra
community
pcr
archlinuxfr
error: file owned by 'libvirt' and 'libvirt-openrc': 'etc/conf.d/libvirt-guests'
error: file owned by 'libvirt' and 'libvirt-openrc': 'etc/conf.d/libvirtd'
~ ᐅ sudo pacman -Syyu --noconfirm
nonprism
libre
core
extra
community
pcr
archlinuxfr
:: Starting full system upgrade...
there is nothing to do
~ ᐅ yaourt -Syyu --noconfirm
nonprism
libre
core
extra
community
pcr
archlinuxfr
error: file owned by 'libvirt' and 'libvirt-openrc': 'etc/conf.d/libvirt-guests'
error: file owned by 'libvirt' and 'libvirt-openrc': 'etc/conf.d/libvirtd'
PASTE
So issue only occurs with yaourt. Weird.
> Do not forget to install and enable firewalld-openrc too,
> otherwise the init script won't start.
About this. I edit /etc/init.d/libvirtd and delete "need firewalld".
Since I don't use that. I use shorewall. Shouldn't firewalld not be a
hard depend?
--
Divan
More information about the Assist
mailing list