[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference smurf::buildhelp

Title:USG buildhelp questions/answers
Moderator:SMURF::FILTER
Created:Mon Apr 26 1993
Last Modified:Mon Jan 20 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2763
Total number of notes:5802

2521.0. "v32de1 link broken for /usr/sbin/cron" by AOSG::FILTER (Automatic Posting Software - mail to flume::puck) Fri Aug 30 1996 15:41

Date Of Receipt: 	30-AUG-1996 11:38:20.72
From: 	KAMLIA::useg_prc "USEG_PRC Review  30-Aug-1996 1136"
To: 	useg_reng@DEC:.zko.kamlia
CC: 	useg_prc@DEC:.zko.kamlia, odehelp@DEC:.zko.kamlia, kimr@DEC:.zko.kamlia
Subj: 	v32de1 link broken for /usr/sbin/cron

How do we determine whether this should be backed out to fix the link?
It should have been submitted to v32c, then fallen through.

The srequest was done by Dave Smith (from NJ) and bsubmitted before
useg_submit approval.   The bsubmit confusion was probably due to
an approval from Kamrul Islam (cmds_submit) that stated:

	cmds_submit approves v32de1supportos-59-dsmith
	please wait 24 hrs before submitting

- Kathy Wolfson
=========================================================================
     _/_/_/_   _/_/_/_/ _/_/_/_/  |
    _/     _/ _/       _/         |  
   _/     _/ _/_/_/   _/          |  Digital UNIX Release Engineering Group
  _/     _/ _/       _/           |  Srequest approval and Patch release
 _/_/_/_/  _/_/_/_/ _/_/_/_/      |
				  |
 Digital Equipment Corporation 	  |  useg_prc@zk3.dec.com, DTN 381-6108
				  |
 =========================================================================

------- Forwarded Message

Return-Path: useg_prc
Received: from localhost by kamlia.zk3.dec.com; 
(5.65v3.2/1.1.8.2/05Mar96-0145PM)
	id AA28422; Thu, 22 Aug 1996 17:48:15 -0400
Message-Id: <9608222148.AA28422@kamlia.zk3.dec.com>
To: dsmith@unx.dec.com
Cc: useg_prc, useg_fs, wolklin
Subject: RESEND: PENDING v32de1supportos-59-dsmith 
Date: Thu, 22 Aug 96 17:48:14 -0400
From: useg_prc
X-Mts: smtp


Dave -

You'll need to do an srequest -update to incorporate the changes needed.

NOTE: 	Srequest v32de1supportos-59-dsmith was still in the review process, but
 	you did the bsubmit yesterday.  You need to wait for approval from the
 	useg release engineering reviewers BEFORE you do a bsubmit.

Please forward a draft of your changes to the documentation reviewer, Tom 
Wolklin (wolklin@zk3.dec.com), to get his approval before you do the actual 
update.

1.  Rework the announcement summary and problem description.
    - The announcement summary should include the line about this
      being a problem on multi-processor machines.
    - Include what effects the user would see when the problem occurs.
      (error message, hang, slow response, etc.)
    - remove "CLD X-CHECK" from the PROBLEM line.
	
   example (may not be technically correct):
	
   Announcement Summary
	Multi-processor systems may hang when the "at" command is executed.


   PROBLEM:  ( QAR 47149, UVO104578CBR ) (Patch ID: <Ignore this> )

	Multi-processor systems may hang when the "at" command is executed.
	This occurs when the number of jobs started by the 'at' command 
        in addition to other jobs running on the system exceed the 
        queue limit.  This patch fixes that problem. 

2.  Complete section 2a (support pools that will have this fix)

     Does this fix need to be in any pools other than v32de1supportos?
     If it will be inherited by v32de2, v32f, or v32g, mark an "f"
     in the brackets next to those pools.  Is it applicable to any
     previous pools or v40?



=========================================================================
     _/_/_/_   _/_/_/_/ _/_/_/_/  |
    _/     _/ _/       _/         |  
   _/     _/ _/_/_/   _/          |  Digital UNIX Release Engineering Group
  _/     _/ _/       _/           |  Srequest approval and Patch release
 _/_/_/_/  _/_/_/_/ _/_/_/_/      |
				  |
 Digital Equipment Corporation 	  |  useg_prc@zk3.dec.com, DTN 381-6108
				  |
 =========================================================================

- ------- Forwarded Message

Forwarded: Tue, 20 Aug 96 16:38:01 -0400
Forwarded: dams seg_prc
Return-Path: root@secret.zk3.dec.com
Received: from mudrat.zk3.dec.com by kamlia.zk3.dec.com; 
(5.65v3.2/1.1.8.2/05Mar96-0145PM)
	id AA28936; Mon, 19 Aug 1996 09:08:03 -0400
Received: by mudrat.zk3.dec.com (5.65/DEC-Ultrix/4.3)
	id AA09709; Mon, 19 Aug 1996 09:06:08 -0400
Received: from localhost by secret.zk3.dec.com; 
(5.65v3.2/1.1.8.2/28Oct95-0926PM)
	id AA20537; Mon, 19 Aug 1996 09:05:39 -0400
Message-Id: <9608191305.AA20537@secret.zk3.dec.com>
To: cmds_submit@secret.zk3.dec.com
Cc: osf_prc@mudrat.zk3.dec.com, osf_submit@secret.zk3.dec.com,
        brett@zk3.dec.com, dsmith@unx.dec.com
Subject: Submit request: v32de1supportos-59-dsmith
From: dsmith@unx.dec.com
Date: Mon, 19 Aug 96 09:05:38 -0400
Sender: root@secret.zk3.dec.com
X-Mts: smtp


BASELEVEL: 0
USER NAME: dsmith
PRINCIPAL NAME: David_Smith
SUBMIT REQUEST DATE: Mon Aug 19 09:05:37 1996
SUBMIT REQUEST DEFECT NUMBER: v32de1supportos-59-dsmith
SUBMIT REQUEST STATUS: NEW



                            Submit Request Form

                          Digital Internal Use Only

		     USEG Support Pool Submit Request Form 
			     (Form version 2.6)
	
	================Section 1. Patch Identification=================

1a) Patch Announcement Summary

	Execution of an 'at' command starts additional batch jobs
	to exceed the queue limit defined in queuedefs file.

1b) CLD/SPR/QAR information

CLD/QAR/SPR number(s)    Priority   Component(s)
- - ---------------------    --------   ------------
QAR 47149                S          CMD_PROCES
CLD X-CHECK:UVO104578 CBR 2         COMMANDS

1c) Release Note Information
======================================================================
REQUIRED PATCHES (other patches that are MANDATORY to install WITH this patch):

	none

FILES TO BE DISTRIBUTED:

	/usr/sbin/cron	RCS:

INSTALLATION INSTRUCTIONS:

	- Boot to single user
	- Move the following file:
	   # mv /usr/sbin/cron /usr/sbin/cron.orig
	- Copy the following file from /patches:
	   # cp -p /patches/usr_sbin/cron /usr/sbin/cron
	- Set permissions, owner and group accordingly:
	   # chmod 755 /usr/sbin/cron
	   # chown bin:bin /usr/sbin/cron
	- Reboot to multi-user
	
PROBLEM:  ( QAR 47149, CLD X-CHECK UVO104578CBR ) (Patch ID: <Ignore this> )

	'at' command causes extra batch jobs to be executed, exceeding
	the queue limit. This happens on multi-processor machines.
1d)	Internal description


	Whenever cron reschedules a job, it creates a new event structure
	and reassignes values to all fields. While assigning a value to
	the etype field, it was using a global variable "JOBTYPE" which is
	also used at many other places, but cron was assuming it to be a 
	reliable value. So, jobs were being placed on the wrong queue.

	With this fix, the proper job type is assigned to the etype field
	of the job when it is rescheduled.

	================Section 2. Pool integration=================

2a) Which support pool(s) do you plan to submit to?

     v40supportos    [ ]  v40supportx11   [ ] Platinum support pools
     v40supportcde   [ ]  v40supportdx    [ ] 

     v32gsupportos   [ ]  v32gsupportx   [ ]  MP2 support pools
     v32fsupportos   [ ]  v32fsupportx   [ ]  HW6 support pools
     v32de2supportos [ ]  v32de2supportx [ ]  HW5 and V3.2E-2 support pools
     v32de1supportos [s]  v32de1supportx [ ]  MP1 and V3.2E-1 support pools 
     v32csupportos   [ ]  v32csupportx	 [ ]  Platinum Lite support pools

     v32bsupportos   [ ]  v32bsupportx	 [ ]  Hardware release for Gold Minor
     v32supportos    [ ]  v32supportx	 [ ]  Gold Minor support pools 

     v30bsupportos   [ ]  v30bsupportx	 [ ]  Hardware release for Gold
     v30supportos    [ ]  v30supportx	 [ ]  Gold support pools

     v20bsupportos   [ ]  v20bsupportx	 [ ]  Hardware release for Sterling
     v20supportos    [ ]  v20supportx	 [ ]  Sterling support pools

     tcr1supportos   [ ]  tcr1supportdx	 [ ]  based on OS V3.2DE-1
     ase13supportos  [ ]  ase13supportdx [ ]  based on OS V3.2DE-1
     ase12asupportos [ ]		      based on OS V3.2C	
     ase12supportos  [ ]		      based on OS V3.2
     ase11supportos  [ ]		      based on OS V3.0

2b)	FYI - Does this patch need to be submitted to the development pool(s)?

	Steel		[ ]
	TCR2		[ ]

2c)	Ported from: 

2d)	Baselevel:

	Baselevel do you wish to submit to?
BL 0 of project v32de1supportos

2e)	Integration log:

	cat ../link/Logs/Version.log:

Start build: Tue Aug 13 17:30:11 EDT 1996
automatic nightly build
project-baselevel: V32DE1SUPPORTOS-BL0
version.build: 81
version.type: P
version.variant: D-1
version.patch: -1
Done build: Wed Aug 14 06:37:43 EDT 1996
Start install: Wed Aug 14 06:39:39 EDT 1996
Done install: Wed Aug 14 08:18:51 EDT 1996

	================Section 3. Testing=================

3a) Code and Patch Readme Reviewers:



	vbala@waves.xko.dec.com

3b) Functional Testing - Prior to srequest:


	The fix was sent to the customer, who tested it and approved.

3c) Regression Testing:

	  Delete lines that do not apply to your change.

3d) Test Instruments:


	================Section 4. Customer Impacts=================

4a) For shared libraries only:

ORIGINAL:

CURRENT:

NEW:

4b) Compatibility impacts:

NO:

4c) Standards Compliance:

NO:

	================Section 5. Inventory Content Changes=================

5a) Changed inventories:

NEW inventory files:

CHANGED	inventory files:

DEFUNCT inventory files:

5b) List Source files:

	bstat -all for the list of files and the revs:

[ ./usr/sbin/cron/cron.c ]
version 4.2.35.2 selected setname David_Smith_v32de1

	================Section 6. Code differences=================

6)	Code Diffs:

		bdiff -r$NEW -all -c >& bdiff.log

[ ./usr/sbin/cron/cron.c ]
===================================================================
RCS file: ./usr/sbin/cron/cron.c,v
*** 4.2.34.2	1996/07/25 02:35:35
- - --- OdeSrvrTmpDavid_Smith021792/cron.c	1996/08/14 19:41:45
***************
*** 5,25 ****
   * (c) Copyright 1990, 1991, 1992, 1993 OPEN SOFTWARE FOUNDATION, INC.
   * ALL RIGHTS RESERVED
   */
! #pragma ident "@(#)$RCSfile: cron.c,v $ $Revision: 4.2.34.2 $ (DEC) $Date: 
1996/07/25 02:35:35 $"
  /*
   * HISTORY
   * $Log: cron.c,v $
   * Revision 4.2.34.2  1996/07/25  02:35:35  Warren_Usui
   * 	Checkin code that should have been checked in for the previous
   * 	revision.
   * 	[1996/03/28  00:19:52  Warren_Usui]
!  *
   * 	Do not wait on a cron job completion if jobs are queued on the
   * 	Fifo and the limit of MAXRUN jobs is not reached.  Fixed
   * 	msg_wait code to exit if alarm expires during a read operation.
   * 	(change for HPAQ40CCC and BRO100688)
   * 	[1996/03/26  00:59:14  Warren_Usui]
!  *
   * Revision 4.2.14.2  1994/10/17  20:41:55  Finnbarr_Murphy
   * 	Removed test for a space on the first line of a crontab file.
   * 	This test caused cron to ignore the first line of a crontab
- - --- 5,29 ----
   * (c) Copyright 1990, 1991, 1992, 1993 OPEN SOFTWARE FOUNDATION, INC.
   * ALL RIGHTS RESERVED
   */
! #pragma ident "@(#)$RCSfile: cron.c,v $ $Revision: 4.2.35.2 $ (DEC) $Date: 
1996/08/14 14:52:10 $"
  /*
   * HISTORY
   * $Log: cron.c,v $
+  * Revision 4.2.35.2  1996/08/14  14:52:10  David_Smith
+  * 	Added Arvind's fix for QAR 47149
+  * 	(CLD X-CHECK UVO104578 CBR).
+  *
   * Revision 4.2.34.2  1996/07/25  02:35:35  Warren_Usui
   * 	Checkin code that should have been checked in for the previous
   * 	revision.
   * 	[1996/03/28  00:19:52  Warren_Usui]
!  * 
   * 	Do not wait on a cron job completion if jobs are queued on the
   * 	Fifo and the limit of MAXRUN jobs is not reached.  Fixed
   * 	msg_wait code to exit if alarm expires during a read operation.
   * 	(change for HPAQ40CCC and BRO100688)
   * 	[1996/03/26  00:59:14  Warren_Usui]
!  * 
   * Revision 4.2.14.2  1994/10/17  20:41:55  Finnbarr_Murphy
   * 	Removed test for a space on the first line of a crontab file.
   * 	This test caused cron to ignore the first line of a crontab
***************
*** 1992,1997 ****
- - --- 1996,2002 ----
  		msg(MSGSTR(MS_CRRESCHED,"rescheduling a cron job"));
  		return;
  	}
+ 	jobtype = next_event->etype;
  	add_atevent(next_event->u, next_event->cmd, nt);
  	msg(MSGSTR(MS_ATRESCHED, "rescheduling at job"));
  }
retrieving revision 4.2.34.2
diff -c -r4.2.34.2 OdeSrvrTmpDavid_Smith021792/cron.c

	==================================================================
                          Digital Internal Use Only










- ------- End of Forwarded Message


------- End of Forwarded Message


T.RTitleUserPersonal
Name
DateLines
2521.1Re: v32de1 link broken for /usr/sbin/cronAOSG::FILTERAutomatic Posting Software - mail to flume::puckFri Aug 30 1996 16:4421
Date Of Receipt: 	30-AUG-1996 12:31:34.55
From: 	KAMLIA::"davidson@sean.zk3.dec.com"
To: 	useg_prc@kamlia.zk3.dec.com, useg_reng@kamlia.zk3.dec.com
CC: 	kimr@kamlia.zk3.dec.com, odehelp@kamlia.zk3.dec.com,
	useg~h@DEC:.zko.kamlia
Subj: 	Re:  v32de1 link broken for /usr/sbin/cron

The 'findpool -f ./usr/sbin/cron/cron.c' command says this fix would need
to be bsubmit'ed to the following pools

v20supportos                    ./usr/sbin/cron/cron.c
v30supportos                    ./usr/sbin/cron/cron.c
v32supportos                    ./usr/sbin/cron/cron.c
v32csupportos                   ./usr/sbin/cron/cron.c
v32de1supportos                 ./usr/sbin/cron/cron.c
v40supportos                    ./usr/sbin/cron/cron.c

and should flow through to all others.

Sean