[7432] in Athena Bugs

home help back first fref pref prev next nref lref last post

decmips 7.2R: /etc/athena/track

daemon@ATHENA.MIT.EDU (David Krikorian)
Wed Apr 17 13:12:49 1991

To: bugs@ATHENA.MIT.EDU
Date: Wed, 17 Apr 91 13:12:28 EDT
From: David Krikorian <dkk@ATHENA.MIT.EDU>

System name:		m33-222-8
Type and version:	KN01 7.2R
Display type:		PM-MONO

What were you trying to do?

	Use "track" to check out the files on a workstation's local
disk.

What's wrong:

	It gave me unexpected output, though nothing was wrong:
------------
m33-222-8% ls -ld /srvd
lrwxr-xr-x  1 root           39 Apr 17 11:21 /srvd -> /afs/athena.mit.edu/system
------------
[as root]
m33-222-8# track -v -c
using /srvd/etc/athena/lib/slists/sys_rvd as subscription-list
using /srvd/etc/athena/lib/stats/sys_rvd as statfile
Updating file      /bin/clri ( file-cksum=c14e)
    from file /srvd/bin/clri ( file-cksum=ffff)
Updating file      /bin/halt ( file-cksum= 6c2)
    from file /srvd/bin/halt ( file-cksum=ffff)
Updating file      /bin/icheck ( file-cksum= bef)
    from file /srvd/bin/icheck ( file-cksum=ffff)
Updating file      /bin/rzdisk ( file-cksum=ec87)
    from file /srvd/bin/rzdisk ( file-cksum=ffff)
Updating file      /bin/shutdown ( file-cksum=86ff)
    from file /srvd/bin/shutdown ( file-cksum=ffff)
Updating file      /etc/install_upgrade ( file-cksum= 135)
    from file /srvd/etc/install_upgrade ( file-cksum=ffff)
Updating file      /etc/ris ( file-cksum=f563)
    from file /srvd/etc/ris ( file-cksum=ffff)
cleared lock /tmp/sys_rvd.started
------------
[as me]
m33-222-8% track -v -c
using /srvd/etc/athena/lib/slists/sys_rvd as subscription-list
using /srvd/etc/athena/lib/stats/sys_rvd as statfile
cleared lock /tmp/sys_rvd.started
------------
m33-222-8% ls -lg {/srvd,}{/bin/{clri,halt,icheck,rzdisk,shutdown},/etc/{install_upgrade,ris}}
-rwx------  1 root     wheel       24576 Dec 30  1988 /bin/clri
-rwx------  1 root     wheel       28672 Dec 30  1988 /bin/halt
-rwx------  1 root     wheel       32768 Dec 30  1988 /bin/icheck
-rwx------  1 root     wheel       65536 May  2  1989 /bin/rzdisk
-rwx------  1 root     wheel       94208 Dec 30  1988 /bin/shutdown
-rwx------  1 root     wheel        1103 Dec 30  1988 /etc/install_upgrade
-rwx------  1 root     wheel       19180 May  2  1989 /etc/ris
-rwx------  1 root     wheel       24576 Dec 30  1988 /srvd/bin/clri
-rwx------  1 root     wheel       28672 Dec 30  1988 /srvd/bin/halt
-rwx------  1 root     wheel       32768 Dec 30  1988 /srvd/bin/icheck
-rwx------  1 root     wheel       65536 May  2  1989 /srvd/bin/rzdisk
-rwx------  1 root     wheel       94208 Dec 30  1988 /srvd/bin/shutdown
-rwx------  1 root     wheel        1103 Dec 30  1988 /srvd/etc/install_upgrade
-rwx------  1 root     wheel       19180 May  2  1989 /srvd/etc/ris
------------
As you can see from the last shell example, the questionable files are
all root-only readable (why?), so it's not surprising that track run
as uid 10993 (dkk) couldn't compare checksums.  However, when track
can read the files, it seems to be getting bogus checksums for the
root-only-read files in /srvd/.  The file contents aren't a problem,
though:
------------
m33-222-8# sum {/srvd,}{/bin/{clri,halt,icheck,rzdisk,shutdown},/etc/{install_upgrade,ris}}
46165    24 /srvd/bin/clri
35455    28 /srvd/bin/halt
18569    32 /srvd/bin/icheck
45724    64 /srvd/bin/rzdisk
65137    92 /srvd/bin/shutdown
53214     2 /srvd/etc/install_upgrade
02764    19 /srvd/etc/ris
46165    24 /bin/clri
35455    28 /bin/halt
18569    32 /bin/icheck
45724    64 /bin/rzdisk
65137    92 /bin/shutdown
53214     2 /etc/install_upgrade
02764    19 /etc/ris
------------

What should have happened:

------------
m33-222-8# track -v -c
using /srvd/etc/athena/lib/slists/sys_rvd as subscription-list
using /srvd/etc/athena/lib/stats/sys_rvd as statfile
cleared lock /tmp/sys_rvd.started
------------

Please describe any relevant documentation references:

		track(1)


home help back first fref pref prev next nref lref last post