Hide Forgot
Description of problem: The firewalld command and gui do not work due to a python syntax error in /usr/sbin/firwalld. Line 128 had "os.mkdir(config.FIREWALLD_TEMPDIR, 0o770)". The "o" is a definite mistake. Secondly, the version of python on F23 does not like the mode argument, so I had to remove it. Version-Release number of selected component (if applicable): firewalld.noarch 0.4.0-2.fc23 How reproducible: dnf install syslog-ng systemctl start firewalld.service systemctl enable vncserver@:1.service cat /var/log/firewalld Steps to Reproduce: dnf install syslog-ng firewall-cmd --permanent --zone=public --add-service vnc-server firewall-cmd --permanent --zone=public --add-port=5900-5906/tcp systemctl start firewalld.service systemctl enable firewalld.service systemctl start vncserver@:1.service systemctl enable vncserver@:1.service cat /var/log/firewalld Actual results: firewalld failed to start. error messages in /var/log/firewalld Expected results: Additional info:
Which python version are you using on F-23? Please have a look at: $ pydoc3 os.mkdir os.mkdir = mkdir(...) mkdir(path, mode=0o777, *, dir_fd=None) Create a directory. If dir_fd is not None, it should be a file descriptor open to a directory, and path should be relative; path will then be relative to that directory. dir_fd may not be implemented on your platform. If it is unavailable, using it will raise a NotImplementedError. The mode argument is ignored on Windows.
Is this still an issue for you? There have been an selinux-policy update also that touches this.