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
91b70523
Unverified
Commit
91b70523
authored
Sep 13, 2017
by
Christian Brauner
Committed by
Stéphane Graber
Sep 24, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
start: pass LXC_LOG_LEVEL to hooks
Signed-off-by:
Christian Brauner
<
christian.brauner@ubuntu.com
>
parent
0223037c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
start.c
src/lxc/start.c
+3
-0
No files found.
src/lxc/start.c
View file @
91b70523
...
@@ -631,6 +631,9 @@ int lxc_init(const char *name, struct lxc_handler *handler)
...
@@ -631,6 +631,9 @@ int lxc_init(const char *name, struct lxc_handler *handler)
if
(
setenv
(
"LXC_CGNS_AWARE"
,
"1"
,
1
))
if
(
setenv
(
"LXC_CGNS_AWARE"
,
"1"
,
1
))
SYSERROR
(
"Failed to set environment variable LXC_CGNS_AWARE=1."
);
SYSERROR
(
"Failed to set environment variable LXC_CGNS_AWARE=1."
);
if
(
setenv
(
"LXC_LOG_LEVEL"
,
lxc_log_priority_to_string
(
handler
->
conf
->
loglevel
),
1
))
SYSERROR
(
"Failed to set environment variable LXC_CGNS_AWARE=1."
);
/* End of environment variable setup for hooks. */
/* End of environment variable setup for hooks. */
TRACE
(
"set environment variables"
);
TRACE
(
"set environment variables"
);
...
...
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