Utilising the command from the guide linked above,  'sudo chroot .' from
inside the chroot directory gives the following error:

chroot: failed to run comand '/bin/bash': Permission denied

You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apparmor-easyprof-ubuntu
in Ubuntu.

  Cannot run "sudo chroot ." in Terminal

Status in apparmor-easyprof-ubuntu package in Ubuntu:

Bug description:
  The Terminal app is being denied to exec the shell inside a chroot
  when attempting to run sudo chroot .:

  Jan 15 15:09:22 ubuntu-phablet kernel: [66337.301777] type=1400
  audit(1452888562.238:76): apparmor="DENIED" operation="exec"
  profile="com.ubuntu.terminal_terminal_0.7.140" name="/home/phablet
  /vivid-chroot/bin/bash" pid=30547 comm="chroot" requested_mask="x"
  denied_mask="x" fsuid=0 ouid=0

  It would be nice to fix this so that sudo chroot . will work, so that
  people can use a chroot to install additional console apps and tools,
  rather than using writable images, following the instructions on
  AskUbuntu at http://bit.ly/1RLv3g9

To manage notifications about this bug go to:

Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to