Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 381895 (init.d-depr-opts) - [tracker] sys-apps/openrc deprecation of opts variable in init scripts
Summary: [tracker] sys-apps/openrc deprecation of opts variable in init scripts
Status: CONFIRMED
Alias: init.d-depr-opts
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: OpenRC Team
URL:
Whiteboard:
Keywords: Tracker
Depends on: 540042 381527 381841 381879 381881 381883 381885 381887 381893 382135 382227 382281 382319 383003 383641 384453 385633 385635 385637 385639 385641 385643 386107 386111 386113 386115 386753 386757 386759 386763 386765 386767 386769 388671 392065 392929 393111 393113 393115 393523 393525 393657 393661 394459 395631 395945 396607 397467 397741 398987 402505 405521 405531 408191 411661 420067 420147 427022 443698 447536 459574 459694 459696 466846 514452
Blocks:
  Show dependency tree
 
Reported: 2011-09-05 09:00 UTC by Lars Wendler (Polynomial-C)
Modified: 2019-08-18 19:34 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 Lars Wendler (Polynomial-C) gentoo-dev 2011-09-05 09:00:00 UTC
This tracker handles bug of the following kind:

 * Use of the opts variable is deprecated and will be
 * removed in the future.
 * Please use extra_commands or extra_started_commands.


No discussion here!
Comment 1 Christian Ruppert (idl0r) archtester Gentoo Infrastructure gentoo-dev Security 2011-09-05 15:02:06 UTC
Also please *NOTE* that "start", "stop" and "restart" don't need to be in there, it is as it says for *extra* commands.
Comment 2 William Hubbs gentoo-dev 2011-09-05 16:40:09 UTC
Addd to the list in comment #1 of commands that do not belong in
extra_commands and extra_started_commands:

"status" and "describe".
Comment 3 Lars Wendler (Polynomial-C) gentoo-dev 2011-09-08 21:22:45 UTC
Let's also handle bugs of the following kind in this tracker:

* WARNING: -a/--startas is deprecated and will be removed in the future, please use -x/--exec or -n/--name instead
Comment 4 William Hubbs gentoo-dev 2011-09-09 13:38:42 UTC
(In reply to comment #3)
> Let's also handle bugs of the following kind in this tracker:
> 
> * WARNING: -a/--startas is deprecated and will be removed in the future, please
> use -x/--exec or -n/--name instead

I think bug #377843 is a better fit for these since it is handling s-s-d options deprecation. , so let's move them there if possible.
Comment 5 Martin von Gagern 2011-10-11 13:11:11 UTC
# grep -r '^opts=["'\''][^-]' /usr/portage/*-*/*/files \
  | cut -d/ -f4-5 | sort -u | wc -l
120

So it looks like there should be approximately 100 more bug reports to be tracked here. I don't feel like filing all those reports, so either find someone else who will, perhaps using some advanced form of bugzilla automation, or deal with those packages without a single report for every affected package.
Comment 6 hfern 2019-08-18 19:34:23 UTC
Well time resolves most things...
# grep -r '^opts=["'\''][^-]' /usr/portage/*-*/*/files   | cut -d/ -f4-5 | sort -u | wc -l
9

Only  nine packages left:
# grep -r '^opts=["'\''][^-]' /usr/portage/*-*/*/files   | cut -d/ -f4-5
app-misc/dnetc     
dev-libs/libcgroup
mail-filter/MailScanner
net-misc/bopm
net-misc/gofish
net-nds/tac_plus
sys-cluster/heartbeat
sys-cluster/heartbeat
sys-cluster/swift
www-servers/gatling