[lxc-devel] [lxc-ci/master] images/debian: Also mask systemd-networkd-wait-online

sayap on Github lxc-bot at linuxcontainers.org
Tue Oct 1 06:07:11 UTC 2019


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 552 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20190930/f2dd152a/attachment.bin>
-------------- next part --------------
From adf3aa3cce6be2edd72e5fec4827fd1fb5652f99 Mon Sep 17 00:00:00 2001
From: Yap Sok Ann <sokann at gmail.com>
Date: Tue, 1 Oct 2019 11:48:23 +0700
Subject: [PATCH] images/debian: Also mask systemd-networkd-wait-online

After fixing the shutdown issue (#4939) by masking systemd-networkd
(c63ceec4), we should also mask the systemd-networkd-wait-online
service, otherwise things that depend on network-online.target may hang
for 2 minutes until the service times out.
---
 images/debian.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/images/debian.yaml b/images/debian.yaml
index 11256ae..c746514 100644
--- a/images/debian.yaml
+++ b/images/debian.yaml
@@ -904,6 +904,7 @@ actions:
       # Disable networkd (unused)
       systemctl mask systemd-networkd.service
       systemctl mask systemd-networkd.socket
+      systemctl mask systemd-networkd-wait-online.service
 
       # Make sure the locale is built and functional
       echo en_US.UTF-8 UTF-8 >> /etc/locale.gen


More information about the lxc-devel mailing list