/proc/mounts missing on an XO-4 when using mock

Martin Langhoff martin.langhoff at gmail.com
Sat Feb 22 14:34:56 EST 2014


On Fri, Feb 21, 2014 at 11:15 PM, James Cameron <quozl at laptop.org> wrote:
> Mock fails with an error; it cannot find /proc/mounts, presumably in
> the chroot it has created.  Using os.system('bash)' on the line above
> the failure [2], I've proved that /proc is present but contains nothing,
> and can't be mounted (-1, EINVAL).

That's very strange!

Looking at your verbose log, perhaps it is being too enthusiastic bind
mounting too many things?

cheers,



m
-- 
 martin.langhoff at gmail.com
 -  ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 ~ http://docs.moodle.org/en/User:Martin_Langhoff



More information about the Devel mailing list