list index out of range

Bug #1510437 reported by Sebastian Wagner
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
debian-goodies (Debian)
Fix Released
Unknown
debian-goodies (Ubuntu)
Fix Released
Medium
Unassigned
Trusty
Fix Released
Medium
Unassigned

Bug Description

* Impact
checkrestart raises python errors in some cases

* Test case
use checkrestart (on a system with gvfs fuse mounts?)

* Regression potential
verify that the command is working correctly

----------------

# checkrestart
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
      Output information may be incomplete.
Traceback (most recent call last):
  File "/usr/sbin/checkrestart", line 637, in <module>
    main()
  File "/usr/sbin/checkrestart", line 131, in main
    toRestart = lsofcheck(blacklist = blacklist)
  File "/usr/sbin/checkrestart", line 284, in lsofcheck
    process = processes.setdefault(data,Process(int(data)))
  File "/usr/sbin/checkrestart", line 555, in __init__
    m = re.match("^-", data[0])
IndexError: list index out of range

This bug is know upstream and has a patch: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=731386

Alternatively, the new upstream version 0.64 (trusty still has 0.63) fixes this bug.

Revision history for this message
Sebastian Wagner (sebix) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "patch from Felix C. Stegerman (debian bugtracker)" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
tags: added: trusty
Changed in debian-goodies (Ubuntu):
importance: Undecided → Medium
status: New → Fix Released
Changed in debian-goodies (Ubuntu Trusty):
status: New → Triaged
importance: Undecided → Medium
Changed in debian-goodies (Debian):
status: Unknown → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks, I've sponsored the SRU

Changed in debian-goodies (Ubuntu Trusty):
status: Triaged → Fix Committed
description: updated
Revision history for this message
Chris J Arges (arges) wrote : Please test proposed package

Hello Sebastian, or anyone else affected,

Accepted debian-goodies into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/debian-goodies/0.63ubuntu1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: added: verification-needed
Revision history for this message
Sebastian Wagner (sebix) wrote :

I successfully tested 0.63ubuntu1, thanks!

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package debian-goodies - 0.63ubuntu1

---------------
debian-goodies (0.63ubuntu1) trusty; urgency=medium

  * Apply patch provided by Felix C. Stegerman that prevents Python errors
    under some use scenarios (lp: #1510437)

 -- Sebastien Bacher <email address hidden> Tue, 10 Nov 2015 13:57:05 +0100

Changed in debian-goodies (Ubuntu Trusty):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for debian-goodies has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.