applied, with the Delegate option change in a follow up patch On Thu, Feb 02, 2017 at 11:21:39AM +0100, Wolfgang Bumiller wrote: > --- > debian/patches/series | 1 + > debian/patches/use-forking-systemd-service.patch | 34 > ++++++++++++++++++++++++ > 2 files changed, 35 insertions(+) > create mode 100644 debian/patches/use-forking-systemd-service.patch > > diff --git a/debian/patches/series b/debian/patches/series > index 9150df0..35ec401 100644 > --- a/debian/patches/series > +++ b/debian/patches/series > @@ -1,5 +1,6 @@ > fix-systemd-service-depends.patch > remove-systemd-delegate-flag.patch > +use-forking-systemd-service.patch > run-lxcnetaddbr.patch > deny-rw-mounting-of-sys-and-proc.patch > 0001-separate-the-limiting-from-the-namespaced-cgroup-roo.patch > diff --git a/debian/patches/use-forking-systemd-service.patch > b/debian/patches/use-forking-systemd-service.patch > new file mode 100644 > index 0000000..881c842 > --- /dev/null > +++ b/debian/patches/use-forking-systemd-service.patch > @@ -0,0 +1,34 @@ > +From ba028c2a3f73eec5e45842cc742a20471ee0d921 Mon Sep 17 00:00:00 2001 > +From: Wolfgang Bumiller <w.bumil...@proxmox.com> > +Date: Thu, 2 Feb 2017 11:15:22 +0100 > +Subject: [PATCH] init: systemd: use forking mode in lxc@.service > + > +To avoid dumping the entire console outputs into the > +logs > + > +Signed-off-by: Wolfgang Bumiller <w.bumil...@proxmox.com> > +--- > + config/init/systemd/l...@.service.in | 4 ++-- > + 1 file changed, 2 insertions(+), 2 deletions(-) > + > +diff --git a/config/init/systemd/l...@.service.in > b/config/init/systemd/l...@.service.in > +index 44d11e8..52c6a27 100644 > +--- a/config/init/systemd/l...@.service.in > ++++ b/config/init/systemd/l...@.service.in > +@@ -6,11 +6,11 @@ Wants=lxc.service > + Documentation=man:lxc-start man:lxc > + > + [Service] > +-Type=simple > ++Type=forking > + KillMode=mixed > + KillSignal=SIGPWR > + TimeoutStopSec=120s > +-ExecStart=@BINDIR@/lxc-start -F -n %i > ++ExecStart=@BINDIR@/lxc-start -n %i > + # Environment=BOOTUP=serial > + # Environment=CONSOLETYPE=serial > + Delegate=yes > +-- > +2.1.4 > + > -- > 2.1.4
_______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel