>> Do you see any problem with using the mount defaults for /dev/pts
>> (rw,noexec,nosuid,gid=5,mode=0620) from the container system inside
>> the chroot system?
>
> Should IMHO work.
Just tested it. It indeed works. My sageserver user can now run Sage
(plus other pts stuff... sshd and so on) with
>> How about /dev/pts ?
/dev/pts was indeed mounted. But, the generic mount-defaults file in
schroot mounted it as:
/dev/pts (chroot_path)/dev/pts none defaults 0 0
and this (a bit curiously) mounts it with permissions 0600. So, the
script you posted (along with a bunch of other stuff)