<div dir="ltr"><div>LXC 1.1.0:</div>I am getting this error which I fail to fully understand ATM, as I did not dig around code too much yet.<div>If I try to start a container with autodev = 1, it fails to start and results in this error:<br></div><div><br></div><div><div>lxc-start: conf.c: setup_ttydir_console: 1525 Device or resource busy - error unlinking /usr/local/lxc-1.1.0-1/lib/lxc/rootfs/dev/console</div><div><br></div><div>Container I am trying to start is unprivileged, and even if I remove rootfs/dev/console, this issue still persists.</div><div><br></div><div>The code part that is causing error is this, from src/lxc/conf.c:</div><div><div><span class="" style="white-space:pre">    </span>snprintf(path, sizeof(path), "%s/dev/console", rootfs->mount);</div><div><span class="" style="white-space:pre">        </span>ret = unlink(path);</div><div><span class="" style="white-space:pre">        </span>if (ret && errno != ENOENT) {</div><div><span class="" style="white-space:pre">              </span>SYSERROR("error unlinking %s", path);</div><div><span class="" style="white-space:pre">            </span>return -1;</div><div><span class="" style="white-space:pre"> </span>}</div></div><div><br></div><div>Is it possible that autodev=1 option creates symlinks which are owned by actual root, instead of uidmapped root, and thus unlink() of symlink fails?</div><div><br></div><div>b.</div><div><br></div></div></div>