Comment 2 for bug 147237

Revision history for this message
Daniel Hahler (blueyed) wrote :

Setting this to confirmed.
The code from /bin/apport in question is:
    # create a lock file
    lockfile = os.path.join(apport.fileutils.report_dir, '.lock')
    try:
        fd = os.open(lockfile, os.O_WRONLY|os.O_CREAT|os.O_NOFOLLOW)
    except OSError, e:
        error_log('cannot create lock file (uid %i): ' % os.getuid() + e.message)
        raise

I think this exception should not get raised, because there might be just another user locking apport.