[Bug 1737867] Re: apport crashes with FileNotFoundError in is_same_ns
Brian Murray
brian at ubuntu.com
Wed Dec 13 17:37:48 UTC 2017
*** This bug is a duplicate of bug 1733366 ***
https://bugs.launchpad.net/bugs/1733366
Here's the full traceback:
Traceback (most recent call last):
File "/usr/share/apport/apport", line 380, in <module>
if not is_same_ns(host_pid, "pid") and not is_same_ns(host_pid, "mnt"):
File "/usr/share/apport/apport", line 305, in is_same_ns
if os.readlink('/proc/%s/ns/%s' % (pid, ns)) == os.readlink('/proc/self/ns/%s' % ns):
FileNotFoundError: [Errno 2] No such file or directory: '/proc/3558/ns/pid'
I've already committed this fix upstream and I linked the fix to another
bug so will mark this as a duplicate of that one.
** This bug has been marked a duplicate of bug 1733366
apport crashed with FileNotFoundError in is_container_pid(): [Errno 2] No such file or directory: '/proc/11102/ns/pid'
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1737867
Title:
apport crashes with FileNotFoundError in is_same_ns
Status in Apport:
New
Status in apport package in Ubuntu:
New
Bug description:
The Ubuntu Error Tracker has been receiving reports about a problem regarding apport. This problem was most recently seen with package version 2.20.8-0ubuntu3, the problem page at https://errors.ubuntu.com/problem/b6b178fe6ed572189dbfe2627876ed9e9d59ace2 contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.
To manage notifications about this bug go to:
https://bugs.launchpad.net/apport/+bug/1737867/+subscriptions
More information about the foundations-bugs
mailing list