Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 459694

Summary: /etc/init.d/ipfw uses deprecated opts
Product: Gentoo Hosted Projects Reporter: Dmitri Bogomolov <4glitch>
Component: OpenRCAssignee: OpenRC Team <openrc>
Status: RESOLVED FIXED    
Severity: trivial CC: bsd+disabled
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: FreeBSD   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 381895, 439098    

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 (RETIRED) 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.