Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!newstop!texsun!digi.lonestar.org!kgallagh From: kgallagh@digi.lonestar.org (Kevin Gallagher) Newsgroups: comp.sys.apollo Subject: Re: Perl op.stat failure Message-ID: <1219@digi.lonestar.org> Date: 3 Nov 90 00:02:59 GMT References: <3071@nosc.NOSC.MIL> Organization: DSC Communications, Plano Tx. Lines: 38 In article <3071@nosc.NOSC.MIL> dennis@peanuts.nosc.mil (Dennis Cottel) writes: >In mid-August I posted a followup to a person who found a problem >installing Perl on their Apollo. I confirmed that I, too, had a >problem with the op.stat regression test failing. I posted my log >entry: > > op.stat... FAILED on test 1 > This test opens a file and then looks to see if there is one hard > link, but the link field is still 0. When I added a close before > the stat, this test worked (but, naturally, test 2 failed). >[stuff deleted] >The failure happened again when I installed patches through 37. On a >hunch I CRPed onto the node whose disk contains the Perl distribution >and the problem went away. It appears to have something to do with >cross-node I/O. It's nice to know I wasn't seeing things, but kind of >scary that such differences from normal UNIX behavior still exist. I doubt it. Our installation of Perl passes the op.stat tests regardless of the node those tests are run on. Our nodes are all 3500's and 3550's; some with disks and some without. It is more likely that the node under which perl was built has its directories set up with apollo acl which emulates the Unix environment under which it was built, bsd4.3 or sys5.3, whatever the case may be. On the other hand, your directories, within which you ran op.stat, probably have an acl setup not matching that in the perl directories. If perl was built expecting a bsd4.3 directory structure, he will get unexpected results if the directory structure turns out to be something else. Directory and file commands such as chmod will not behave as perl expects. Convert your directory containing op.stat (via chacl) to emulate the SAME directory structure as that under which perl was built. Then run the op.stat test again. -- ---------------------------------------------------------------------------- Kevin Gallagher kgallagh@digi.lonestar.org OR ...!uunet!digi!kgallagh DSC Communications OR apcihq!apcidfw!digi!kgallagh ----------------------------------------------------------------------------