[packages/lxc] - Release 1. - Added TODO (default config) - Still seems to conflict with PLD vserver kernels.

matkor matkor at pld-linux.org
Fri Feb 19 15:15:09 CET 2016


commit 63d035e93c6b93ab8e2c8e637b799b5a002368d1
Author: Mateusz Korniak <matkor at pld-linux.org>
Date:   Fri Feb 19 15:13:06 2016 +0100

    - Release 1.
    - Added TODO (default config)
    - Still seems to conflict with PLD vserver kernels.

 lxc-pld.in.sh | 3 +++
 lxc.spec      | 7 ++++++-
 2 files changed, 9 insertions(+), 1 deletion(-)
---
diff --git a/lxc.spec b/lxc.spec
index 108b40d..63c3bc0 100644
--- a/lxc.spec
+++ b/lxc.spec
@@ -1,5 +1,10 @@
 # TODO
 # - package apparmor stuff
+# - update (cut down, include /usr/share/lxc/config/common.conf) default pld container config 
+# NOTE:
+# - does not work properly (dead symlink /proc/self) with PLD kernel 4.1.13 
+#   but seems to work on 4.3.3, vserver issue ?
+#   
 
 # Conditional build:
 %bcond_without	seccomp		# SecComp syscall filter
@@ -13,7 +18,7 @@ Summary:	Linux Containers userspace tools
 Summary(pl.UTF-8):	Narzędzia do kontenerów linuksowych (LXC)
 Name:		lxc
 Version:	1.1.5
-Release:	0.1
+Release:	1
 License:	LGPL v2.1+
 Group:		Applications/System
 Source0:	https://linuxcontainers.org/downloads/lxc/%{name}-%{version}.tar.gz
diff --git a/lxc-pld.in.sh b/lxc-pld.in.sh
index d8d30ab..ca4a6de 100755
--- a/lxc-pld.in.sh
+++ b/lxc-pld.in.sh
@@ -225,9 +225,12 @@ copy_configuration()
 	mkdir -p $config_path
 	grep -q "^lxc.rootfs" $config_path/config 2>/dev/null || echo "lxc.rootfs = $rootfs_path" >> $config_path/config
 	cat <<EOF >> $config_path/config
+# Most of below settings should be taken as defaults  from
+# lxc.include = /usr/share/lxc/config/common.conf
 lxc.utsname = $utsname
 lxc.tty = 4
 lxc.pts = 1024
+# Consider if below line is right for systemd container
 lxc.mount = $config_path/fstab
 lxc.cap.drop = sys_module mac_admin mac_override sys_time
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lxc.git/commitdiff/63d035e93c6b93ab8e2c8e637b799b5a002368d1



More information about the pld-cvs-commit mailing list