mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-08 12:41:29 +00:00
remote: add sysusers file to create 'libvirt' group
We previously added a sysusers file, but missed the 'libvirt' group. This group is referenced in the polkit rules, so we should be registering that too. It must be done in a separate sysusers file, however, since it is common to all daemons. Fixes: a2c3e390f7bedf36f4ddc544d09fe3b8772c5c6f Reviewed-by: Jiri Denemark <jdenemar@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
1e88b8983c
commit
18f0160994
@ -2110,6 +2110,7 @@ exit 0
|
||||
%{_datadir}/polkit-1/actions/org.libvirt.unix.policy
|
||||
%{_datadir}/polkit-1/actions/org.libvirt.api.policy
|
||||
%{_datadir}/polkit-1/rules.d/50-libvirt.rules
|
||||
%{_sysusersdir}/libvirt.conf
|
||||
%dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/
|
||||
%attr(0755, root, root) %{_libexecdir}/libvirt_iohelper
|
||||
%attr(0755, root, root) %{_bindir}/virt-ssh-helper
|
||||
|
1
src/remote/libvirt.sysusers.conf
Normal file
1
src/remote/libvirt.sysusers.conf
Normal file
@ -0,0 +1 @@
|
||||
g libvirt -
|
@ -310,6 +310,13 @@ if conf.has('WITH_REMOTE')
|
||||
)
|
||||
endif
|
||||
|
||||
# Install the sysuser config for the daemon polkit rules
|
||||
install_data(
|
||||
'libvirt.sysusers.conf',
|
||||
install_dir: sysusersdir,
|
||||
rename: [ 'libvirt.conf' ],
|
||||
)
|
||||
|
||||
virt_helpers += {
|
||||
'name': 'virt-ssh-helper',
|
||||
'sources': [
|
||||
|
Loading…
x
Reference in New Issue
Block a user