Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 411661 - net-firewall/arno-iptables-firewall-1.9.2 deprecated use of opts in init.d script
Summary: net-firewall/arno-iptables-firewall-1.9.2 deprecated use of opts in init.d sc...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at if you want to take care of it
Keywords: PATCH
Depends on: 309473
Blocks: init.d-depr-opts
  Show dependency tree
Reported: 2012-04-11 21:54 UTC by Marius Brehler
Modified: 2012-12-17 19:43 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---

patch to replace opts by extra_* (arno-iptables-firewall.patch,299 bytes, patch)
2012-04-11 21:56 UTC, Marius Brehler
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marius Brehler 2012-04-11 21:54:58 UTC
Running the init.d script with any option results in the following output:

/etc/init.d/arno-iptables-firewall status
 * Use of the opts variable is deprecated and will be
 * removed in the future.
 * Please use extra_commands, extra_started_commands or extra_stopped_commands.

The opts variable is used in line 3 of /etc/init.d/arno-iptables-firewall:

opts="${opts} stats help reload"

I think it should be replaced by (as in the attached patch):

extra_commands="stats help"

Reproducible: Always

Steps to Reproduce:
1. run "/etc/init.d/arno-iptables-firewall status" or similar
Comment 1 Marius Brehler 2012-04-11 21:56:16 UTC
Created attachment 308575 [details, diff]
patch to replace opts by extra_*
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2012-12-17 19:39:17 UTC
This patch does not apply to the ebuild. Please make a proper patch that can be applied within the ebuild.
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2012-12-17 19:43:50 UTC
Fixed in 447386