Am 02.07.19 um 11:29 schrieb Nicolas Quiniou-Briand:
`libvirtd.fact` on host contains:
#v+
for group in unix_groups:
if group.gr_name == 'libvirt':
output['unix_sock_group'] = 'libvirt'
elif group.gr_name == 'libvirtd':
output['unix_sock_group'] = 'libvirtd'
#v-
This mean that `libvirtd` group will always take precedence over
`libvirt` group if both are present. I'm not sure this is an expected
behavior.
Not quite correct, but even worse: It depends on the order of groups in
"unix_groups": The one occurring later takes precedence. If
"unix_groups" is a dict, the behavior is unpredictable, since the order
of elements in a dict is (intentionally) unpredictable.
--
Regards
Hartmut Goebel
| Hartmut Goebel | h.goebel(a)crazy-compilers.com |
|
www.crazy-compilers.com | compilers which you thought are impossible |