mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
When changing multiple booleans with setsebool, pass each of them separately.
Fixes SELinux configuration for ipa-server-install with selinux-policy 3.10.0-104.fc17.
This commit is contained in:
parent
2d460003b9
commit
f6077c46b3
@ -129,8 +129,10 @@ class HTTPInstance(service.Service):
|
||||
# together so it is speedier.
|
||||
if vars:
|
||||
bools = [var + "=true" for var in vars]
|
||||
args = ["/usr/sbin/setsebool", "-P"]
|
||||
args.extend(bools);
|
||||
try:
|
||||
ipautil.run(["/usr/sbin/setsebool", "-P", ' '.join(bools)])
|
||||
ipautil.run(args)
|
||||
except:
|
||||
self.print_msg(selinux_warning % dict(var=','.join(vars)))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user