2015-04-23 04:12:38 +05:30
|
|
|
# Features Scheduled for Removal
|
|
|
|
|
2011-01-18 04:01:11 +05:30
|
|
|
The following is a list of files and features that are going to be removed in
|
|
|
|
the source tree. Every entry should contain what exactly is going away, why it
|
|
|
|
is happening, and who is going to be doing the work. When the feature is
|
|
|
|
removed, it should also be removed from this file.
|
|
|
|
|
2015-04-23 04:12:38 +05:30
|
|
|
## Service pause action
|
2011-01-18 07:11:29 +05:30
|
|
|
|
2014-01-23 22:38:35 +05:30
|
|
|
When: 1.0
|
2011-01-18 07:11:29 +05:30
|
|
|
|
2015-04-23 04:12:38 +05:30
|
|
|
Why: The same affect can be obtained with the --nodeps option to stop.
|
2011-01-18 07:11:29 +05:30
|
|
|
|
2011-01-18 07:18:53 +05:30
|
|
|
Who:
|
2011-01-18 07:11:29 +05:30
|
|
|
|
2015-04-23 04:12:38 +05:30
|
|
|
## start-stop-daemon options --startas, --chuid , --oknodo
|
2011-01-18 07:11:29 +05:30
|
|
|
|
2014-01-23 22:38:35 +05:30
|
|
|
When: 1.0
|
2011-01-18 07:11:29 +05:30
|
|
|
|
|
|
|
Why: Obsolete or replaced by other options.
|
|
|
|
|
2015-04-23 04:12:38 +05:30
|
|
|
* --startas => use --name or --exec
|
|
|
|
* --chuid => use --user
|
|
|
|
* --oknodo => ignore return code instead
|
2011-01-18 07:11:29 +05:30
|
|
|
|
2015-04-23 04:12:38 +05:30
|
|
|
Who:
|
2014-01-23 22:38:35 +05:30
|
|
|
|
2015-04-23 04:12:38 +05:30
|
|
|
## runscript and rc symbolic links
|
2014-01-23 22:38:35 +05:30
|
|
|
|
|
|
|
When: 1.0
|
|
|
|
|
|
|
|
Why: Deprecated in favor of openrc-run and openrc due to naming
|
|
|
|
conflicts with other software.
|
|
|
|
|
|
|
|
Who:
|
|
|
|
|
2015-04-23 04:12:38 +05:30
|
|
|
## support for the opts variable in service scripts
|
2014-07-01 17:44:31 +05:30
|
|
|
|
|
|
|
When: 1.0
|
|
|
|
|
|
|
|
Why: Depprecated in favor of extra_commands, extra_started_commands
|
|
|
|
and extra_stopped_commands.
|
|
|
|
|
|
|
|
Who:
|
|
|
|
|
2015-04-23 04:12:38 +05:30
|
|
|
## support for local_start and local_stop
|
2014-07-10 19:34:04 +05:30
|
|
|
|
|
|
|
When: 1.0
|
|
|
|
|
|
|
|
Why: Depprecated in favor of executable scripts in @SYSCONFDIR@/local.d
|
|
|
|
|
|
|
|
Who:
|
|
|
|
|
2015-04-23 04:12:38 +05:30
|
|
|
## the mtab service script
|
2014-08-15 00:20:48 +05:30
|
|
|
|
2015-12-09 00:32:21 +05:30
|
|
|
When: force /etc/mtab to link to /proc/self/mounts in 1.0, remove
|
|
|
|
service in 2.0
|
2014-08-15 00:20:48 +05:30
|
|
|
|
|
|
|
Why: /etc/mtab should be a symbolic link to /proc/self/mounts on modern
|
|
|
|
Linux systems
|
|
|
|
|
|
|
|
Who:
|
2015-12-09 00:41:41 +05:30
|
|
|
|
2015-12-12 04:16:02 +05:30
|
|
|
## C API Functions in rc.h
|
|
|
|
|
|
|
|
If you have a c program that links to librc and uses functions from
|
|
|
|
there, this section will list API functions which are deprecated and
|
|
|
|
will be removed along with the reason they are being removed.
|
|
|
|
|
|
|
|
### rc_getline()
|
2015-12-10 05:27:20 +05:30
|
|
|
|
|
|
|
When: 1.0
|
|
|
|
|
|
|
|
Why: The getline() function was standardized in POSIX.1-2008, so it
|
|
|
|
should be available on POSIX systems.
|
|
|
|
|
|
|
|
Who:
|
|
|
|
|
2015-12-12 04:16:02 +05:30
|
|
|
### rc_sys()
|
2015-12-09 00:41:41 +05:30
|
|
|
|
|
|
|
When: 1.0
|
|
|
|
|
|
|
|
Why: The OpenRC code now uses two internal functions, detect_container()
|
|
|
|
and detect_vm() to handle this. rc_sys() is broken because it
|
|
|
|
doesn't differentiate between containers and vm's.
|
|
|
|
|
|
|
|
Who:
|
|
|
|
|