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

Bug 392929

Summary: net-analyzer/nagios-core-3.3.1: deprecated options in init script
Product: Gentoo Linux Reporter: Michael Palimaka (kensington) <kensington>
Component: Current packagesAssignee: Tobias Scherbaum (RETIRED) <dertobi123>
Status: RESOLVED FIXED    
Severity: minor CC: bmadams, netmon
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 377843, 381895    
Attachments: Avoid deprecated options, use s-s-d for reload

Description Michael Palimaka (kensington) gentoo-dev 2011-12-02 15:49:01 UTC
Created attachment 294525 [details, diff]
Avoid deprecated options, use s-s-d for reload

# /etc/init.d/nagios start
 * Use of the opts variable is deprecated and will be
 * removed in the future.
 * Please use extra_commands or extra_started_commands.
 * Starting nagios ...
 * WARNING: -a/--startas is deprecated and will be removed in the future, please use -x/--exec or -n/--name instead
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-12-30 15:34:11 UTC
+  30 Dec 2011; Lars Wendler <polynomial-c@gentoo.org> files/nagios3:           
+  non-maintainer commit: Massively rewrote init script with help from idl0r.   
+  Fixed deprecated s-s-d options. Let reload function use s-s-d as well. Thanks
+  to Michael Kensington for reporting this in bug #392929 and providing a      
+  patch.                                                                       
+