[cgmanager-devel] [lxc/cgmanager] 55c818: make sure to remove cgm release agent symlinks
GitHub
noreply at github.com
Tue Oct 13 19:31:57 UTC 2015
Branch: refs/heads/master
Home: https://github.com/lxc/cgmanager
Commit: 55c818b6628a5f5765eeffde92a920a15acc959f
https://github.com/lxc/cgmanager/commit/55c818b6628a5f5765eeffde92a920a15acc959f
Author: Serge Hallyn <serge.hallyn at ubuntu.com>
Date: 2015-10-13 (Tue, 13 Oct 2015)
Changed paths:
M fs.c
Log Message:
-----------
make sure to remove cgm release agent symlinks
When we mov the release agent location, our file_exists() check
may return false even though the link exists; then our next
symlink() will fail because the link exists. So unconditionally
try to remove the link before creating it.
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
More information about the cgmanager-devel
mailing list