Bug#840529: systemd-sysctl.service does not run in LXC containers

Christian Hofstaedtler zeha at debian.org
Wed Oct 12 14:26:10 BST 2016


Package: systemd
Version: 215-17+deb8u5
Severity: normal
Tags: upstream

Hi,

systemd-sysctl.service does not start in LXC containters, as they
have /proc/sys R/O. *BUT* /proc/sys/net is R/W.

It'd be useful if the net-specific settings would still be applied at
boot.

Arch has "fixed" this in their lxc package by modifying
systemd-sysctl.service when creating a new container, but this can
not be the correct solution.
See https://github.com/lxc/lxc/pull/683/commits/427d42930d99f93bf78c61ec9f555dd883c5039e

Thanks,
C.


-- Package-specific info:

-- System Information:
Debian Release: 8.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)



More information about the Pkg-systemd-maintainers mailing list