Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4861802

missing /proc/<pid> dir in chroot env. causes 1.4.1 java to fail

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.1_05
    • 1.4.1_02
    • hotspot
    • 05
    • generic
    • solaris_8
    • Verified

        customer using 1.4.1_02

        usr/sbin/chroot /chroot /usr/j2se/bin/java -version

        Output is:

        Need Solaris 2.6 (SunOS 5.6) or later.
        Abort

        I was able to reproduce this in house and running truss I find that
        /proc/<pid> is looked for but not found. It is at that point that
        the error message about needing 2.6 or later is encountered.

        This scenario works fine for 1.3.1 where you can see the /proc entry in the truss and it is also not being found, but it still proceeds.

        Needing/exposing /proc in the chroot environment is a security risk.

        Why would 1.4.1 now require this where 1.3.1 did not?

              foliversunw Fred Oliver (Inactive)
              msusko Mark Susko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: