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
d696d21c
Commit
d696d21c
authored
Apr 20, 2012
by
Frederic Crozat
Committed by
Serge Hallyn
Feb 28, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shutdown fixes for openSUSE container
- mount /run on tmpfs outside container - replace /var/run bind mount on /run by a symlink Signed-off-by:
Serge Hallyn
<
serge.hallyn@ubuntu.com
>
parent
ba4c4259
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
lxc-opensuse.in
templates/lxc-opensuse.in
+5
-0
No files found.
templates/lxc-opensuse.in
View file @
d696d21c
...
...
@@ -188,6 +188,10 @@ EOF
# create mtab symlink
rm
-f
$cache
/partial-
$arch
/etc/mtab
ln
-sf
/proc/self/mounts
$cache
/partial-
$arch
/etc/mtab
# ensure /var/run and /run are symlinked
rm
-fr
$cache
/partial-
$arch
/var/run
ln
-s
-f
../run
$cache
/partial-
$arch
/var/run
if
[
$?
-ne
0
]
;
then
echo
"Failed to download the rootfs, aborting."
return
1
...
...
@@ -290,6 +294,7 @@ EOF
cat
<<
EOF
>
$path
/fstab
proc proc proc nodev,noexec,nosuid 0 0
sysfs sys sysfs defaults 0 0
tmpfs run tmpfs mode=0755,nodev,nosuid 0 0
EOF
if
[
$?
-ne
0
]
;
then
...
...
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