Bug 7101 - dhcp-config.sh is unreliable on shared filesystem
: dhcp-config.sh is unreliable on shared filesystem
Status: RESOLVED FIXED
: Nimbus
Workspace control
: 2.5
: PC All
: P3 normal
: 2.5
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2010-09-13 16:27 by
Modified: 2010-10-08 11:04 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2010-09-13 16:27:10
We often configure workspace-control to be on a shared filesystem, with some
directories using a symlink to a local directory (var/w-c/lock, secureimages,
etc). This works pretty well. dhcp-config.sh uses the directory the script runs
in, usually /opt/nimbus/libexec/workspace-control/, to create it's lockfile. 

This should be changed to use /var/lock/, like the ebtables scripts.

A full transcript of what this bug looks like is at:
http://pastie.org/1156684.txt
------- Comment #1 From 2010-10-08 11:04:50 -------
Addressed in these commits:

http://github.com/nimbusproject/nimbus/compare/b999ce4...f6ee7aea9