Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We have an extensive set of container config options to do this for us, and doing this unconditionally breaks several use cases. For instance, if we want to bind mount a /dev/shm using the container configuration, then lxc-execute, then lxc-init will rudely unmount the /dev/shm and remount it as a private tmpfs. Signed-off-by: Serge Hallyn <shallyn@cisco.com>
- Loading branch information
Showing
2 changed files
with
0 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -318,8 +318,6 @@ int main(int argc, char *argv[]) | |
} | ||
} | ||
|
||
lxc_setup_fs(); | ||
|
||
remove_self(); | ||
|
||
pid = fork(); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters