ff7a7fdc31f43272c36b1cfbff5b6613f4198e17 |
|
25-Mar-2017 |
Evgeni Golov <evgeni@debian.org> |
do not set insecure passwords
Signed-off-by: Evgeni Golov <evgeni@debian.org> |
f2b17b4309e6a0bf2a319340576b8c4e3141ae91 |
|
27-Jun-2016 |
KATOH Yasufumi <karma@jazz.email.ne.jp> |
plamo: Improve Plamo template
* configure to start only the minimum of service
* add ntp, kmod to ignore packages
Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp> |
64600fe35505db1c732991ab00a656cb25253eaf |
|
03-Mar-2016 |
KATOH Yasufumi <karma@jazz.email.ne.jp> |
plamo: Update release version and repository for getting packages
Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp> |
da7b32317aa7fa01f8adcba21ce903eb7d6e67ac |
|
30-Jun-2015 |
KATOH Yasufumi <karma@jazz.email.ne.jp> |
plamo: Support LXC_CACHE_PATH
lxc-plamo supports LXC_CACHE_PATH that is introduced at commit 6dc6f80
Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com> |
a61848fe21a883720b3bf078c6ac7c2afe338030 |
|
08-Feb-2015 |
KATOH Yasufumi <karma@jazz.email.ne.jp> |
plamo: Change how to create objects under /dev in the container
lxc-plamo stop:
* creating objects under /dev when creating the container
* removing /dev population process from original rc script
now populate /dev at container boot time, and allow to enable
lxc.autodev=1
Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |
f24a52d5f588ff4e4575046903fb9498c376d833 |
|
29-Jan-2015 |
Stéphane Graber <stgraber@ubuntu.com> |
Use consistent /proc, /sys and /sys/fs/cgroup (v2)
- Implements mixed mode for /sys where it's mounted read-only but with
/sys/devices/virtual/net/ writable.
- Sets lxc.mount.auto to "cgroup:mixed proc:mixed sys:mixed" for all
templates.
- Drop any template-specific mount for /proc, /sys or /sys/fs/cgroup.
- Get rid of the fstab file by default, using lxc.mount.entry instead.
- Set sys:mixed as the default for "sys". sys:mixed is slightly more
permissive than sys:ro so this shouldn't be a problem.
The read-only bind mount of /sys on top of itself is there so that
mountall and other init systems don't attempt to remount /sys
read-write.
v2 changes:
- Fix the mount list, don't specify a source for the remount.
- Update the documentation.
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com> |
6df4f94574b39071b6aa7d3f751100cd1920bfa1 |
|
24-Nov-2014 |
TAMUKI Shoichi <tamuki@linet.gr.jp> |
lxc-plamo: mount tmpfs on /dev/shm
Do mkdir $rootfs/dev/shm and then mount tmpfs on /dev/shm.
Signed-off-by: TAMUKI Shoichi <tamuki@linet.gr.jp>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com> |
d0348408b5fa226bf7f8031c6abf2d5d2a28ba33 |
|
19-Sep-2014 |
TAMUKI Shoichi <tamuki@linet.gr.jp> |
lxc-plamo: keep original uid/gid of files/dirs when installing
Regardless of whether "installpkg" command exists or not, install the
command temporarily with static linked tar command into the lxc cache
directory to keep the original uid/gid of files/directories. Also,
use sed command instead of ed command for simplicity.
Signed-off-by: TAMUKI Shoichi <tamuki@linet.gr.jp>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |
ea00a202cde59a23daba00b64ec92fb9a748327a |
|
19-Aug-2014 |
TAMUKI Shoichi <tamuki@linet.gr.jp> |
Update plamo template
- If "installpkg" command does not exist, lxc-plamo temporarily
install the command with static linked tar command into the lxc
cache directory. The tar command does not refer to passwd/group
files, which means that only a few files/directories are extracted
with wrong user/group ownership. To avoid this, the installpkg
command now uses the standard tar command in the system.
- Change mode to 666 for $rootfs/dev/null to allow write access for
all users.
- Small fix in usage message.
Signed-off-by: TAMUKI Shoichi <tamuki@linet.gr.jp>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: KATOH Yasufumi <karma@jazz.email.ne.jp> |
aadd458215c973af5c54c249482948e8e95b3edf |
|
03-Jun-2014 |
TAMUKI Shoichi <tamuki@linet.gr.jp> |
lxc-plamo: fix for configuring network interface
Fix configure_plamo so as not to configure wireless network interface
in containers even if the host uses wireless network interface.
Signed-off-by: TAMUKI Shoichi <tamuki@linet.gr.jp>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |
96283b546081e7ff709968378fca25cb44f1ab6c |
|
19-Feb-2014 |
Stéphane Graber <stgraber@ubuntu.com> |
templates: Fix bashisms in common code
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com> |
ffeb76b4607be4b241db01ab65989d37b4529c97 |
|
10-Feb-2014 |
TAMUKI Shoichi <tamuki@linet.gr.jp> |
lxc-plamo: various small changes
- Change redirection of fd 200 to 9 (greater than 9 may conflict with
fd the shell uses internally)
- Replace numeric line addressing of ed to regular expression to avoid
correcting the line addressing at each modification of init scripts
- Correct the option order (trivial)
Signed-off-by: TAMUKI Shoichi <tamuki@linet.gr.jp>
Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com> |
207bf0e475f1dc6e9a2dac2cee3a209b56427855 |
|
06-Feb-2014 |
Stéphane Graber <stgraber@ubuntu.com> |
templates: Make sure usual locations are in PATH
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com> |
c63c04fcaf1c3a78c70500eae253d72fa9c8358a |
|
06-Feb-2014 |
TAMUKI Shoichi <tamuki@linet.gr.jp> |
templates: improve refusing to run unprivileged
For all templates except lxc-ubuntu-cloud and lxc-download, detect not
only --mapped-uid but also --mapped-gid and error out. Detecting will
not be done after -- parameter because of non-option parameters.
Also, change the mode of lxc-archlinux.in 100755 to 100644.
Signed-off-by: TAMUKI Shoichi <tamuki@linet.gr.jp>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |
8ec981fc8b0105da5f071e40811e0c2472a6c3c9 |
|
04-Feb-2014 |
Stéphane Graber <stgraber@ubuntu.com> |
templates: Refuse to run unprivileged
Only the download and ubuntu-cloud templates work with unprivileged
containers, for all others, detect --mapped-uid and error out as early
as possible, recommending the use of the download template.
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge Hallyn <serge.hallyn@ubuntu.com> |
8c3a756ed4cf22f9fdab5f95d067321e6ddcc425 |
|
23-Jan-2014 |
KATOH Yasufumi <karma@jazz.email.ne.jp> |
plamo: Improve template
allow not to specify a variable that is related installed packages
Signed-off-by: TAMUKI Shoichi <tamuki@linet.gr.jp>
Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |
adf4b4083369a8bb7ed3c2ce3dd85dcaed7323c4 |
|
21-Jan-2014 |
KATOH Yasufumi <karma@jazz.email.ne.jp> |
plamo: Improve template
Allow to specify additional packages
Signed-off-by: TAMUKI Shoichi <tamuki@linet.gr.jp>
Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |
7a49a081dd1d4f92e3c82df344709e3206457e46 |
|
18-Jan-2014 |
KATOH Yasufumi <karma@jazz.email.ne.jp> |
plamo: Improve template
* make simple
* change default download site to http://ftp.ring.gr.jp
Signed-off-by: TAMUKI Shoichi <tamuki@linet.gr.jp>
Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |
8adef7614d4340b4ee44a4441fadd530f48515ed |
|
15-Jan-2014 |
KATOH Yasufumi <karma@jazz.email.ne.jp> |
plamo: Update template to use wget when download packages
Signed-off-by: TAMUKI Shoichi <tamuki@linet.gr.jp>
Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |
bf3e09c00eab82850782ad6ec74e4403d84ae866 |
|
13-Jan-2014 |
KATOH Yasufumi <karma@jazz.email.ne.jp> |
plamo: Update template to use lxc.include and add plamo.common.conf
Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com> |
420dfb599b22b8e39e6e51437d17213d4f778735 |
|
03-Jan-2014 |
Dwight Engen <dwight.engen@oracle.com> |
add lxc-autostart support for sysv init systems
This change updates the way init scripts get installed so that more
than one init system can be supported. Instead of installing the
systemd service file from the spec file, it should be installed at
make install time, so that someone compiling from source also gets
the unit file installed.
Update the plamo template to use a lock file not named just
/var/lock/subsys/lxc since the presence of that file is used by
sysv init rc file to know if it should run the K01lxc script. This
also makes it consistent with the other templates which use
/var/lock/subsys/lxc-$template-name.
Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com> |
db821c3a4168c9c1072a433340e6009892e26cf2 |
|
25-Dec-2013 |
KATOH Yasufumi <karma@jazz.email.ne.jp> |
plamo: Improve template for lxc-stop
patch /etc/inittab in plamo container to shutdown when it receives SIGPWR.
(By default, plamo shutdowns to single user mode after 5minutes)
Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |
41e8e807c8e85289bb717a365056b9437555e25a |
|
22-Dec-2013 |
KATOH Yasufumi <karma@jazz.email.ne.jp> |
plamo: Update template since rc script of plamo was updated
Signed-off-by: TAMUKI Shoichi <tamuki@linet.gr.jp>
Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |
0dc296145715c36795ad0ad561f115afdd758223 |
|
11-Dec-2013 |
KATOH Yasufumi <karma@jazz.email.ne.jp> |
plamo: Update because rc script of plamo was updated
Signed-off-by: TAMUKI Shoichi <tamuki@linet.gr.jp>
Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |
853d58fdf5af0960b7b6edc9dea0fadddb8535f1 |
|
25-Nov-2013 |
Elan Ruusamäe <glen@delfi.ee> |
use awk, instead of 'grep | awk'
Signed-off-by: Elan Ruusamäe <glen@delfi.ee>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |
a1e4c206d5373b8ecd7906bff37f2601d65f022c |
|
24-Oct-2013 |
KATOH Yasufumi <karma@jazz.email.ne.jp> |
template: Fix the container configuration issue in lxc-plamo
Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |
92cbfdaf682dca9cf60243f23c2e911181bfc7ab |
|
10-Oct-2013 |
KATOH Yasufumi <karma@jazz.email.ne.jp> |
template: Improved lxc-plamo template
lxc-plamo now work with any distribution other than Plamo Linux.
Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
Signed-off-by: TAMUKI Shoichi <tamuki@linet.gr.jp>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |
cab79123082bef9ba265c9c8b9176b8b8afedd64 |
|
10-Oct-2013 |
KATOH Yasufumi <karma@jazz.email.ne.jp> |
template: Add Plamo Linux template
This template allows to create Plamo Linux container on Plamo
Linux. Plamo Linux is Japanese distribution, which is originally based
on Slackware Linux.
Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
Signed-off-by: TAMUKI Shoichi <tamuki@linet.gr.jp>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |