Commit 50020cb
bind all files/paths needed for host condor config (#36)
* bind all files/paths needed for host condor config
* remove unneeded line
* turn off -e after installation
* define CONDOR_CONFIG globally
* bind a fake python3 script
* add top-level .condor_config file that includes lpc global condor config.
it disables use of the local config file specified by /usr/local/bin/cmslpc-local-conf.py;
cmslpc-local-conf still runs, but the attribute it adds (location of local config file) will now be ignored by condor.
this avoids "ERROR: Can't read config source" from condor commands (because the /storage area has wrong ownership inside the container)
the local config file is not actually created until the custom /usr/local/bin/condor_submit is used, and it is never used here.
* hide fake python3
* don't actually need to bind /storage anymore
* keep existing bindpath values
* fake cmslpc-local-conf.py instead of fake python3
* further simplification: just suppress unwanted output from cmslpc-local-conf
* Guard against misisng env var
* Better user instructions for updating
---------
Co-authored-by: Nick Smith <nick.smith@cern.ch>1 parent 2f4f325 commit 50020cb
2 files changed
+18
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
3 | 6 | | |
4 | 7 | | |
5 | 8 | | |
| |||
18 | 21 | | |
19 | 22 | | |
20 | 23 | | |
21 | | - | |
22 | | - | |
23 | | - | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
30 | 36 | | |
31 | 37 | | |
32 | 38 | | |
| |||
40 | 46 | | |
41 | 47 | | |
42 | 48 | | |
| 49 | + | |
43 | 50 | | |
44 | 51 | | |
| 52 | + | |
45 | 53 | | |
46 | 54 | | |
47 | 55 | | |
| |||
54 | 62 | | |
55 | 63 | | |
56 | 64 | | |
57 | | - | |
| 65 | + | |
58 | 66 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
| |||
0 commit comments