!54 安装libvirt*,ping操作提示“sendmsg: Operation not permitted”

From: @lff11111 
Reviewed-by: @gebidelidaye 
Signed-off-by: @gebidelidaye
This commit is contained in:
openeuler-ci-bot 2023-09-15 07:36:33 +00:00 committed by Gitee
commit 9a99897688
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -61,7 +61,7 @@ echo "%{_libdir}/ebtables" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
%post %post
%systemd_post ebtables.service %systemd_post ebtables.service
%?ldconfig /usr/sbin/ldconfig
pfx=%{_sbindir}/ebtables pfx=%{_sbindir}/ebtables
manpfx=%{_mandir}/man8/ebtables manpfx=%{_mandir}/man8/ebtables
for sfx in "" "-restore" "-save"; do for sfx in "" "-restore" "-save"; do
@ -86,7 +86,7 @@ fi
%postun %postun
%systemd_postun_with_restart ebtables.service %systemd_postun_with_restart ebtables.service
%?ldconfig /usr/sbin/ldconfig
if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
%{_sbindir}/update-alternatives --remove \ %{_sbindir}/update-alternatives --remove \
ebtables %{_sbindir}/ebtables-legacy ebtables %{_sbindir}/ebtables-legacy
@ -113,6 +113,12 @@ fi
%doc %{_mandir}/man8/ebtables-legacy.8* %doc %{_mandir}/man8/ebtables-legacy.8*
%changelog %changelog
* Thu Aug 31 2023 lifeifei<lifeifei@kylinos.cn> - 2.0.11-10
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:Fix: if libvirt and ebtables are installed at the same time, ping the operation prompts "sendmsg: Operation not permitted".
* Mon Aug 07 2023 gaihuiying <eaglegai@163.com> - 2.0.11-9 * Mon Aug 07 2023 gaihuiying <eaglegai@163.com> - 2.0.11-9
- Type:bugfix - Type:bugfix
- CVE:NA - CVE:NA