tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: Bug in v5.0 installupdate command
@ 2000-05-12  8:16 Jon Morgan
  0 siblings, 0 replies; only message in thread
From: Jon Morgan @ 2000-05-12  8:16 UTC (permalink / raw)
  To: tru64-unix-managers

(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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-05-12  8:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-05-12  8:16 SUMMARY: Bug in v5.0 installupdate command Jon Morgan

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