Bug 1050837

Summary: [abrt] yum-updatesd: subprocess.py:1308:_execute_child:OSError: [Errno 2] No such file or directory
Product: [Fedora] Fedora Reporter: Juraci Paixão Kröhling <jcosta>
Component: yum-updatesdAssignee: James Antill <james.antill>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: gregor, james.antill, katzj
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/145c5716f98a9887fbbc99123f3e1690e33a6bb1
Whiteboard: abrt_hash:a1d02c0dfe1558f2e7678baed61335cc9c290db8
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-20 17:36:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: environ none

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.