Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] base-files: remove symbolic link from /etc/mtab to /proc/mounts
@ 2013-07-31  8:19 Chunrong Guo
  2013-07-31  8:46 ` ChenQi
  2013-07-31  9:57 ` Phil Blundell
  0 siblings, 2 replies; 6+ messages in thread
From: Chunrong Guo @ 2013-07-31  8:19 UTC (permalink / raw)
  To: openembedded-core

    *If /etc/mtab is a symlink to /proc/self/mounts,
     mounting fails because addmntent returns an error.
     As a consequence, the Private directory is unusable
     because /proc/self/mounts is read-only feature.

Signed-off-by: Chunrong Guo <B40290@freescale.com>
---
 meta/recipes-core/base-files/base-files_3.0.14.bb |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-core/base-files/base-files_3.0.14.bb b/meta/recipes-core/base-files/base-files_3.0.14.bb
index 054fefa..1843bdd 100644
--- a/meta/recipes-core/base-files/base-files_3.0.14.bb
+++ b/meta/recipes-core/base-files/base-files_3.0.14.bb
@@ -100,7 +100,6 @@ do_install () {
 	install -m 0644 ${WORKDIR}/host.conf ${D}${sysconfdir}/host.conf
 	install -m 0644 ${WORKDIR}/motd ${D}${sysconfdir}/motd
 
-	ln -sf /proc/mounts ${D}${sysconfdir}/mtab
 }
 
 do_install_basefilesissue () {
-- 
1.7.5.4




^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-07-31 14:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-31  8:19 [PATCH] base-files: remove symbolic link from /etc/mtab to /proc/mounts Chunrong Guo
2013-07-31  8:46 ` ChenQi
2013-07-31  9:04   ` Stanacar, StefanX
2013-07-31  9:16   ` Guo Chunrong-B40290
2013-07-31 14:26     ` Mark Hatle
2013-07-31  9:57 ` Phil Blundell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox