Commit c4fc068b authored by Martin Pitt's avatar Martin Pitt
Browse files

systemd-logind-launch: Set the #files ulimit

This is necessary for unprivileged LXC containers.
parent c0b19ca0
systemd (204-10) UNRELEASED; urgency=medium
* In the udeb's udev.startup, make sure that /dev/pts exists.
* systemd-logind-launch: Set the #files ulimit, for unprivileged LXC
containers.
-- Martin Pitt <mpitt@debian.org> Sat, 26 Apr 2014 22:28:07 +0200
......
......@@ -9,4 +9,8 @@ if ! mountpoint -q /sys/fs/cgroup/systemd; then
fi
mkdir -p /run/systemd
# necessary for unprivileged LXC containers
ulimit -S -n 16384 || true
ulimit -H -n 16384 || true
exec /lib/systemd/systemd-logind
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment