Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 414008 Details for
Bug 560060
mtab deprecation warning is misleading
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
New patch to make deprecation message more accurate
patch (text/plain), 1.09 KB, created by
Richard Yao (RETIRED)
on 2015-10-07 14:03:31 UTC
(
hide
)
Description:
New patch to make deprecation message more accurate
Filename:
MIME Type:
Creator:
Richard Yao (RETIRED)
Created:
2015-10-07 14:03:31 UTC
Size:
1.09 KB
patch
obsolete
>diff --git a/init.d/mtab.in b/init.d/mtab.in >index 51575b4..13b49f9 100644 >--- a/init.d/mtab.in >+++ b/init.d/mtab.in >@@ -20,12 +20,20 @@ start() > elif [ ! -e /etc/mtab ]; then > ln -snf /proc/self/mounts /etc/mtab > else >- ewarn "The support for updating /etc/mtab as a file is" >- ewarn "deprecated and will be removed in the future." >- ewarn "Please run the following command as root on your system." >+ ewarn "The OpenRC mtab script has been deprecated and will be" >+ ewarn "removed from the boot runlevel in future installs in" >+ ewarn "favor of a symlink. The symlink improves compatibility" >+ ewarn "with mount namespaces and installing it is recommended." >+ ewarn >+ ewarn "You can install the symlink on your system by running" >+ ewarn "the following command as root:" > ewarn > ewarn "ln -snf /proc/self/mounts /etc/mtab" > ewarn >+ ewarn "Afterward, you can remove mtab from the boot runlevel:" >+ ewarn >+ ewarn "rc-update delete mtab boot" >+ ewarn > > # With / as tmpfs we cannot umount -at tmpfs in localmount as that > # makes / readonly and dismounts all tmpfs even if in use which is
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 560060
:
411438
| 414008