LXC: Cannot create a container with the specific alias "tasks"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxc (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
When trying to launch a container with the specific alias "tasks", it fails to launch.
$ lxc launch d23ee1f4fd28 tasks
Creating tasks
Starting tasks
error: Error calling 'lxd forkstart tasks /var/lib/
Try `lxc info --show-log tasks` for more info
Exit 1
The reason is that in /sys/fs/
Since "tasks" is reserved", lxc fails to continue.
Here are the contents of the directory
$ ls -l /sys/fs/
total 0
drwxrwxr-x 5 root 165536 0 Ιούν 10 12:32 c1
-rw-r--r-- 1 root root 0 Ιούν 10 12:53 cgroup.
-rw-r--r-- 1 root root 0 Ιούν 10 12:53 cgroup.procs
-rw-r--r-- 1 root root 0 Ιούν 10 12:53 notify_on_release
-rw-r--r-- 1 root root 0 Ιούν 10 12:53 tasks
Currently, there is potential conflict with "tasks" only as the other filenames are invalid hostnames (contain dots or underscores).
Presumably in the future there might be more such files.
Among the solutions,
1. the container directories in /sys/fs/
description: | updated |
description: | updated |
affects: | open-iscsi (Ubuntu) → lxd (Ubuntu) |
Changed in lxc (Ubuntu): | |
status: | Triaged → Fix Released |
Moving this one over to the lxc package.
https:/ /github. com/lxc/ lxc/issues/ 1046 upstream.