Bug 1050837 - [abrt] yum-updatesd: subprocess.py:1308:_execute_child:OSError: [Errno 2] No such file or directory
Summary: [abrt] yum-updatesd: subprocess.py:1308:_execute_child:OSError: [Errno 2] No ...
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: yum-updatesd
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: James Antill
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:a1d02c0dfe1558f2e7678baed61...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-09 08:14 UTC by Juraci Paixão Kröhling
Modified: 2015-02-20 17:36 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-20 17:36:26 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.99 KB, text/plain)
2014-01-09 08:14 UTC, Juraci Paixão Kröhling
no flags Details
File: environ (72 bytes, text/plain)
2014-01-09 08:14 UTC, Juraci Paixão Kröhling
no flags Details

Description Juraci Paixão Kröhling 2014-01-09 08:14:12 UTC
Description of problem:
Nothing specific, just installed yum-updatesd. From time to time, I see an ABRT about it. 

Version-Release number of selected component:
yum-updatesd-0.9-15.fc20

Additional info:
reporter:       libreport-2.1.10
cmdline:        /usr/bin/python -tt /usr/libexec/yum-updatesd-helper --check --dbus --email --email-from=root --email-to=root --smtp-server=localhost:25 --sendmail --syslog --syslog-level=WARN --syslog-facility=DAEMON --syslog-ident=yum-updatesd
dso_list:       python-libs-2.7.5-9.fc20.x86_64
executable:     /usr/libexec/yum-updatesd-helper
kernel:         3.12.5-302.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
subprocess.py:1308:_execute_child:OSError: [Errno 2] No such file or directory

Traceback (most recent call last):
  File "/usr/libexec/yum-updatesd-helper", line 660, in <module>
    main()
  File "/usr/libexec/yum-updatesd-helper", line 635, in main
    updd.emitAvailable()
  File "/usr/libexec/yum-updatesd-helper", line 540, in emitAvailable
    map(lambda x: x.updatesAvailable(self.updateInfo), self.emitters)
  File "/usr/libexec/yum-updatesd-helper", line 540, in <lambda>
    map(lambda x: x.updatesAvailable(self.updateInfo), self.emitters)
  File "/usr/libexec/yum-updatesd-helper", line 207, in updatesAvailable
    self._sendMessage("%d Updates Available" % num, output)
  File "/usr/libexec/yum-updatesd-helper", line 179, in _sendMessage
    p = subprocess.Popen(("/usr/sbin/sendmail", "-t"), stdin=subprocess.PIPE)
  File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__
    errread, errwrite)
  File "/usr/lib64/python2.7/subprocess.py", line 1308, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

Local variables in innermost frame:
errread: None
c2pread: None
gc_was_enabled: True
errwrite: None
shell: False
errpipe_write: 25
executable: '/usr/sbin/sendmail'
close_fds: False
self: <subprocess.Popen object at 0x6f29c50>
env: None
cwd: None
child_exception: OSError(2, 'No such file or directory')
args: ['/usr/sbin/sendmail', '-t']
c2pwrite: None
data: 'cexceptions\nOSError\np0\n(I2\nS\'No such file or directory\'\np1\ntp2\nRp3\n(dp4\nS\'child_traceback\'\np5\nS\'Traceback (most recent call last):\\n  File "/usr/lib64/python2.7/subprocess.py", line 1263, in _execute_child\\n    os.execvp(executable, args)\\n  File "/usr/lib64/python2.7/os.py", line 344, in execvp\\n    _execvpe(file, args)\\n  File "/usr/lib64/python2.7/os.py", line 368, in _execvpe\\n    func(file, *argrest)\\nOSError: [Errno 2] No such file or directory\\n\'\np6\nsb.'
creationflags: 0
errpipe_read: 24
preexec_fn: None
p2cread: 22
startupinfo: None
p2cwrite: 23
universal_newlines: False

Comment 1 Juraci Paixão Kröhling 2014-01-09 08:14:18 UTC
Created attachment 847521 [details]
File: backtrace

Comment 2 Juraci Paixão Kröhling 2014-01-09 08:14:20 UTC
Created attachment 847522 [details]
File: environ

Comment 3 Juraci Paixão Kröhling 2015-02-20 17:36:26 UTC
I don't see this anymore, so, it was somehow fixed.


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