[lxc-devel] [lxc/lxc] 234191: Avoid double lxc-freeze/unfreeze
GitHub
noreply at github.com
Sat Jan 26 23:26:02 UTC 2019
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 2341916a0367130d5a084a89884c15c3a835a4b4
https://github.com/lxc/lxc/commit/2341916a0367130d5a084a89884c15c3a835a4b4
Author: Rachid Koucha <47061324+Rachid-Koucha at users.noreply.github.com>
Date: 2019-01-26 (Sat, 26 Jan 2019)
Changed paths:
M src/lxc/lxccontainer.c
Log Message:
-----------
Avoid double lxc-freeze/unfreeze
If we call lxc-freeze multiple times for an already frozen container, LXC
triggers useless freezing by writing into the "freezer.state" cgroup file.
This is the same when we call lxc-unfreeze multiple times.
Checking the current state with a LXC_CMD_GET_STATE
(calling c->state) would permit to check if the container is FROZEN
or not.
Signed-off-by: Rachid Koucha <rachid.koucha at gmail.com>
Commit: f87c3a226be31ab06a96991a33e5e7845dc840be
https://github.com/lxc/lxc/commit/f87c3a226be31ab06a96991a33e5e7845dc840be
Author: Christian Brauner <christian at brauner.io>
Date: 2019-01-27 (Sun, 27 Jan 2019)
Changed paths:
M src/lxc/lxccontainer.c
Log Message:
-----------
Merge pull request #2802 from Rachid-Koucha/patch-3
Avoid double lxc-freeze/unfreeze
Compare: https://github.com/lxc/lxc/compare/81f22990c768...f87c3a226be3
**NOTE:** GitHub Services has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
We will provide an alternative path for the email notifications by January 31st, 2019.
More information about the lxc-devel
mailing list