[Touch-packages] [Bug 1733366] Re: apport crashed with FileNotFoundError in is_container_pid(): [Errno 2] No such file or directory: '/proc/11102/ns/pid'

2018-05-14 Thread Launchpad Bug Tracker
This bug was fixed in the package apport - 2.14.1-0ubuntu3.28 --- apport (2.14.1-0ubuntu3.28) trusty-security; urgency=medium * REGRESSION UPDATE: Fix regression that caused a Traceback in the container support (LP: #1733366) - data/apport: add a second os.path.exists check

[Touch-packages] [Bug 1733366] Re: apport crashed with FileNotFoundError in is_container_pid(): [Errno 2] No such file or directory: '/proc/11102/ns/pid'

2018-05-11 Thread Steve Beattie
I've uploaded the trusty apport package to the ubuntu-security-proposed ppa (https://launchpad.net/~ubuntu-security- proposed/+archive/ubuntu/ppa/) for testing, and will likely release this next week. Any feedback is appreciated. Thanks! -- You received this bug notification because you are a

[Touch-packages] [Bug 1733366] Re: apport crashed with FileNotFoundError in is_container_pid(): [Errno 2] No such file or directory: '/proc/11102/ns/pid'

2018-05-04 Thread Steve Beattie
Thanks, Brian, reviewing now. ** Changed in: apport (Ubuntu Trusty) Assignee: Brian Murray (brian-murray) => Steve Beattie (sbeattie) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu.

[Touch-packages] [Bug 1733366] Re: apport crashed with FileNotFoundError in is_container_pid(): [Errno 2] No such file or directory: '/proc/11102/ns/pid'

2018-04-20 Thread Brian Murray
This could use fixing for Trusty too. https://errors.ubuntu.com/problem/385d2e8ecf335dc2cdd7216506bbf2b6e6b8751c -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu. https://bugs.launchpad.net/bugs/1733366

[Touch-packages] [Bug 1733366] Re: apport crashed with FileNotFoundError in is_container_pid(): [Errno 2] No such file or directory: '/proc/11102/ns/pid'

2018-04-20 Thread Brian Murray
The function was slightly in Trusty but the attached debdiff should fix the crash seen in the Error Tracker. ** Also affects: apport (Ubuntu Trusty) Importance: Undecided Status: New ** Changed in: apport (Ubuntu Trusty) Status: New => In Progress ** Changed in: apport (Ubuntu

[Touch-packages] [Bug 1733366] Re: apport crashed with FileNotFoundError in is_container_pid(): [Errno 2] No such file or directory: '/proc/11102/ns/pid'

2018-02-15 Thread Francis Ginther
** Tags added: id-5a317b0ea645498eaf5dcb39 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu. https://bugs.launchpad.net/bugs/1733366 Title: apport crashed with FileNotFoundError in is_container_pid():

[Touch-packages] [Bug 1733366] Re: apport crashed with FileNotFoundError in is_container_pid(): [Errno 2] No such file or directory: '/proc/11102/ns/pid'

2018-01-03 Thread Launchpad Bug Tracker
This bug was fixed in the package apport - 2.20.7-0ubuntu3.7 --- apport (2.20.7-0ubuntu3.7) artful-security; urgency=medium * REGRESSION UPDATE: Fix regression that caused a Traceback in the container support (LP: #1733366) - data/apport: add a second os.path.exists check

[Touch-packages] [Bug 1733366] Re: apport crashed with FileNotFoundError in is_container_pid(): [Errno 2] No such file or directory: '/proc/11102/ns/pid'

2018-01-03 Thread Launchpad Bug Tracker
This bug was fixed in the package apport - 2.20.1-0ubuntu2.15 --- apport (2.20.1-0ubuntu2.15) xenial-security; urgency=medium * REGRESSION UPDATE: Fix regression that caused a Traceback in the container support (LP: #1733366) - data/apport: add a second os.path.exists check

[Touch-packages] [Bug 1733366] Re: apport crashed with FileNotFoundError in is_container_pid(): [Errno 2] No such file or directory: '/proc/11102/ns/pid'

2018-01-03 Thread Launchpad Bug Tracker
This bug was fixed in the package apport - 2.20.4-0ubuntu4.10 --- apport (2.20.4-0ubuntu4.10) zesty-security; urgency=medium * REGRESSION UPDATE: Fix regression that caused a Traceback in the container support (LP: #1733366) - data/apport: add a second os.path.exists check

[Touch-packages] [Bug 1733366] Re: apport crashed with FileNotFoundError in is_container_pid(): [Errno 2] No such file or directory: '/proc/11102/ns/pid'

2018-01-02 Thread Daniel van Vugt
** Description changed: + https://errors.ubuntu.com/problem/b6b178fe6ed572189dbfe2627876ed9e9d59ace2 + + --- + It appears that after login this was the first action performed by the system which resulted in the generation of the crash report. ProblemType: Crash DistroRelease: Ubuntu

[Touch-packages] [Bug 1733366] Re: apport crashed with FileNotFoundError in is_container_pid(): [Errno 2] No such file or directory: '/proc/11102/ns/pid'

2018-01-02 Thread Brian Murray
Ah, yes it should return True. Thanks for catching that! To be absolutely clear: 311 except OSError as e: 312 if e.errno == errno.ENOENT: 313 return True -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed

[Touch-packages] [Bug 1733366] Re: apport crashed with FileNotFoundError in is_container_pid(): [Errno 2] No such file or directory: '/proc/11102/ns/pid'

2018-01-02 Thread Tyler Hicks
Thanks for the updated debdiffs! They look pretty good to me but I'm wondering if was intentional that True is returned when the "not os.path.exists()" checks are true but the exception handler returns False when os.readlink() throws an errno.ENOENT OSError exception? IIUC, both situations occur

[Touch-packages] [Bug 1733366] Re: apport crashed with FileNotFoundError in is_container_pid(): [Errno 2] No such file or directory: '/proc/11102/ns/pid'

2018-01-02 Thread Tyler Hicks
** Changed in: apport (Ubuntu Artful) Assignee: Canonical Security Team (canonical-security) => (unassigned) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu. https://bugs.launchpad.net/bugs/1733366

[Touch-packages] [Bug 1733366] Re: apport crashed with FileNotFoundError in is_container_pid(): [Errno 2] No such file or directory: '/proc/11102/ns/pid'

2017-12-15 Thread Brian Murray
Here's a zesty debdiff. ** Patch added: "bug-1733366-zesty.debdiff" https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1733366/+attachment/5023242/+files/bug-1733366-zesty.debdiff -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is

[Touch-packages] [Bug 1733366] Re: apport crashed with FileNotFoundError in is_container_pid(): [Errno 2] No such file or directory: '/proc/11102/ns/pid'

2017-12-15 Thread Brian Murray
And the xenial one. ** Patch added: "bug-1733366-xenial.debdiff" https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1733366/+attachment/5023243/+files/bug-1733366-xenial.debdiff -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is

[Touch-packages] [Bug 1733366] Re: apport crashed with FileNotFoundError in is_container_pid(): [Errno 2] No such file or directory: '/proc/11102/ns/pid'

2017-12-15 Thread Brian Murray
Here's an improved artful debdiff taking into account Seth's comments. ** Patch removed: "bug-1733366-artful.debdiff" https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1733366/+attachment/5022276/+files/bug-1733366-artful.debdiff ** Patch removed: "bug-1733366-zesty.debdiff"

[Touch-packages] [Bug 1733366] Re: apport crashed with FileNotFoundError in is_container_pid(): [Errno 2] No such file or directory: '/proc/11102/ns/pid'

2017-12-14 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: apport (Ubuntu Artful) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu.

[Touch-packages] [Bug 1733366] Re: apport crashed with FileNotFoundError in is_container_pid(): [Errno 2] No such file or directory: '/proc/11102/ns/pid'

2017-12-14 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: apport (Ubuntu Zesty) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu.

[Touch-packages] [Bug 1733366] Re: apport crashed with FileNotFoundError in is_container_pid(): [Errno 2] No such file or directory: '/proc/11102/ns/pid'

2017-12-14 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: apport (Ubuntu Xenial) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu.

[Touch-packages] [Bug 1733366] Re: apport crashed with FileNotFoundError in is_container_pid(): [Errno 2] No such file or directory: '/proc/11102/ns/pid'

2017-12-13 Thread Launchpad Bug Tracker
This bug was fixed in the package apport - 2.20.8-0ubuntu4 --- apport (2.20.8-0ubuntu4) bionic; urgency=medium * data/apport: add a second os.path.exists check to ensure we do not receive a Traceback in is_container_id(). (LP: #1733366) -- Brian Murray

[Touch-packages] [Bug 1733366] Re: apport crashed with FileNotFoundError in is_container_pid(): [Errno 2] No such file or directory: '/proc/11102/ns/pid'

2017-12-13 Thread Seth Arnold
To clarify, I think these patches may reduce the number of reports in the error tracker; but to eliminate the reports, the exception needs to be handled. Thanks -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in

[Touch-packages] [Bug 1733366] Re: apport crashed with FileNotFoundError in is_container_pid(): [Errno 2] No such file or directory: '/proc/11102/ns/pid'

2017-12-13 Thread Seth Arnold
Note that these fixes are susceptible to a race condition; better would handle the exception from Python. Probably returning 'false' is the right option in that case. (Assuming that's the case that then does less processing.) Thanks -- You received this bug notification because you are a member

[Touch-packages] [Bug 1733366] Re: apport crashed with FileNotFoundError in is_container_pid(): [Errno 2] No such file or directory: '/proc/11102/ns/pid'

2017-12-13 Thread Ubuntu Foundations Team Bug Bot
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu. https://bugs.launchpad.net/bugs/1733366 Title: apport crashed with FileNotFoundError in is_container_pid(): [Errno 2] No such file or

[Touch-packages] [Bug 1733366] Re: apport crashed with FileNotFoundError in is_container_pid(): [Errno 2] No such file or directory: '/proc/11102/ns/pid'

2017-12-13 Thread Brian Murray
zesty fix ** Patch added: "bug-1733366-zesty.debdiff" https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1733366/+attachment/5022277/+files/bug-1733366-zesty.debdiff -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to

[Touch-packages] [Bug 1733366] Re: apport crashed with FileNotFoundError in is_container_pid(): [Errno 2] No such file or directory: '/proc/11102/ns/pid'

2017-12-13 Thread Brian Murray
xenial fix ** Patch added: "bug-1733366-xenial.debdiff" https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1733366/+attachment/5022278/+files/bug-1733366-xenial.debdiff -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to

[Touch-packages] [Bug 1733366] Re: apport crashed with FileNotFoundError in is_container_pid(): [Errno 2] No such file or directory: '/proc/11102/ns/pid'

2017-12-13 Thread Brian Murray
artful fix ** Changed in: apport (Ubuntu Bionic) Status: Triaged => In Progress ** Changed in: apport (Ubuntu Bionic) Assignee: (unassigned) => Brian Murray (brian-murray) ** Changed in: apport (Ubuntu Artful) Assignee: (unassigned) => Canonical Security Team

[Touch-packages] [Bug 1733366] Re: apport crashed with FileNotFoundError in is_container_pid(): [Errno 2] No such file or directory: '/proc/11102/ns/pid'

2017-12-13 Thread Brian Murray
The updates for this fix will need to go through security since many people are getting the package from there. ** Also affects: apport (Ubuntu Artful) Importance: Undecided Status: New ** Also affects: apport (Ubuntu Xenial) Importance: Undecided Status: New ** Also

[Touch-packages] [Bug 1733366] Re: apport crashed with FileNotFoundError in is_container_pid(): [Errno 2] No such file or directory: '/proc/11102/ns/pid'

2017-12-13 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-core-dev/ubuntu/bionic/apport/ubuntu -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu. https://bugs.launchpad.net/bugs/1733366 Title: apport crashed with FileNotFoundError in

[Touch-packages] [Bug 1733366] Re: apport crashed with FileNotFoundError in is_container_pid(): [Errno 2] No such file or directory: '/proc/11102/ns/pid'

2017-12-13 Thread Brian Murray
There is an errors bucket for this: https://errors.ubuntu.com/problem/b6b178fe6ed572189dbfe2627876ed9e9d59ace2 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu. https://bugs.launchpad.net/bugs/1733366 Title:

[Touch-packages] [Bug 1733366] Re: apport crashed with FileNotFoundError in is_container_pid(): [Errno 2] No such file or directory: '/proc/11102/ns/pid'

2017-12-12 Thread Mike Hardy
I see the same thing on Ubuntu 16.04 / apport 2.20.1-0ubuntu2.14 - same apport command line (except a different PID number), same error number and everything. Looks like 'is_same_ns' is blindly doing an os.readlink on a path that it assumes must exist (because it does no defensive check) but the

[Touch-packages] [Bug 1733366] Re: apport crashed with FileNotFoundError in is_container_pid(): [Errno 2] No such file or directory: '/proc/11102/ns/pid'

2017-12-07 Thread Launchpad Bug Tracker
** Branch linked: lp:apport -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu. https://bugs.launchpad.net/bugs/1733366 Title: apport crashed with FileNotFoundError in is_container_pid(): [Errno 2] No such

[Touch-packages] [Bug 1733366] Re: apport crashed with FileNotFoundError in is_container_pid(): [Errno 2] No such file or directory: '/proc/11102/ns/pid'

2017-12-07 Thread Brian Murray
** Also affects: apport Importance: Undecided Status: New ** Tags removed: rls-bb-incoming ** Also affects: apport (Ubuntu Bionic) Importance: Medium Status: New ** Changed in: apport (Ubuntu Bionic) Status: New => Triaged ** Information type changed from Private to