- Finding issues running snaps (hello-world).
- Same issue even installing with --devmode. Even running the snap binary as root
- Using a custom kernel, this is on an Nvidia Tegra X1 custom board.
=====================================
ubuntu@localhost:~$ hello-world.echo plop
unable to mount '/dev/pts/ptmx'->'/dev/ptmx'. errmsg: Permission denied
ubuntu@localhost:~$ sudo hello-world.echo plop
unable to mount '/dev/pts/ptmx'->'/dev/ptmx'. errmsg: Permission denied
- Finding issues running snaps (hello-world).
- Same issue even installing with --devmode. Even running the snap binary as root
- Using a custom kernel, this is on an Nvidia Tegra X1 custom board.
======= ======= ======= ======= ======= ==
ubuntu@localhost:~$ hello-world.echo plop ptmx'-> '/dev/ptmx' . errmsg: Permission denied ptmx'-> '/dev/ptmx' . errmsg: Permission denied
unable to mount '/dev/pts/
ubuntu@localhost:~$ sudo hello-world.echo plop
unable to mount '/dev/pts/
dmesg shows: ======= ======= ======= ======= ==
=======
[ 302.838046] type=1400 audit(145520837 1.989:16) : apparmor="DENIED" "/usr/bin/ ubuntu- core-launcher" name="/dev/ptmx/" pid=912 core-lau" srcname= "/dev/pts/ ptmx/" flags="rw, bind" 7.229:17) : apparmor="DENIED" "/usr/bin/ ubuntu- core-launcher" name="/dev/ptmx/" pid=915 core-lau" srcname= "/dev/pts/ ptmx/" flags="rw, bind"
operation="mount" info="failed mntpnt match" error=-13 parent=911
profile=
comm="ubuntu-
[ 308.080449] type=1400 audit(145520837
operation="mount" info="failed mntpnt match" error=-13 parent=914
profile=
comm="ubuntu-
This is with the "hello-world" snap installed with "snap install"
Output of an ls over the device file: ======= ======= ======= ======= ==
=======
ubuntu@localhost:~$ ls -lR /dev/ptmx /dev/pts
crw-rw-rw- 1 root tty 5, 2 Feb 11 16:28 /dev/ptmx
/dev/pts:
total 0
c--------- 1 root root 5, 2 Jan 1 1970 ptmx