diff options
Diffstat (limited to 'ipaserver/install/httpinstance.py')
-rw-r--r-- | ipaserver/install/httpinstance.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ipaserver/install/httpinstance.py b/ipaserver/install/httpinstance.py index 60d5604c3..e46d4ed5a 100644 --- a/ipaserver/install/httpinstance.py +++ b/ipaserver/install/httpinstance.py @@ -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))) |