libvirtd's init file needs to be modified to wait for iptables (or in my case, shorewall) to be loaded first. It adds iptable rules for it's virtual bridge interfaces, which get dropped and overwritten or mangled if iptables/shorewall is loaded afterwards. Reproducible: Always
Probably should change the depend() to be... need net before dhcp after ntp-client ntpd iscsid iptables nfsmount portmap Can anyone think of any others?
Looks good to me. By the way, you don't need to modify the init script, you can use rc_need="iptables" in the conf.d file.
(In reply to comment #1) > Probably should change the depend() to be... > > need net > before dhcp > after ntp-client ntpd iscsid iptables nfsmount portmap > > Can anyone think of any others? > Looks like we need rpc.statd in there as well otherwise NFS mounted storage volumes won't come up. Which brings up a point... do we want those to be "use" instead of "after"? So the use line would be "iscsid rpc.statd".
Uhm iscsid? Why that btw?
well, it still reads before sshd ntp-client ntpd nfs nfsmount rsyncd portmap dhcp @Cardoe: why "before dhcp"? Other candidates: * after consolekit * if you have "after iptables", you may also add ip6tables and ebtables * after ceph * after cman (not in tree yet, though) * after corosync * after gfs2-tools (not in tree yet, though) * before <yourmonitoringagenthere>
(In reply to comment #4) > Uhm iscsid? Why that btw? Because libvirt uses iSCSI targets and if iscsid isn't started then it can't connect to those. Which means virtual machines who's drives are on iSCSI can't be autostarted and instead fail when the system boots.
(In reply to comment #5) > well, it still reads > before sshd ntp-client ntpd nfs nfsmount rsyncd portmap dhcp > > @Cardoe: why "before dhcp"? > > Other candidates: > * after consolekit > * if you have "after iptables", you may also add ip6tables and ebtables > * after ceph > * after cman (not in tree yet, though) > * after corosync > * after gfs2-tools (not in tree yet, though) > * before <yourmonitoringagenthere> After consolekit isn't necessary since its only used for authentication when its connected to. So basically the user won't be able to login to it until consolekit comes up.
Changes to the ordering of services have been made in the 0.9.2_rc2 ebuild