Hi Joe, I made a classic snap. https://github.com/shawn111/tmux.snap
But you are right, I'm not sure how to make it confined. Regards, Shawn On Sat, Feb 25, 2017 at 3:26 AM, Joe Coates <jcoa...@extremenetworks.com> wrote: > I’ve been trying to add tmux to my snap to provide separate command line > environments to each of several processes in the snap (the target is > Ubuntu-core). It builds OK but it fails silently upon execution (by > silent I mean no appArmor denials or error messages in journalctl or > syslog). The tmux log indicates “fatal: tcgetattr failed: Bad file > descriptor”, and I believe it is trying to access the session TTY (“client > 0x10e9590 IDENTIFY_ENVIRON SSH_TTY=/dev/pts/1”) . This behavior is > consistent on ubuntu-core, core+classic, and ubuntu server. > > Before delving further into tmux code I’d like to know if there is some > basic restriction preventing this from working – is the console session off > limits to snaps ? I noticed some early attempts at snapping tmux on > github, but none of them seem to have been successful. Has anyone tried > this, or can perhaps offer any advice ? > > Thanks, > > Joe Coates > > ------------------------------ > > DISCLAIMER: > This e-mail and any attachments to it may contain confidential and > proprietary material and is solely for the use of the intended recipient. > Any review, use, disclosure, distribution or copying of this transmittal is > prohibited except by or on behalf of the intended recipient. If you have > received this transmittal in error, please notify the sender and destroy > this e-mail and any attachments and all copies, whether electronic or > printed. > > -- > Snapcraft mailing list > Snapcraft@lists.snapcraft.io > Modify settings or unsubscribe at: https://lists.ubuntu.com/ > mailman/listinfo/snapcraft > >
-- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft