HomeAbout Us A-Z IndexSearch * Contact Us Register LoginPress Shop

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 0509 Details

Help Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges

This page provides all information on Problem Report 0509.


Report 0509 Actions


    Problem Report Number 0509
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0128
    Raised 1996-03-22 08:00
    Updated 2003-03-13 08:00
    Published null
    Product Standard Internationalised System Calls and Libraries (XPG4)
    Certification Program The Open Brand certification program
    Test Suite VSX4 version 4.3.5
    Test Identification XOPEN.os/procenv/chroot 4
    Linked Problem Reports TSD4san.217, (in, old, system)
    Problem Summary PG4R.129 The problem is that the test binary, T.chroot, forks and execs the chroot_t4 binary. chroot_t4 is not linked archived, so uses a shared-library version of libc. This means chroot_t4 needs to have acce...
    Problem Text
    The problem is that the test binary, T.chroot, forks and execs the chroot_t4
    binary. chroot_t4 is not linked archived, so uses a shared-library version
    of libc. This means chroot_t4 needs to have access to the file
    /usr/bin/dld.sl in order to execute. When chroot_t4 is exec'd by T.chroot,
    the exec fails with errno 2 (ENOENT) because /usr/bin/dld.sl couldn't be
    found. The reason it couldn't be found is that T.chroot has already done a
    chroot (change root) such that the /usr/bin directory is not accessible to
    T.chroot and its children.

    The fix for this problem is to link chroot_t4 archived. It is now linked
    archive, except for libc. When the following change was made, the tests
    ran and passed. The change is to Makefile, line 98 in the path:

    /var/opt/stdenv/vsx/vsx4/tset/XOPEN.os/procenv/chroot

    chroot_t4: $(OFILES4) $(LIBS)
    $(CC) -Wl,-a,archive -o $@ $(OFILES4) $(LIBS)
    ^^^^^^^^^^^^^^
    $(SYSLIBS) $(LDFLAGS)
    Test Output
    /tset/XOPEN.os/procenv/chroot/T.chroot 4 Unresolved

    Test Description:
    The root directory is inherited by all processes created via
    a. a fork() system call;
    b. an exec() system call;

    Test Information:
    child process gave unexpected exit code 2

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    This test is already waivered in VSX 4.3.5 as waiver TSD4.217 and no further
    waiver is needed. It is recommended that this request is refused.

    As to the specific proposed solution, this is not a generic solution which
    could be applied to all XPG4 conforming systems, though it could be supplied
    via a compile time parameter.

    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:

     

    Back   


Contact the Certification Authority