run-one lock

Bug #1821807 reported by Markus Zeller
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Manpage Repository
Invalid
Undecided
Unassigned
run-one
New
Undecided
Unassigned
run-one (Ubuntu)
Incomplete
High
Unassigned

Bug Description

It looks like the lock files of the "run-one" command have not been deleted (maybe at reboot?). I was wondering why a cronjob invoked was not running (every 5 minutes) anymore.

Sadly nothing were logged in the syslog (or I did not find it).

After removing it worked like a charm, again.

Revision history for this message
Joshua Powers (powersj) wrote :

Hi Markus, thanks for taking the time to file a bug. This doesn't appear to be a bug against the Ubuntu man page repository, but instead possibly against the run-one command. I've added that task to this bug and marked the manpage repo invalid.

Could you also provide what version of Ubuntu you are using to help the run-one developers debug your issue?

Thanks!

Changed in ubuntu-manpage-repository:
status: New → Invalid
Revision history for this message
Markus Zeller (markuszeller) wrote :

Thank you, Joshua. Yes, I do mean the "run-one" command, not the manpage. Maybe it is not even a "bug", but I sadly faced that problem.

I am using:
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic

Robie Basak (racb)
tags: added: server-triage-discuss
Changed in run-one (Ubuntu):
status: New → Triaged
importance: Undecided → High
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

It does not clean the locks at all (it explicitly re-uses old lock DIRs)

Only if not found it does generate them as
        DIR=$(mktemp -d "/dev/shm/${PROG}_${USER}_XXXXXXXX")
        DIR="${DIR}/.cache/${PROG}"
And from there on continue to use them, but those are actually just directories.

that is tmpfs:
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)

Which implies that it is cleared on reboot (as it is only in memory).
You'll need to outline more what the problem is to understand your problem.

Furthermore the upstream project wasn't touched since 2013, not sure there is too much activity still.

tags: removed: server-triage-discuss
tags: added: server-triage-discuss
Changed in run-one (Ubuntu):
status: Triaged → Incomplete
tags: removed: server-triage-discuss
Robie Basak (racb)
tags: added: server-triage-discuss
tags: removed: server-triage-discuss
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.