!448 [sync] PR-446: change the permission on vhost-net and vhost-vsock to 0660
From: @openeuler-sync-bot Reviewed-by: @overweight Signed-off-by: @overweight
This commit is contained in:
commit
cb84a4d0f7
10
systemd.spec
10
systemd.spec
@ -21,7 +21,7 @@
|
||||
Name: systemd
|
||||
Url: https://www.freedesktop.org/wiki/Software/systemd
|
||||
Version: 249
|
||||
Release: 56
|
||||
Release: 57
|
||||
License: MIT and LGPLv2+ and GPLv2+
|
||||
Summary: System and Service Manager
|
||||
|
||||
@ -844,7 +844,7 @@ Systemd PAM module registers the session with systemd-logind.
|
||||
CONFIGURE_OPTS=(
|
||||
-Dsysvinit-path=/etc/rc.d/init.d
|
||||
-Drc-local=/etc/rc.d/rc.local
|
||||
-Ddev-kvm-mode=0666
|
||||
-Ddev-kvm-mode=0660
|
||||
-Dkmod=true
|
||||
-Dxkbcommon=true
|
||||
-Dblkid=true
|
||||
@ -1307,9 +1307,6 @@ udevadm hwdb --update &>/dev/null
|
||||
grep -q -E '^KEYMAP="?fi-latin[19]"?' /etc/vconsole.conf 2>/dev/null &&
|
||||
sed -i.rpm.bak -r 's/^KEYMAP="?fi-latin[19]"?/KEYMAP="fi"/' /etc/vconsole.conf || :
|
||||
|
||||
if [ -f "/usr/lib/udev/rules.d/50-udev-default.rules" ]; then
|
||||
sed -i 's/KERNEL=="kvm", GROUP="kvm", MODE="0666"/KERNEL=="kvm", GROUP="kvm", MODE="0660"/g' /usr/lib/udev/rules.d/50-udev-default.rules
|
||||
fi
|
||||
%{_bindir}/systemctl daemon-reload &>/dev/null || :
|
||||
|
||||
%preun timesyncd
|
||||
@ -2069,6 +2066,9 @@ fi
|
||||
%{_libdir}/security/pam_systemd.so
|
||||
|
||||
%changelog
|
||||
* Mon Oct 23 2023 zhangyao <zhangyao108@huawei.com> - 249-57
|
||||
- change the permission on vhost-net and vhost-vsock to 0660
|
||||
|
||||
* Mon Oct 9 2023 wangyuhang <wangyuhang27@huawei.com> - 249-56
|
||||
- backport: sync patches from systemd community
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user