Open zyga opened 5 years ago
The working theory based on the old behaviour of devpts
being somehow magically shared unless newinstance
mount option is used has been defeated. Since 2016 this behaviour is gone and all mounts are independent. See: https://github.com/torvalds/linux/commit/eedf265aa003b4781de24cfed40a655a664457e6
Does the xenial kernel have that patch backported to it? It looks like it was introduced 2 months after xenial was released and you mentioned this is on uc16.
tl;dr; installation and usage of
classic
changes the permission of /dev/pts as follows:This can be reproduced by running
spread -shell-before google:ubuntu-core-16-64:tests/main/ubuntu-core-classic
and then following with those commands:State before
Installation & startup of classic
State after
At this point
/dev/pts
is changed, even after you remove the snap.