Comment 2 for bug 1900438

Revision history for this message
Benjamin Allot (ballot) wrote : Re: Bcache bypasse writeback on caching device with fragmentation

I tried to run the apport-collect on one of the server we can see the issue on :

Waiting to hear from Launchpad about your decision...

*** Collecting problem information

The collected information can be sent to the developers to improve the
application. This might take a few minutes.
..........dpkg-query: no packages found matching linux
..
Traceback (most recent call last):
  File "/usr/bin/apport-cli", line 370, in <module>
    if not app.run_argv():
  File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 666, in run_argv
    return self.run_update_report()
  File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 564, in run_update_report
    self.report.add_proc_environ()
  File "/usr/lib/python2.7/dist-packages/apport/report.py", line 577, in add_proc_environ
    proc_pid_fd = os.open('/proc/%s' % pid, os.O_RDONLY | os.O_PATH | os.O_DIRECTORY)
AttributeError: 'module' object has no attribute 'O_PATH'
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/apport_python_hook.py", line 109, in apport_excepthook
    pr.add_proc_info(extraenv=['PYTHONPATH', 'PYTHONHOME'])
  File "/usr/lib/python2.7/dist-packages/apport/report.py", line 507, in add_proc_info
    proc_pid_fd = os.open('/proc/%s' % pid, os.O_RDONLY | os.O_PATH | os.O_DIRECTORY)
AttributeError: 'module' object has no attribute 'O_PATH'

But since the bug has already been marked as "Confirmed".