- Added TODO (default config)
- Still seems to conflict with PLD vserver kernels.
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
# 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
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