|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0514 Details
Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges
This page provides all information on Problem Report 0514.
Report 0514 Actions
Problem Report Number 0514 Submitter's Classification Specification problem State Resolved Resolution Rejected (REJ) Problem Resolution ID REJ.X.0133 Raised 1996-10-29 08:00 Updated 2003-03-13 08:00 Published null Product Standard Network File System Certification Program The Open Brand certification program Test Suite VSX4+XNFS version 4.3.5 Test Identification POSIX.os/ioprim/read 21 Problem Summary PG4R.134 >From the NFS protocol point of view, it is impossible for the NFS server to know that a particular client has a file system mounted read only. The server can only check if the local file system is re... Problem Text
>From the NFS protocol point of view, it is impossible for the NFS server
to know that a particular client has a file system mounted read only.
The server can only check if the local file system is read only or if the
file system is exported read only. Enforcement for file systems mounted
on a client read only is the responsibility of the client. The protocol
does not allow for a read request to indicate that the file system on the
client is mounted read only. Thus, the atime update cannot be prevented.
I don't feel that this assertion is applicable to XNFS.
Note that the test case is using a read/write file system on the server
and first mounts it read/write on the client to create the test file.
It then unmounts it and then remounts it read only. The read is performed
and the atime is modified.Test Output
200|0 21 15:19:35|TP Start
520|0 21 00010610 5 1|Call to read() changed time stamps on read-d.21/fread-t.21
520|0 21 00010610 5 2|time stamps incorrect: atime was updated
220|0 21 1 15:19:45|FAIL
************************************************************************
/tset/POSIX.os/ioprim/read/T.read 21 Failed
Test Description:
If the implementation supports a read-only file system:
When the file descriptor references a file on a read-only file
system, then read() does not update the time related element
st_atime of the file.
Posix Ref: Component READ Assertion 6.4.1.2-X1(C)
Test Strategy:
CREATE directory
CREATE child process
OBTAIN the name of the readonly file system VSX_ROFS using vgetenv()
- (vlib)
EXECUTE new program using as parameters : name of readonly file
system, directory name and file name
SUBPROGRAM:
CREATE file on readonly file system and mount it readonly using
setuprofs() - (tsetlib)
OPEN file on readonly file system using open()
SAVE file timestamp using savtimes()
READ data from file using read()
VERIFY that 0 is returned and errno is unchanged
VERIFY that time stamps were not changed using chktimes()
UNMOUNT readonly file system and remove data file using
clnuprofs() - (tsetlib)
Test Information:
Call to read() changed time stamps on read-d.21/fread-t.21
time stamps incorrect: atime was updated
************************************************************************Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
We recommend this request be refused, the specification
is clear that writes to a read-only filesystem will fail
when mounted with the read-only mode, regardless of the export
mode. Therefore a read() function should not mark for update the st_atime
field.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Rejected (REJ) Review Conclusion
This request is refused.
Problem Reporting System Options:
- View Report 0514
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority