[OE-core] [PATCH] base-files: remove symbolic link from /etc/mtab to /proc/mounts
Phil Blundell
pb at pbcl.net
Wed Jul 31 09:57:37 UTC 2013
On Wed, 2013-07-31 at 16:19 +0800, 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.
This looks like it will break anything with a READ_ONLY_ROOTFS since now
mtab won't exist and there will be no way for it to get created.
I'm not quite sure I understand what problem you're trying to fix (since
I can't immediately think of any situation where calling addmntent() is
a sensible thing to do) but, whatever the problem is, I don't think that
unilaterally removing /etc/mtab is a good way to go about fixing it.
p.
More information about the Openembedded-core
mailing list