tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Paul A Sand <pas () unh ! edu>
To: tru64-unix-managers
Subject: SUMMARY: t64 5.0 patchkit 2 precheck error message
Date: Fri, 14 Apr 2000 13:06:54 +0000	[thread overview]
Message-ID: <96079343919478.tru64-unix-managers.marc@archive.invalid> (raw)

Hi --

Original problem:  I wondered  about the error messages I was seeing
during the precheck for Tru64 v5.0 patchkit 2:

    du: .a: No such file or directory
    expr: syntax error
    expr: syntax error

Tom Blinn and Tom Reu (both from Compaq) responded, and many thanks 
to them, as always.

Tom Reu:

> It looks like these messages are coming from code that is checking
> for space. If you have an opportunity, please try running the pre-check
> in single-user mode. If the error occurs again, please send me the output
> of "ps -aef -o command" on your system.
> 
> In any event, the messages will not affect your patch installation.

Tom Blinn encouraged me to `go for it' and dig into the dupatch shell
script to find out where the error was occurring.

Emboldened by the Toms, I went ahead and tried to figure out what
dupatch was doing. The problem occurs in lines 1112-1139 when dupatch
(for whatever undoubtedly good reason) looks at the sizes of executable
files corresponding to currently-running processes.  For most processes
(e.g. `inetd') it goes like:

    LINE is "inetd" ==> 
    `type inetd` says "inetd is /usr/sbin/inetd" ==>
    OUTPUT is /usr/sbin/inetd ==> 
    "./usr/sbin/inetd" gets put in check-filesize list ==>
    which works fine

BUT if there's a `login' process on the system:

    LINE is "login" ==>
    `type login` says "login is a shell builtin" ==>
    OUTPUT is "a"
    ".a" gets put in the check-filesize list ==>
    which causes the error message

It's a dupatch bug, but doesn't seem to be threatenting the
safety of the patch install. Wouldn't show up in single-user mode
at all, I assume.

-- 
-- Paul A. Sand                 | Give me ambiguity or give me
-- University of New Hampshire  | something else.
-- pas@unh.edu                  |     (Anonymous)
-- http://pubpages.unh.edu/~pas | 

                 reply	other threads:[~2000-04-14 13:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox