Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 459694 - /etc/init.d/ipfw uses deprecated opts
Summary: /etc/init.d/ipfw uses deprecated opts
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: OpenRC (show other bugs)
Hardware: All FreeBSD
: Normal trivial (vote)
Assignee: OpenRC Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: init.d-depr-opts 439098
  Show dependency tree
 
Reported: 2013-02-28 11:03 UTC by Dmitri Bogomolov
Modified: 2013-03-06 19:02 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitri Bogomolov 2013-02-28 11:03:04 UTC
There is a string in /etc/init.d/ipfw:

  opts="panic showstatus"

It probably should be:

  extra_commands="panic showstatus"

Reproducible: Always
Comment 1 Samuli Suominen gentoo-dev 2013-02-28 12:38:01 UTC
The init script is NOT part of sys-apps/openrc. I'm taking a guess that this is about sys-freebsd/freebsd-sbin according to:

sys-freebsd/freebsd-sbin/files/ipfw.initd
sys-freebsd/freebsd-sbin/files/ipfw.confd

Next time, use equery or qfile to match the file to actual package for the bug report.
Comment 2 Dmitri Bogomolov 2013-02-28 12:41:34 UTC
# equery belongs /etc/init.d/ipfw 
 * Searching for /etc/init.d/ipfw ... 
sys-apps/openrc-0.11.8 (/etc/init.d/ipfw)

http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=blob;f=init.d/ipfw.in;h=a455e2994f957376c852bc9076c3f337ff4a07b0;hb=HEAD
Comment 3 Dmitri Bogomolov 2013-02-28 12:44:55 UTC
(In reply to comment #1)

> Next time, use equery or qfile to match the file to actual package for the
> bug report.

I use equery. Please look at comment 2.
Comment 4 William Hubbs gentoo-dev 2013-03-06 19:02:50 UTC
This is fixed in commit 3b05586 and will be in openrc-0.12.
Thanks for the report.