Skip to content

cfg_proxy.patch

Valentin Kuznetsov edited this page May 22, 2017 · 1 revision

cfg_proxy.patch

diff --git a/admin/ProxySeed b/admin/ProxySeed
index d069b2e..98547e1 100755
--- a/admin/ProxySeed
+++ b/admin/ProxySeed
@@ -68,4 +68,4 @@ case $type in
     try myproxy-init $pxparam -R "*/CN=*cms*.cern.ch" -l cmsweb_backends_$me ;;
 esac
 try voms-proxy-init -rfc -voms cms -valid 36:00
-try scp -p /tmp/x509up_u$(id -u) $dest/seed-$me.cert
+#try scp -p /tmp/x509up_u$(id -u) $dest/seed-$me.cert
diff --git a/admin/deploy b/admin/deploy
index 7f3b235..0a60d21 100644
--- a/admin/deploy
+++ b/admin/deploy
@@ -74,5 +74,5 @@ deploy_admin_post()
       ;;
   esac

-  $pxskip || { crontab -l | grep $project_config/ProxyRenew | sed 's|^[0-9*/ ]* ||' | sh -x; }
+  #$pxskip || { crontab -l | grep $project_config/ProxyRenew | sed 's|^[0-9*/ ]* ||' | sh -x; }
 }
diff --git a/system/deploy b/system/deploy
index f2eb4a5..5bd335c 100644
--- a/system/deploy
+++ b/system/deploy
@@ -111,64 +111,64 @@ hostcert_to_system()
 system_groups_and_accounts()
 {
   # Create groups. Add myself to all the groups.
-  for ng in T:100000:_config    F:100001:_empty       T:100002:_sw           \
-            T:100003:_auth      T:100010:_frontend    T:100020:_admin        \
-            T:100021:_base      T:100022:_couchdb     T:100023:_das          \
-            T:100024:_dbs       T:100026:_dqmgui      T:100027:_filemover    \
-            T:100028:_overview  T:100029:_phedex      T:100030:_sitedb       \
-            T:100031:_t0mon     T:100032:_mongodb     T:100033:_reqmgr       \
-            T:100034:_workqueue T:100035:_configcache T:100037:_t0datasvc    \
-            T:100038:_reqmon    T:100039:_crabserver  T:100040:_crabcache    \
-            T:100041:_dmwmmon   T:100042:_an_reqmgr   T:100043:_an_workqueue \
-            T:100044:_an_reqmon T:100045:_t0wmadatasvc T:100046:_dbsmigration\
-            T:100047:_t0_reqmon T:100048:_reqmgr2     T:100049:_acdcserver   \
-            T:100050:_gitweb    T:100051:_bigcouch    T:100052:_victorweb    \
-            T:100053:_popdbweb  T:100054:_dcafpilot   T:100055:_confdb       \
-            T:100056:_wmarchive T:100057:_phedexreplicamonitoring; do
+  for ng in T:111000:_config    F:111001:_empty       T:111002:_sw           \
+            T:111003:_auth      T:111010:_frontend    T:111020:_admin        \
+            T:111021:_base      T:111022:_couchdb     T:111023:_das          \
+            T:111024:_dbs       T:111026:_dqmgui      T:111027:_filemover    \
+            T:111028:_overview  T:111029:_phedex      T:111030:_sitedb       \
+            T:111031:_t0mon     T:111032:_mongodb     T:111033:_reqmgr       \
+            T:111034:_workqueue T:111035:_configcache T:111037:_t0datasvc    \
+            T:111038:_reqmon    T:111039:_crabserver  T:111040:_crabcache    \
+            T:111041:_dmwmmon   T:111042:_an_reqmgr   T:111043:_an_workqueue \
+            T:111044:_an_reqmon T:111045:_t0wmadatasvc T:111046:_dbsmigration\
+            T:111047:_t0_reqmon T:111048:_reqmgr2     T:111049:_acdcserver   \
+            T:111050:_gitweb    T:111051:_bigcouch    T:111052:_victorweb    \
+            T:111053:_popdbweb  T:111054:_dcafpilot   T:111055:_confdb       \
+            T:111056:_wmarchive T:111057:_phedexreplicamonitoring; do
     add_local_group $(echo $ng | tr : " ")
   done

   # Create accounts
-  add_local_user 100001 _empty       ""       "Void"
-  add_local_user 100002 _sw          ,_config "Master"
-  add_local_user 100003 _auth        ,_config "Auth Agent"
-  add_local_user 100010 _frontend    ,_config "Front-End"
-  add_local_user 100020 _admin       ,_config "Admin"
-  add_local_user 100021 _base        ,_config "Base App"
-  add_local_user 100022 _couchdb     ,_config "CouchDB App"
-  add_local_user 100023 _das         ,_config "DAS App"
-  add_local_user 100024 _dbs         ,_config "DBS App"
-  add_local_user 100026 _dqmgui      ,_config "DQM GUI App"
-  add_local_user 100027 _filemover   ,_config "FileMover App"
-  add_local_user 100028 _overview    ,_config "Overview App"
-  add_local_user 100029 _phedex      ,_config "PhEDEx App"
-  add_local_user 100030 _sitedb      ,_config "SiteDB App"
-  add_local_user 100031 _t0mon       ,_config "T0Mon App"
-  add_local_user 100032 _mongodb     ,_config "MongoDB App"
-  add_local_user 100033 _reqmgr      ,_config "ReqMgr App"
-  add_local_user 100034 _workqueue   ,_config "WorkQueue App"
-  add_local_user 100035 _configcache ,_config "ConfigCache App"
-  add_local_user 100037 _t0datasvc   ,_config "T0DataSvc App"
-  add_local_user 100038 _reqmon      ,_config "ReqMon App"
-  add_local_user 100039 _crabserver  ,_config "CRABServer App"
-  add_local_user 100040 _crabcache   ,_config "CRABCache App"
-  add_local_user 100041 _dmwmmon     ,_config "DMWMMon App"
-  add_local_user 100042 _an_reqmgr   ,_config "ReqMgr App for Analysis"
-  add_local_user 100043 _an_workqueue ,_config "WorkQueue App for Analysis"
-  add_local_user 100044 _an_reqmon    ,_config "ReqMon App for Analysis"
-  add_local_user 100045 _t0wmadatasvc ,_config "T0 WMAgent Data Service App"
-  add_local_user 100046 _dbsmigration ,_config "DBS Migration Server"
-  add_local_user 100047 _t0_reqmon    ,_config "ReqMon App for T0"
-  add_local_user 100048 _reqmgr2      ,_config "ReqMgr2 App"
-  add_local_user 100049 _acdcserver   ,_config "ACDC Server App"
-  add_local_user 100050 _gitweb       ,_config "GitWeb App"
-  add_local_user 100051 _bigcouch     ,_config "BigCouch App"
-  add_local_user 100052 _victorweb   ,_config "Victor Cleaner App"
-  add_local_user 100053 _popdbweb    ,_config "CMS Popularity App"
-  add_local_user 100054 _dcafpilot   ,_config "DCAFPilot App"
-  add_local_user 100055 _confdb      ,_config "ConfDB App"
-  add_local_user 100056 _wmarchive   ,_config "WMArchive App"
-  add_local_user 100057 _phedexreplicamonitoring  ,_config "PhedexReplicaMonitoring App"
+  add_local_user 111001 _empty       ""       "Void"
+  add_local_user 111002 _sw          ,_config "Master"
+  add_local_user 111003 _auth        ,_config "Auth Agent"
+  add_local_user 111010 _frontend    ,_config "Front-End"
+  add_local_user 111020 _admin       ,_config "Admin"
+  add_local_user 111021 _base        ,_config "Base App"
+  add_local_user 111022 _couchdb     ,_config "CouchDB App"
+  add_local_user 111023 _das         ,_config "DAS App"
+  add_local_user 111024 _dbs         ,_config "DBS App"
+  add_local_user 111026 _dqmgui      ,_config "DQM GUI App"
+  add_local_user 111027 _filemover   ,_config "FileMover App"
+  add_local_user 111028 _overview    ,_config "Overview App"
+  add_local_user 111029 _phedex      ,_config "PhEDEx App"
+  add_local_user 111030 _sitedb      ,_config "SiteDB App"
+  add_local_user 111031 _t0mon       ,_config "T0Mon App"
+  add_local_user 111032 _mongodb     ,_config "MongoDB App"
+  add_local_user 111033 _reqmgr      ,_config "ReqMgr App"
+  add_local_user 111034 _workqueue   ,_config "WorkQueue App"
+  add_local_user 111035 _configcache ,_config "ConfigCache App"
+  add_local_user 111037 _t0datasvc   ,_config "T0DataSvc App"
+  add_local_user 111038 _reqmon      ,_config "ReqMon App"
+  add_local_user 111039 _crabserver  ,_config "CRABServer App"
+  add_local_user 111040 _crabcache   ,_config "CRABCache App"
+  add_local_user 111041 _dmwmmon     ,_config "DMWMMon App"
+  add_local_user 111042 _an_reqmgr   ,_config "ReqMgr App for Analysis"
+  add_local_user 111043 _an_workqueue ,_config "WorkQueue App for Analysis"
+  add_local_user 111044 _an_reqmon    ,_config "ReqMon App for Analysis"
+  add_local_user 111045 _t0wmadatasvc ,_config "T0 WMAgent Data Service App"
+  add_local_user 111046 _dbsmigration ,_config "DBS Migration Server"
+  add_local_user 111047 _t0_reqmon    ,_config "ReqMon App for T0"
+  add_local_user 111048 _reqmgr2      ,_config "ReqMgr2 App"
+  add_local_user 111049 _acdcserver   ,_config "ACDC Server App"
+  add_local_user 111050 _gitweb       ,_config "GitWeb App"
+  add_local_user 111051 _bigcouch     ,_config "BigCouch App"
+  add_local_user 111052 _victorweb   ,_config "Victor Cleaner App"
+  add_local_user 111053 _popdbweb    ,_config "CMS Popularity App"
+  add_local_user 111054 _dcafpilot   ,_config "DCAFPilot App"
+  add_local_user 111055 _confdb      ,_config "ConfDB App"
+  add_local_user 111056 _wmarchive   ,_config "WMArchive App"
+  add_local_user 111057 _phedexreplicamonitoring  ,_config "PhedexReplicaMonitoring App"

   # Restart nscd to flush account changes. Current account will _not_
   # see these changes before logout/login however, so commands below