change the permission on vhost-net and vhost-vsock to 0660
(cherry picked from commit 8364ef56fdb58476c54966233498acde2ff0d96b)
This commit is contained in:
parent
5b048ad87f
commit
fd2ea78b1f
10
systemd.spec
10
systemd.spec
@ -21,7 +21,7 @@
|
|||||||
Name: systemd
|
Name: systemd
|
||||||
Url: https://www.freedesktop.org/wiki/Software/systemd
|
Url: https://www.freedesktop.org/wiki/Software/systemd
|
||||||
Version: 249
|
Version: 249
|
||||||
Release: 56
|
Release: 57
|
||||||
License: MIT and LGPLv2+ and GPLv2+
|
License: MIT and LGPLv2+ and GPLv2+
|
||||||
Summary: System and Service Manager
|
Summary: System and Service Manager
|
||||||
|
|
||||||
@ -844,7 +844,7 @@ Systemd PAM module registers the session with systemd-logind.
|
|||||||
CONFIGURE_OPTS=(
|
CONFIGURE_OPTS=(
|
||||||
-Dsysvinit-path=/etc/rc.d/init.d
|
-Dsysvinit-path=/etc/rc.d/init.d
|
||||||
-Drc-local=/etc/rc.d/rc.local
|
-Drc-local=/etc/rc.d/rc.local
|
||||||
-Ddev-kvm-mode=0666
|
-Ddev-kvm-mode=0660
|
||||||
-Dkmod=true
|
-Dkmod=true
|
||||||
-Dxkbcommon=true
|
-Dxkbcommon=true
|
||||||
-Dblkid=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 &&
|
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 || :
|
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 || :
|
%{_bindir}/systemctl daemon-reload &>/dev/null || :
|
||||||
|
|
||||||
%preun timesyncd
|
%preun timesyncd
|
||||||
@ -2069,6 +2066,9 @@ fi
|
|||||||
%{_libdir}/security/pam_systemd.so
|
%{_libdir}/security/pam_systemd.so
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Oct 9 2023 wangyuhang <wangyuhang27@huawei.com> - 249-56
|
||||||
- backport: sync patches from systemd community
|
- backport: sync patches from systemd community
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user