~ubuntu-branches/ubuntu/utopic/gridengine/utopic

« back to all changes in this revision

Viewing changes to source/daemons/qmaster/sge_c_gdi.c

  • Committer: Bazaar Package Importer
  • Author(s): Mark Hymers
  • Date: 2008-11-27 23:17:37 UTC
  • Revision ID: james.westby@ubuntu.com-20081127231737-v1mrvbkmz1ttn4km
Tags: 6.2-3
* Fix the default configuration file to use full path names.
  Closes: #501972, #497855.
* Make gridengine-exec Depend: on c-shell | tcsh.  Closes: #497839.
* Add symlink farm to /var/lib/gridengine to allow for programs
  which rely on $SGE_ROOT/bin and $SGE_ROOT/utilbin.  Closes: #502000.
* Apply JG-2008-11-10-0 from upstream in order to fix a qmaster
  deadlock.
* Move qrsh_starter to gridengine-exec instead of gridengine-master.
  Closes: #501976.
* Remove linux32 from Build-Depends as it's now in util-linux.
* Ensure we don't fail in gridengine-common postinst when the sgeadmin user
  already exists.

Show diffs side-by-side

added added

removed removed

Lines of Context:
987
987
            if (!host_list_locate(*object_base[SGE_TYPE_ADMINHOST].list, packet->host)) {
988
988
               ERROR((SGE_EVENT, MSG_SGETEXT_NOADMINHOST_S, packet->host));
989
989
               answer_list_add(&(task->answer_list), SGE_EVENT, STATUS_EDENIED2HOST, ANSWER_QUALITY_ERROR);
990
 
               SGE_UNLOCK(LOCK_GLOBAL, LOCK_WRITE);
991
 
               DEXIT;
992
 
               return;
 
990
               DRETURN_VOID;
993
991
            }
994
992
      
995
993
            if (SGE_EXECHOST_LIST == target) {
1253
1251
   DENTER(GDI_LAYER, "trigger_scheduler_monitoring");
1254
1252
 
1255
1253
   if (!manop_is_manager(packet->user)) {
1256
 
      SGE_UNLOCK(LOCK_GLOBAL, LOCK_READ);
1257
1254
      WARNING((SGE_EVENT, MSG_COM_NOSCHEDMONPERMS));
1258
1255
      answer_list_add(&(task->answer_list), SGE_EVENT, STATUS_ENOMGR, ANSWER_QUALITY_WARNING);
1259
1256
      DEXIT;
1399
1396
      if (!manop_is_manager(user)) {
1400
1397
         ERROR((SGE_EVENT, MSG_SGETEXT_MUSTBEMANAGER_S, user));
1401
1398
         answer_list_add(alpp, SGE_EVENT, STATUS_ENOMGR, ANSWER_QUALITY_ERROR);
1402
 
         SGE_UNLOCK(LOCK_GLOBAL, LOCK_READ);
1403
 
         DEXIT;
1404
 
         return 1;
 
1399
         DRETURN(1);
1405
1400
      }
1406
1401
      break;
1407
1402