Description of problem: I connected to an open wifi with a captive portal. Version-Release number of selected component: dnssec-trigger-0.12-20.fc21 Additional info: reporter: libreport-2.3.0 cmdline: /usr/bin/python3 /usr/libexec/dnssec-trigger-script --restore executable: /usr/libexec/dnssec-trigger-script kernel: 3.19.5-200.fc21.x86_64 runlevel: N 5 type: Python3 uid: 0 Truncated backtrace: subprocess.py:1456:_execute_child:FileNotFoundError: [Errno 2] No such file or directory: '/etc/init.d/NetworkManager' Traceback (most recent call last): File "/usr/libexec/dnssec-trigger-script", line 704, in <module> Application(sys.argv).run() File "/usr/libexec/dnssec-trigger-script", line 459, in run self.method() File "/usr/libexec/dnssec-trigger-script", line 554, in run_restore subprocess.check_call(["/etc/init.d/NetworkManager", "restart"]) File "/usr/lib64/python3.4/subprocess.py", line 556, in check_call retcode = call(*popenargs, **kwargs) File "/usr/lib64/python3.4/subprocess.py", line 537, in call with Popen(*popenargs, **kwargs) as p: File "/usr/lib64/python3.4/subprocess.py", line 858, in __init__ restore_signals, start_new_session) File "/usr/lib64/python3.4/subprocess.py", line 1456, in _execute_child raise child_exception_type(errno_num, err_msg) FileNotFoundError: [Errno 2] No such file or directory: '/etc/init.d/NetworkManager' Local variables in innermost frame: orig_executable: '/etc/init.d/NetworkManager' pass_fds: () hex_errno: bytearray(b'2') startupinfo: None close_fds: True errno_num: 2 env: None cwd: None errwrite: -1 c2pwrite: -1 start_new_session: False restore_signals: True devnull_fd: None errpipe_write: 11 executable_list: (b'/etc/init.d/NetworkManager',) fds_to_keep: {11} child_exec_never_called: False p2cwrite: -1 executable: b'/etc/init.d/NetworkManager' child_exception_type: <class 'OSError'> part: b'' errpipe_read: 10 exception_name: bytearray(b'OSError') args: ['/etc/init.d/NetworkManager', 'restart'] env_list: None creationflags: 0 p2cread: -1 preexec_fn: None errpipe_data: bytearray(b'OSError:2:') self: <subprocess.Popen object at 0x7f4109b6b358> errread: -1 low_fds_to_close: [] c2pread: -1 err_msg: "No such file or directory: '/etc/init.d/NetworkManager'" shell: False
Created attachment 1025725 [details] File: backtrace
Created attachment 1025726 [details] File: environ
*** Bug 1241291 has been marked as a duplicate of this bug. ***
So the issue seems to be that SELinux denies the access to /sys/fs/cgroup/systemd. Please see Bug #1242430
This Should not happen any more on Fedora, since we changed the script to send the NM signal if the NM is new enough. NM is new enough in F22+ so the check that failed will not get executed.