chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
service: consider a process exiting with SIGTERM a clean exit
[elogind.git]
/
cgroup.c
diff --git
a/cgroup.c
b/cgroup.c
index 410eaf7e80da44a7c243b7ca6511a2b5e348a8f4..301fc949dada5c8fa590ee90723cc7b7716ba9a3 100644
(file)
--- a/
cgroup.c
+++ b/
cgroup.c
@@
-183,8
+183,6
@@
int cgroup_bonding_kill(CGroupBonding *b, int sig) {
if (!(s = set_new(trivial_hash_func, trivial_compare_func)))
return -ENOMEM;
if (!(s = set_new(trivial_hash_func, trivial_compare_func)))
return -ENOMEM;
- log_debug("Killing processes from process group %s:%s with %s", b->controller, b->path, strsignal(sig));
-
do {
void *iterator;
pid_t pid;
do {
void *iterator;
pid_t pid;
@@
-458,22
+456,22
@@
int manager_setup_cgroup(Manager *m) {
}
}
}
}
- log_
info
("Using cgroup controller <%s>, hierarchy mounted at <%s>, using root group <%s>.",
- m->cgroup_controller,
- mp,
- m->cgroup_hierarchy);
+ log_
debug
("Using cgroup controller <%s>, hierarchy mounted at <%s>, using root group <%s>.",
+
m->cgroup_controller,
+
mp,
+
m->cgroup_hierarchy);
if ((r = install_release_agent(m, mp)) < 0)
log_warning("Failed to install release agent, ignoring: %s", strerror(-r));
else
if ((r = install_release_agent(m, mp)) < 0)
log_warning("Failed to install release agent, ignoring: %s", strerror(-r));
else
- log_
info
("Installed release agent, or already installed.");
+ log_
debug
("Installed release agent, or already installed.");
free(mp);
if ((r = create_hierarchy_cgroup(m)) < 0)
log_error("Failed to create root cgroup hierarchy: %s", strerror(-r));
else
free(mp);
if ((r = create_hierarchy_cgroup(m)) < 0)
log_error("Failed to create root cgroup hierarchy: %s", strerror(-r));
else
- log_
info
("Created root group.");
+ log_
debug
("Created root group.");
return r;
}
return r;
}