commit:     645f7b6947d9fc44fbece0931a3ddb10d3d79b27
Author:     William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Sat Aug 16 20:07:48 2014 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sat Aug 16 20:07:48 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=645f7b69

adjust deprecation schedule for mtab

- Quiet the deprecation messages forr now
- update the feature removal schedule to reflect that it will be removed
  in 2.0.

---
 FEATURE-REMOVAL-SCHEDULE | 2 +-
 init.d/mtab.in           | 6 ------
 2 files changed, 1 insertion(+), 7 deletions(-)

diff --git a/FEATURE-REMOVAL-SCHEDULE b/FEATURE-REMOVAL-SCHEDULE
index 2c05a3e..271316f 100644
--- a/FEATURE-REMOVAL-SCHEDULE
+++ b/FEATURE-REMOVAL-SCHEDULE
@@ -62,7 +62,7 @@ Who:
 
 What: the mtab service script
 
-When: 1.0
+When: 2.0
 
 Why: /etc/mtab should be a symbolic link to /proc/self/mounts on modern
         Linux systems

diff --git a/init.d/mtab.in b/init.d/mtab.in
index 0cd7369..61b57bd 100644
--- a/init.d/mtab.in
+++ b/init.d/mtab.in
@@ -16,12 +16,6 @@ start()
                return 0
        fi
 
-       ewarn "Please run the following command as root on your system."
-       ewarn
-       ewarn "ln -snf /proc/self/mounts /etc/mtab"
-       ewarn
-       ewarn "The support for updating /etc/mtab as a file is"
-       ewarn "deprecated and will be removed in the future."
        ebegin "Updating /etc/mtab"
        if ! echo 2>/dev/null >/etc/mtab; then
                ewend 1 "/etc/mtab is not updateable"

Reply via email to