Comment 3 for bug 137567

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

This debdiff makes apport use /var/lock/apport as a lockfile instead.
It also makes it exit with code 1 in case the lockfile could not get created (bug 147237).

I've also added a "/bin/rm -f /var/lock/apport" to the init script, in case apport gets restarted.

In fact, the lockfile would not have to be moved to /var/lock: deleting it in the init script's "start" action would be enough. But it seems like having lockfiles in /var/lock sounds reasonable.