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
b5cacc17
Commit
b5cacc17
authored
Jun 07, 2016
by
Christian Brauner
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1043 from stgraber/master
Drop lxc-devsetup as unneeded by current autodev
parents
f01b8bcf
7c76d6b7
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
2 additions
and
33 deletions
+2
-33
Makefile.am
config/init/common/Makefile.am
+2
-2
lxc-devsetup
config/init/common/lxc-devsetup
+0
-25
lxc.service.in
config/init/systemd/lxc.service.in
+0
-1
lxc-containers.in
config/init/sysvinit/lxc-containers.in
+0
-1
lxc.conf.in
config/init/upstart/lxc.conf.in
+0
-3
lxc.spec.in
lxc.spec.in
+0
-1
No files found.
config/init/common/Makefile.am
View file @
b5cacc17
EXTRA_DIST
=
lxc-containers.in lxc-net.in
lxc-devsetup
EXTRA_DIST
=
lxc-containers.in lxc-net.in
pkglibexec_SCRIPTS
=
lxc-containers lxc-net
lxc-devsetup
pkglibexec_SCRIPTS
=
lxc-containers lxc-net
config/init/common/lxc-devsetup
deleted
100755 → 0
View file @
f01b8bcf
#!/bin/sh -
# lxc.devsetup - Setup host /dev for container /dev subdirectories.
if
[
!
-d
/dev/.lxc
]
then
echo
"Creating /dev/.lxc"
mkdir
/dev/.lxc
chmod
755 /dev/.lxc
fi
if
grep
-q
"/dev devtmpfs "
/proc/self/mounts
then
echo
"/dev is devtmpfs"
else
echo
"/dev is not devtmpfs - mounting tmpfs on .lxc"
mount
-t
tmpfs tmpfs /dev/.lxc
fi
if
[
!
-d
/dev/.lxc/user
]
then
echo
"Creating /dev/.lxc/user"
mkdir
/dev/.lxc/user
chmod
1777 /dev/.lxc/user
fi
config/init/systemd/lxc.service.in
View file @
b5cacc17
...
@@ -6,7 +6,6 @@ Wants=lxc-net.service
...
@@ -6,7 +6,6 @@ Wants=lxc-net.service
[Service]
[Service]
Type=oneshot
Type=oneshot
RemainAfterExit=yes
RemainAfterExit=yes
ExecStartPre=@LIBEXECDIR@/lxc/lxc-devsetup
ExecStartPre=@LIBEXECDIR@/lxc/lxc-apparmor-load
ExecStartPre=@LIBEXECDIR@/lxc/lxc-apparmor-load
ExecStart=@LIBEXECDIR@/lxc/lxc-containers start
ExecStart=@LIBEXECDIR@/lxc/lxc-containers start
ExecStop=@LIBEXECDIR@/lxc/lxc-containers stop
ExecStop=@LIBEXECDIR@/lxc/lxc-containers stop
...
...
config/init/sysvinit/lxc-containers.in
View file @
b5cacc17
...
@@ -29,7 +29,6 @@ test ! -r /lib/lsb/init-functions ||
...
@@ -29,7 +29,6 @@ test ! -r /lib/lsb/init-functions ||
start
()
{
start
()
{
# Setup host /dev for autodev containers.
# Setup host /dev for autodev containers.
@LIBEXECDIR@/lxc/lxc-devsetup
log_daemon_msg
"Starting LXC autoboot containers: "
log_daemon_msg
"Starting LXC autoboot containers: "
@LIBEXECDIR@/lxc/lxc-containers start
@LIBEXECDIR@/lxc/lxc-containers start
}
}
...
...
config/init/upstart/lxc.conf.in
View file @
b5cacc17
...
@@ -45,9 +45,6 @@ pre-start script
...
@@ -45,9 +45,6 @@ pre-start script
fi
fi
fi
fi
# Setup host /dev for autodev containers.
@LIBEXECDIR@/lxc/lxc-devsetup
[ "x$LXC_AUTO" = "xtrue" ] || exit 0
[ "x$LXC_AUTO" = "xtrue" ] || exit 0
if [ -n "$BOOTGROUPS" ]
if [ -n "$BOOTGROUPS" ]
...
...
lxc.spec.in
View file @
b5cacc17
...
@@ -276,7 +276,6 @@ fi
...
@@ -276,7 +276,6 @@ fi
%{_libexecdir}/%{name}
%{_libexecdir}/%{name}
%attr(4111,root,root) %{_libexecdir}/%{name}/lxc-user-nic
%attr(4111,root,root) %{_libexecdir}/%{name}/lxc-user-nic
%if %{with_systemd}
%if %{with_systemd}
%attr(555,root,root) %{_libexecdir}/%{name}/lxc-devsetup
%attr(555,root,root) %{_libexecdir}/%{name}/lxc-net
%attr(555,root,root) %{_libexecdir}/%{name}/lxc-net
%attr(555,root,root) %{_libexecdir}/%{name}/lxc-containers
%attr(555,root,root) %{_libexecdir}/%{name}/lxc-containers
%endif
%endif
...
...
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