Project

General

Profile

  • svn:executable: *

# Date Author Comment
11970 01/20/2014 11:33 AM Aaron Marcuse-Kubitza

moved everything into /trunk/ to create the standard svn layout, for use with tools that require this (eg. git-svn). IMPORTANT: do NOT do an `svn up`. instead, re-use your working copy's existing files with `svn switch` (http://svnbook.red-bean.com/en/1.6/svn.ref.svn.c.switch.html).

7430 02/02/2013 04:37 PM Aaron Marcuse-Kubitza

lockfile: Linux: Documented why newgrp and recursive invocation of lockfile are needed

7429 02/02/2013 04:33 PM Aaron Marcuse-Kubitza

lockfile: Linux: Fixed bug where need to change primary group of the dotlockfile process to the group of the dir to contain the lockfile, because dotlockfile otherwise reports a "permission denied" error (even though the directory is actually writable, dotlockfile thinks it isn't). Running dotlockfile with a different primary group is complicated because newgrp, the command that does this, does not pass arguments to the new process, so they must instead be passed via environment variables and a recursive invocation of lockfile (with the $inner recursion flag set). Additionally, exec cannot be used to propagate the PPID (needed by dotlockfile) because newgrp creates a new process rather than using exec, so it must be manually entered into the lockfile after dotlockfile runs.

7428 02/02/2013 02:41 PM Aaron Marcuse-Kubitza

lockfile: Linux: Fixed bug where need to lower retry count to avoid overflowing the retries variable

7427 02/02/2013 02:37 PM Aaron Marcuse-Kubitza

lockfile: Linux: Added workaround for bug in dotlockfile where using -1 to retry indefinitely doesn't work, so need to use large integer instead

7426 02/02/2013 01:49 PM Aaron Marcuse-Kubitza

lockfile: Linux: Use bin/dotlockfile instead of the system's dotlockfile, because the system's dotlockfile is SETGID mail, which prevents it from creating lockfiles in a directory owned by the bien user and group when being run by the login user

7262 01/16/2013 02:15 PM Aaron Marcuse-Kubitza

waitpid, lockfile: Changed $interval default to 5s to work with smaller imports, where less waiting is needed

7260 01/16/2013 02:11 PM Aaron Marcuse-Kubitza

bin/lockfile: Include the PID in the lockfile to avoid the need to manually remove lockfiles. On Mac, this requires using shlock instead of lockfile.

7259 01/16/2013 01:35 PM Aaron Marcuse-Kubitza

Added bin/lockfile