Bug#398740: init.d script does not appear idempotent

2006-11-15 Thread martin f krafft
Package: fail2ban Version: 0.7.4-3 Severity: normal Could the init.d script please fail if it's asked to stop a non-running daemon, or asked to start an already-running one? lapse:~# /etc/init.d/fail2ban start || echo failure Starting authentication failure monitor: fail2ban. lapse:~#

Bug#398740: Re: Bug#398740: init.d script does not appear idempotent

2006-11-15 Thread martin f krafft
reopen 398740 thanks also sprach Yaroslav Halchenko [EMAIL PROTECTED] [2006.11.15.1442 +0100]: Also here is an example: /etc/init.d/apache-ssl start || echo failure Starting apache-ssl 1.3 web server /etc/init.d/apache-ssl start || echo failure Starting apache-ssl 1.3 web server *

Bug#398740: Re: Bug#398740: init.d script does not appear idempotent

2006-11-15 Thread Yaroslav Halchenko
This is ancient stuff. ancient doesn't necessarily mean bad piper:~# /etc/init.d/apache2 start || echo failure #[345] Starting web server (apache2)... . piper:~# /etc/init.d/apache2 start || echo failure #[346] Starting web server (apache2)...

Bug#398740: Re: Bug#398740: Re: Bug#398740: init.d script does not appear idempotent

2006-11-15 Thread martin f krafft
severity 398740 wishlist retitle 398740 please make init.d script state if it didn't do anything thanks. also sprach Yaroslav Halchenko [EMAIL PROTECTED] [2006.11.15.1647 +0100]: Please argue not by an example on possibly broken scripts but references to policy/dev-ref -- that would make it