diff options
| author | Joey Hess <joeyh@joeyh.name> | 2016-11-20 20:07:57 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2016-11-20 20:07:57 -0400 |
| commit | c47474d3a8ea926c185481acf4f0c21006b8d7ef (patch) | |
| tree | 5865446cbb2a0db104e722a3a3c946ee6c6133b8 /doc/todo/userScriptProperty_fails_inside_a_debootstrapped_chroot.mdwn | |
| parent | 1178d210043894a87ee4cdb8cda00ca8da5883c5 (diff) | |
| parent | 42fafdc21313dff0e5d1972b457d5edcc589cfb0 (diff) | |
Merge branch 'master' into joeyconfig
Diffstat (limited to 'doc/todo/userScriptProperty_fails_inside_a_debootstrapped_chroot.mdwn')
| -rw-r--r-- | doc/todo/userScriptProperty_fails_inside_a_debootstrapped_chroot.mdwn | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/todo/userScriptProperty_fails_inside_a_debootstrapped_chroot.mdwn b/doc/todo/userScriptProperty_fails_inside_a_debootstrapped_chroot.mdwn new file mode 100644 index 00000000..c4464d03 --- /dev/null +++ b/doc/todo/userScriptProperty_fails_inside_a_debootstrapped_chroot.mdwn @@ -0,0 +1,25 @@ +Config snippet to reproduce: + + & Chroot.provisioned sidChroot + where + sidChroot = Chroot.debootstrapped mempty "/tmp/sid" $ props + & osDebian Unstable X86_64 + & User.accountFor (User "spwhitton") + & userScriptProperty (User "spwhitton") + [ "echo hello > /home/spwhitton/greeting" ] + `assume` MadeChange + +During a spin, I see the error `Cannot execute /bin/sh`. + +I can obtain the error manually as follows. My `/tmp` is not mounted `noexec`. + + iris ~ % sudo chroot /tmp/sid /bin/bash + [sudo] password for spwhitton: + root@iris:/# su --shell /bin/sh -c "echo hello > /home/spwhitton/greeting" spwhitton + Cannot execute /bin/sh + root@iris:/# su --shell /bin/sh spwhitton + Cannot execute /bin/sh: Permission denied + +--spwhitton + +> [[fixed|done]] --[[Joey]] |
