diff --git a/tigervnc.changes b/tigervnc.changes index 7512845..e376553 100644 --- a/tigervnc.changes +++ b/tigervnc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 24 09:16:59 UTC 2018 - msrb@suse.com + +- Reload firewalld files after installation. + ------------------------------------------------------------------- Wed Apr 11 09:48:51 UTC 2018 - jengelh@inai.de diff --git a/tigervnc.spec b/tigervnc.spec index 98a4731..021087e 100644 --- a/tigervnc.spec +++ b/tigervnc.spec @@ -154,6 +154,9 @@ Requires(post): /usr/sbin/useradd Requires(post): /usr/sbin/groupadd Requires(post): /bin/awk Requires(post): systemd +%if %{use_firewalld} +Requires(post): firewall-macros +%endif # Needed to generate certificates Requires: openssl Requires: windowmanager @@ -366,6 +369,10 @@ usermod -G shadow -a %{vncuser} || : %post -n xorg-x11-Xvnc %service_add_post xvnc.socket +%if %{use_firewalld} +%{firewalld_reload} +%endif + # If there is old xinetd configuration file and VNC service was enabled, enable the systemd service too. # Once we are done, RPM will rename the file to /etc/xinetd.d/vnc.rpmsave, so this won't happen # during future updates.