From 0829444d2e0e687275f30fc23b05ba932f2d215e Mon Sep 17 00:00:00 2001 From: zhangsn Date: Mon, 8 Sep 2025 03:14:50 +0000 Subject: [PATCH] fix lxc container start failed Signed-off-by: zhangsn --- lxc.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/lxc.spec b/lxc.spec index 9cd99db..9b7a922 100644 --- a/lxc.spec +++ b/lxc.spec @@ -1,4 +1,4 @@ -%global _release 17 +%global _release 18 %bcond isulad 1 Name: lxc @@ -40,7 +40,7 @@ Requires: lxc-libs = 5.0.2-%{release} %package libs Summary: Runtime library files for %{name} -Requires: rsync libcap libseccomp libselinux +Requires: rsync libcap libseccomp libselinux dnsmasq Requires(post): systemd Requires(preun): systemd Requires(postun): systemd @@ -150,6 +150,8 @@ rm -rf %{buildroot}%{_sysconfdir}/default/%{name} meson test -C build %post +sed -i 's/USE_LXC_BRIDGE="false"/USE_LXC_BRIDGE="true"/g' /etc/sysconfig/lxc || echo "" +systemctl restart lxc-net %preun @@ -216,6 +218,12 @@ meson test -C build %endif %changelog +* Mon Sep 8 2025 zhangshaoning - 5.0.2-18 +- Type: bugfix +- ID:NA +- SUG:NA +- DESC: fix lxc container start failed + * Mon Nov 25 2024 jikai - 5.0.2-17 - Type: bugfix - ID:NA -- Gitee