On 02/27/2012 11:53 AM, Lew Wolfgang wrote:
Hi Folks,
On a fresh install of 64-bit 12.1 I decided to try sshguard instead of the block-hosts package I've been using for years. sshguard was installed from the security repository.
After fiddling with /etc/init.d/sshguard and /etc/sysconfig/sshguard I managed to get it working. The big problem was the iptables entry to allow ssh appeared before the sshguard entry.
But now it doesn't work on bootup. The changes sshguard makes to iptables are overwritten by a subsequent process. If I run "/etc/init.d/sshguard restart' after the system is up in runlevel 5 everything is fine.
So I need to figure out how to delay sshguard so that it appears later in the boot sequence. Would it be as simple as changing the order of the entries in /etc/init.d?
Does anyone know how to do this right in a default systemd system? I don't want to experiment too much because the system is remote (Vancover) and the KVM/IP thing doesn't work with SuSE. (that's a matter for a later date)
You can consult http://fedoraproject.org/wiki/Systemd and when you get there, search for the word "ordering". You'll find it to be non-trivial. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org