[Bug 185978] Re: init.d script not supporting option "status"
ceg
c.gatzemeier at tu-bs.de
Sun Nov 29 12:17:19 UTC 2009
** Summary changed:
- The rcS.d script for firehol is missing some options
+ init.d script not supporting option "status"
** Description changed:
Binary package hint: firehol
- DISTRIB_ID=Ubuntu
- DISTRIB_RELEASE=7.10
- DISTRIB_CODENAME=gutsy
- DISTRIB_DESCRIPTION="Ubuntu 7.10"
+ The init.d script that calls firehol needs to be able to return the
+ status in the same way other init scripts do it.
- PACKAGE=firehol1.231-7ubuntu0.7.10
-
-
- The options below are supported by firehol, but only a few of them are used in the current rc.S.d script.
- I would like to see all relevant options go into the script.
+ The options below are supported by the firehol scipt itself.
//----------------------------snip---------------------------------------------
start to activate the firewall configuration.
The configuration is expected to be found in
/etc/firehol/firehol.conf
try to activate the firewall, but wait until
the user types the word "commit". If this word
is not typed within 30 seconds, the previous
firewall is restored.
stop to stop a running iptables firewall.
This will allow all traffic to pass unchecked.
restart this is an alias for start and is given for
compatibility with /etc/init.d/iptables.
condrestart will start the firewall only if it is not
already active. It does not detect a modified
configuration file.
status will show the running firewall, as in:
/sbin/iptables -nxvL | /usr/bin/less
panic will block all IP communication.
save to start the firewall and then save it to the
place where /etc/init.d/iptables looks for it.
Note that not all firewalls will work if
restored with:
/etc/init.d/iptables start
debug to parse the configuration file but instead of
activating it, to show the generated iptables
statements.
explain to enter interactive mode and accept configuration
directives. It also gives the iptables commands
for each directive together with reasoning.
helpme or to enter a wizard mode where FireHOL will try
wizard to figure out the configuration you need.
You can redirect the standard output of FireHOL to
a file to get the config to this file.
<a filename> a different configuration file.
If not other argument is given, the configuration
will be "tried" (default = try).
Otherwise the argument next to the filename can
be one of 'start', 'debug' and 'try'.
--
init.d script not supporting option "status"
https://bugs.launchpad.net/bugs/185978
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list