tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Jon Morgan <jmorgan () dircon ! co ! uk>
To: tru64-unix-managers
Subject: SUMMARY: Bug in v5.0 installupdate command
Date: Fri, 12 May 2000 08:16:57 +0000	[thread overview]
Message-ID: <96079346819565.tru64-unix-managers.marc@archive.invalid> (raw)

(I've cheated and called this a summary, when there was no real
question sent to list. Sorry about that.)

There is a bug in the v5.0 /sbin/installupdate shell script that
causes the upgrade from v5.0 -> v5.0a to fail. This script contains
the following lines:

        FSTAB_READONLY=`
        cat /etc/fstab |
        while read LINE
        do
                set -- $LINE
                for FS in /usr /var
                do
                        if [ "$2" = "$FS" ]
                        then
                            echo $4 | grep -q "ro" &&
                            {
                                        [ "$NEED_AND" ] && echo " and
\c"
                                        echo "$FS\c"
                                        NEED_AND=1
                            }
                        fi
                done
        done`

The grep in this command matches "groupquota" in the /etc/fstab file,
for example:

	# /etc/fstab

# --------------------------------------------------------------------
------
	#
	# Mount all the system specific partitions
	#
	root_domain#root        /               advfs
rw,userquota,groupquota 0 1
	/proc                   /proc           procfs
rw,userquota,groupquota 0 0
	usr_domain#usr          /usr            advfs
rw,userquota,groupquota 0 2
	usr_domain#var          /var            advfs
rw,userquota,groupquota 0 2
	#

I've logged this as a call with Compaq CSC in the UK and engineering
have acknowledged this as a bug. The fix is to either remove the check
from /sbin/installupdate, or to change the shell script to search for
the correct field.

Hope this helps,

		-jon.

--
jon morgan

                 reply	other threads:[~2000-05-12  8:16 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