[Touch-packages] [Bug 1534807] Re: Cannot run "sudo chroot ." in Terminal
** Changed in: canonical-devices-system-image Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor-easyprof-ubuntu in Ubuntu. https://bugs.launchpad.net/bugs/1534807 Title: Cannot run "sudo chroot ." in Terminal Status in Canonical System Image: Fix Released Status in apparmor-easyprof-ubuntu package in Ubuntu: Fix Released 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: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1534807/+subscriptions -- 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
[Touch-packages] [Bug 1534807] Re: Cannot run "sudo chroot ." in Terminal
** Changed in: canonical-devices-system-image Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor-easyprof-ubuntu in Ubuntu. https://bugs.launchpad.net/bugs/1534807 Title: Cannot run "sudo chroot ." in Terminal Status in Canonical System Image: Fix Committed Status in apparmor-easyprof-ubuntu package in Ubuntu: Fix Released 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: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1534807/+subscriptions -- 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
[Touch-packages] [Bug 1534807] Re: Cannot run "sudo chroot ." in Terminal
https://requests.ci-train.ubuntu.com/#/ticket/1190 in silo 046. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor-easyprof-ubuntu in Ubuntu. https://bugs.launchpad.net/bugs/1534807 Title: Cannot run "sudo chroot ." in Terminal Status in Canonical System Image: In Progress Status in apparmor-easyprof-ubuntu package in Ubuntu: Fix Released 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: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1534807/+subscriptions -- 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
[Touch-packages] [Bug 1534807] Re: Cannot run "sudo chroot ." in Terminal
sounds ok ** Changed in: canonical-devices-system-image Importance: Undecided => Medium ** Changed in: canonical-devices-system-image Status: New => Confirmed ** Changed in: canonical-devices-system-image Milestone: None => ww08-2016 ** Changed in: canonical-devices-system-image Assignee: (unassigned) => Jamie Strandboge (jdstrand) ** Changed in: canonical-devices-system-image Status: Confirmed => In Progress -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor-easyprof-ubuntu in Ubuntu. https://bugs.launchpad.net/bugs/1534807 Title: Cannot run "sudo chroot ." in Terminal Status in Canonical System Image: In Progress Status in apparmor-easyprof-ubuntu package in Ubuntu: Fix Released 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: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1534807/+subscriptions -- 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
[Touch-packages] [Bug 1534807] Re: Cannot run "sudo chroot ." in Terminal
This is queued for 1.3.16. I need a member of the Touch release team to comment if this should be in OTA 10. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor-easyprof-ubuntu in Ubuntu. https://bugs.launchpad.net/bugs/1534807 Title: Cannot run "sudo chroot ." in Terminal Status in Canonical System Image: New Status in apparmor-easyprof-ubuntu package in Ubuntu: Fix Released 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: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1534807/+subscriptions -- 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
[Touch-packages] [Bug 1534807] Re: Cannot run "sudo chroot ." in Terminal
This was fixed in apparmor-easyprof-ubuntu in wily 15.10.3. This only needs an update for OTA. IMO this change is fine for OTA because relatively few applications use the unconfined template. ** Changed in: apparmor-easyprof-ubuntu (Ubuntu) Assignee: Nicholas Skaggs (nskaggs) => (unassigned) ** Changed in: apparmor-easyprof-ubuntu (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor-easyprof-ubuntu in Ubuntu. https://bugs.launchpad.net/bugs/1534807 Title: Cannot run "sudo chroot ." in Terminal Status in Canonical System Image: New Status in apparmor-easyprof-ubuntu package in Ubuntu: Fix Released 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: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1534807/+subscriptions -- 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
[Touch-packages] [Bug 1534807] Re: Cannot run "sudo chroot ." in Terminal
Adding system-image to the bug, so it can get tagged for the OTA. ** Also affects: canonical-devices-system-image Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor-easyprof-ubuntu in Ubuntu. https://bugs.launchpad.net/bugs/1534807 Title: Cannot run "sudo chroot ." in Terminal Status in Canonical System Image: New Status in apparmor-easyprof-ubuntu package in Ubuntu: Confirmed 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: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1534807/+subscriptions -- 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
[Touch-packages] [Bug 1534807] Re: Cannot run "sudo chroot ." in Terminal
** Changed in: apparmor-easyprof-ubuntu (Ubuntu) Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor-easyprof-ubuntu in Ubuntu. https://bugs.launchpad.net/bugs/1534807 Title: Cannot run "sudo chroot ." in Terminal Status in apparmor-easyprof-ubuntu package in Ubuntu: Confirmed 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: https://bugs.launchpad.net/ubuntu/+source/apparmor-easyprof-ubuntu/+bug/1534807/+subscriptions -- 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
[Touch-packages] [Bug 1534807] Re: Cannot run "sudo chroot ." in Terminal
Jamie, I thought we had dropped all the fakeenv rules for autopilot? Indeed we did switch to the notion of having dedicated devices that we manually curate into known states before testing. So all rules that support faking envs or mocking for autopilot can be removed. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor-easyprof-ubuntu in Ubuntu. https://bugs.launchpad.net/bugs/1534807 Title: Cannot run "sudo chroot ." in Terminal Status in apparmor-easyprof-ubuntu package in Ubuntu: Confirmed 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: https://bugs.launchpad.net/ubuntu/+source/apparmor-easyprof-ubuntu/+bug/1534807/+subscriptions -- 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
[Touch-packages] [Bug 1534807] Re: Cannot run "sudo chroot ." in Terminal
The reason why this doesn't work is because this rule carves out /home: /[^h][^o][^m][^e]** pix, We needed to do that for autopilot fakeenv-style tests. I think this style of test has been abandoned due to other issues though; if that is true, I can simplify the exec transition rules and remove these autopilot rules. Nicholas, can you comment? ** Changed in: apparmor-easyprof-ubuntu (Ubuntu) Assignee: (unassigned) => Nicholas Skaggs (nskaggs) ** Changed in: apparmor-easyprof-ubuntu (Ubuntu) Status: Confirmed => Incomplete -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor-easyprof-ubuntu in Ubuntu. https://bugs.launchpad.net/bugs/1534807 Title: Cannot run "sudo chroot ." in Terminal Status in apparmor-easyprof-ubuntu package in Ubuntu: Incomplete 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: https://bugs.launchpad.net/ubuntu/+source/apparmor-easyprof-ubuntu/+bug/1534807/+subscriptions -- 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
[Touch-packages] [Bug 1534807] Re: Cannot run "sudo chroot ." in Terminal
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. https://bugs.launchpad.net/bugs/1534807 Title: Cannot run "sudo chroot ." in Terminal Status in apparmor-easyprof-ubuntu package in Ubuntu: Confirmed 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: https://bugs.launchpad.net/ubuntu/+source/apparmor-easyprof-ubuntu/+bug/1534807/+subscriptions -- 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
[Touch-packages] [Bug 1534807] Re: Cannot run "sudo chroot ." in Terminal
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: apparmor-easyprof-ubuntu (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor-easyprof-ubuntu in Ubuntu. https://bugs.launchpad.net/bugs/1534807 Title: Cannot run "sudo chroot ." in Terminal Status in apparmor-easyprof-ubuntu package in Ubuntu: Confirmed 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: https://bugs.launchpad.net/ubuntu/+source/apparmor-easyprof-ubuntu/+bug/1534807/+subscriptions -- 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