Issues when activating a large number of applications at the same time
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snap-confine |
Invalid
|
Critical
|
Unassigned | ||
snap-confine (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
STORY:
Wanted to see if there were a limit to the number of apps you could install and run at once.
STEPS:
1. Flash latest core
2. snap download hello-world
3. sudo unsquashfs hello-world_27.snap
4. sudo chown -R <user:user> sqaushfs-root/
5. (set -e; for i in {1..258}; do sed -i -e "s/^name: hello-world.
6. for i in `find . -name \*.snap`;do sudo snap install --dangerous $i; done
7. for i in {1..258}; do hello-world-$i.sh & done
EXPECTED:
I expect all that snaps to be runable
ACTUAL:
Part way through the mounts nolonger mount and run exiting the mount.
EXAMPLE_ERROR:
Launching a shell inside the default app confinement. Navigate to your
app-specific directories with:
$ cd $SNAP
$ cd $SNAP_DATA
$ cd $SNAP_USER_DATA
cannot acquire exclusive lock for namespace group directorycannot acquire exclusive lock for namespace group directorycannot acquire exclusive lock for namespace group directorycannot acquire exclusive lock for namespace group directorycannot acquire exclusive lock for namespace group directorycannot acquire exclusive lock for namespace group directorycannot acquire exclusive lock for namespace group directorycannot acquire exclusive lock for namespace group directorycannot acquire exclusive lock for namespace group directorycannot acquire exclusive lock for namespace group directorycannot acquire exclusive lock for namespace group directory. errmsg: Interrupted system call
. errmsg: Interrupted system call
. errmsg: Interrupted system call
. errmsg: Interrupted system call
. errmsg: Interrupted system call
. errmsg: Interrupted system call
. errmsg: Interrupted system call
. errmsg: Interrupted system call
. errmsg: Interrupted system call
. errmsg: Interrupted system call
. errmsg: Interrupted system call
Launching a shell inside the default app confinement. Navigate to your
description: | updated |
Changed in snap-confine: | |
status: | New → In Progress |
assignee: | nobody → Zygmunt Krynicki (zyga) |
Changed in snap-confine: | |
milestone: | 2.19 → none |
It seems this bug affects core systems only (this is just a theory) and the solution is to make a few more things unbindable. I'm investigating the cause right now.