From: "Stanacar, StefanX" <stefanx.stanacar@intel.com>
To: "openembedded-core@lists.openembedded.org"
<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] base-files: remove symbolic link from /etc/mtab to /proc/mounts
Date: Wed, 31 Jul 2013 09:04:14 +0000 [thread overview]
Message-ID: <1375261509.2348.4.camel@firebird.rb.intel.com> (raw)
In-Reply-To: <51F8CEFF.2050406@windriver.com>
On Wed, 2013-07-31 at 16:46 +0800, ChenQi wrote:
> On 07/31/2013 04:19 PM, Chunrong Guo wrote:
> > *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.
>
> Could you please detail your environment a little bit?
> Where does this error come from?
>
I'm curios as well. Also can you please test this on a real hw? Try to
boot and/or install an image on atom-pc, I suspect it will fail.
Thanks,
Stefan
> Besides, if you're going to make this change, please take a read-only
> rootfs into consideration. There should be more to fix.
>
> Best Regards,
> Chen Qi
>
> > 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 () {
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
next prev parent reply other threads:[~2013-07-31 9:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2013-07-31 9:16 ` Guo Chunrong-B40290
2013-07-31 14:26 ` Mark Hatle
2013-07-31 9:57 ` Phil Blundell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1375261509.2348.4.camel@firebird.rb.intel.com \
--to=stefanx.stanacar@intel.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox