Bug 1241291 - [abrt] dnssec-trigger: subprocess.py:1456:_execute_child:FileNotFoundError: [Errno 2] No such file or directory: '/etc/init.d/NetworkManager'
Summary: [abrt] dnssec-trigger: subprocess.py:1456:_execute_child:FileNotFoundError: [...
Keywords:
Status: CLOSED DUPLICATE of bug 1221939
Alias: None
Product: Fedora
Classification: Fedora
Component: dnssec-trigger
Version: 22
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomáš Hozza
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:fd65fc7d471bc8727905bd48dbf...
Depends On:
Blocks: Default_Local_DNS_Resolver
TreeView+ depends on / blocked
 
Reported: 2015-07-08 23:03 UTC by Mike Brady
Modified: 2015-07-10 22:16 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-07-10 09:59:50 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.93 KB, text/plain)
2015-07-08 23:03 UTC, Mike Brady
no flags Details
File: environ (83 bytes, text/plain)
2015-07-08 23:03 UTC, Mike Brady
no flags Details

Description Mike Brady 2015-07-08 23:03:08 UTC
Version-Release number of selected component:
dnssec-trigger-0.12-20.fc22

Additional info:
reporter:       libreport-2.6.0
cmdline:        /usr/bin/python3 /usr/libexec/dnssec-trigger-script --cleanup
executable:     /usr/libexec/dnssec-trigger-script
kernel:         4.0.6-300.fc22.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 567, in run_cleanup
    self.run_restore()
  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:
restore_signals: True
start_new_session: False
p2cread: -1
errread: -1
child_exception_type: <class 'OSError'>
self: <subprocess.Popen object at 0x7f6047e25d30>
close_fds: True
c2pwrite: -1
hex_errno: bytearray(b'2')
devnull_fd: None
low_fds_to_close: []
creationflags: 0
pass_fds: ()
env: None
preexec_fn: None
p2cwrite: -1
orig_executable: '/etc/init.d/NetworkManager'
child_exec_never_called: False
args: ['/etc/init.d/NetworkManager', 'restart']
env_list: None
shell: False
errwrite: -1
errpipe_write: 8
c2pread: -1
executable_list: (b'/etc/init.d/NetworkManager',)
executable: b'/etc/init.d/NetworkManager'
part: b''
fds_to_keep: {8}
errpipe_read: 7
cwd: None
exception_name: bytearray(b'OSError')
errno_num: 2
errpipe_data: bytearray(b'OSError:2:')
err_msg: "No such file or directory: '/etc/init.d/NetworkManager'"
startupinfo: None

Potential duplicate: bug 1221939

Comment 1 Mike Brady 2015-07-08 23:03:11 UTC
Created attachment 1050035 [details]
File: backtrace

Comment 2 Mike Brady 2015-07-08 23:03:13 UTC
Created attachment 1050036 [details]
File: environ

Comment 3 Tomáš Hozza 2015-07-10 09:58:35 UTC
Hi.

Thanks for the report.

Do you use systemd? Do you use NetworkManager?

Thanks in advance.

Comment 4 Tomáš Hozza 2015-07-10 09:59:50 UTC

*** This bug has been marked as a duplicate of bug 1221939 ***

Comment 5 Mike Brady 2015-07-10 22:16:45 UTC
Yes to both systemd and NetworkManager.


Note You need to log in before you can comment on or make changes to this bug.