-
Bug
-
Resolution: Fixed
-
P3
-
7u76
-
b79
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8135679 | emb-9 | Kevin Walls | P3 | Resolved | Fixed | team |
JDK-8147658 | 8u92 | Kevin Walls | P3 | Resolved | Fixed | b03 |
JDK-8140839 | 8u91 | Kevin Walls | P3 | Resolved | Fixed | b01 |
JDK-8133242 | 8u72 | Cheleswer Sahu | P3 | Closed | Fixed | b01 |
JDK-8136952 | 8u71 | Kevin Walls | P3 | Closed | Fixed | b01 |
JDK-8136939 | 8u66 | Kevin Walls | P3 | Resolved | Fixed | b31 |
JDK-8136641 | 8u60 | Kevin Walls | P3 | Resolved | Fixed | b32 |
JDK-8147146 | emb-8u91 | Kevin Walls | P3 | Resolved | Fixed | b01 |
JDK-8143688 | emb-8u71 | Kevin Walls | P3 | Resolved | Fixed | b01 |
JDK-8133244 | 7u95 | Cheleswer Sahu | P3 | Closed | Fixed | b01 |
JDK-8138618 | 7u91 | Kevin Walls | P3 | Resolved | Fixed | b32 |
JDK-8137300 | 7u85 | Cheleswer Sahu | P3 | Resolved | Fixed | b34 |
JDK-8148578 | openjdk7u | Kevin Walls | P3 | Resolved | Fixed | master |
JDK-8134362 | 6u111 | Kevin Walls | P3 | Closed | Fixed | b01 |
JDK-8136708 | 6u105 | Kevin Walls | P3 | Resolved | Fixed | b31 |
JDK-8134848 | 6u101 | Kevin Walls | P3 | Resolved | Fixed | b31 |
For example:
jps running In 7u72 solaris machine:
7u72/bin/jps
1771 ControlPanel
722 Bootstrap
1224 ContainerPrivate
1637 swupna.jar
1772 Jp
jps running In 7u75 solaris machine:
7u75/bin/jps
1746 Jps
1739 -- process information unavailable
722 -- process information unavailable
1224 ContainerPrivate
1637 -- process information unavailable
This bug has been introduced when fix JDK-8050807 was merged in JDK repository. In this fix UID of directory is matched with the effective Id of process. When JPS command is executed as root, it tries to read the process information from "/tmp/hsperfdata_$username_$ProcessID" file. Before reading the process file or directory, it checks if the file or directory is secure or not. It opens the user directory and match the UID of that directory (which belong to other user) with the current process(root-jps) effective ID,which gets fail and process returns failure.
- backported by
-
JDK-8134848 jps running as root fails after the fix of JDK-8050807
- Resolved
-
JDK-8135679 jps running as root fails after the fix of JDK-8050807
- Resolved
-
JDK-8136641 jps running as root fails after the fix of JDK-8050807
- Resolved
-
JDK-8136708 jps running as root fails after the fix of JDK-8050807
- Resolved
-
JDK-8136939 jps running as root fails after the fix of JDK-8050807
- Resolved
-
JDK-8137300 jps running as root fails after the fix of JDK-8050807
- Resolved
-
JDK-8138618 jps running as root fails after the fix of JDK-8050807
- Resolved
-
JDK-8140839 jps running as root fails after the fix of JDK-8050807
- Resolved
-
JDK-8143688 jps running as root fails after the fix of JDK-8050807
- Resolved
-
JDK-8147146 jps running as root fails after the fix of JDK-8050807
- Resolved
-
JDK-8147658 jps running as root fails after the fix of JDK-8050807
- Resolved
-
JDK-8148578 jps running as root fails after the fix of JDK-8050807
- Resolved
-
JDK-8133242 jps running as root fails after the fix of JDK-8050807
- Closed
-
JDK-8133244 jps running as root fails after the fix of JDK-8050807
- Closed
-
JDK-8134362 jps running as root fails after the fix of JDK-8050807
- Closed
-
JDK-8136952 jps running as root fails after the fix of JDK-8050807
- Closed
- duplicates
-
JDK-8073858 jps, jstat et al when run as root does not show full info for processes != root
- Closed
- relates to
-
JDK-8140244 Port fix of JDK-8075773 to AIX and possibly MacOSX
- Resolved