Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
b7ee866b
Commit
b7ee866b
authored
Jun 09, 2014
by
Stéphane Graber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cgfs: Log the whole cgroup path too
Signed-off-by:
Stéphane Graber
<
stgraber@ubuntu.com
>
Acked-by:
Serge E. Hallyn
<
serge.hallyn@ubuntu.com
>
parent
1a9c040f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
cgfs.c
src/lxc/cgfs.c
+2
-2
No files found.
src/lxc/cgfs.c
View file @
b7ee866b
...
...
@@ -953,7 +953,7 @@ static struct cgroup_process_info *lxc_cgroupfs_create(const char *name, const c
current_entire_path
=
NULL
;
goto
cleanup_name_on_this_level
;
}
else
if
(
r
<
0
&&
errno
!=
EEXIST
)
{
SYSERROR
(
"Could not create cgroup
%s"
,
current_entire_path
);
SYSERROR
(
"Could not create cgroup
'%s' in '%s'."
,
current_entire_path
,
info_ptr
->
designated_mount_point
->
mount_point
);
goto
cleanup_from_error
;
}
else
if
(
r
==
0
)
{
/* successfully created */
...
...
@@ -961,7 +961,7 @@ static struct cgroup_process_info *lxc_cgroupfs_create(const char *name, const c
if
(
r
<
0
)
goto
cleanup_from_error
;
if
(
!
init_cpuset_if_needed
(
info_ptr
->
designated_mount_point
,
current_entire_path
))
{
ERROR
(
"Failed to initialize cpuset
in new '%s'."
,
current_entire_path
);
ERROR
(
"Failed to initialize cpuset
for '%s' in '%s'."
,
current_entire_path
,
info_ptr
->
designated_mount_point
->
mount_point
);
goto
cleanup_from_error
;
}
info_ptr
->
created_paths
[
info_ptr
->
created_paths_count
++
]
=
current_entire_path
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment