Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

posix.getpid() does not work in OracleLinux with ksplice #114

Open
bertramn opened this issue Mar 3, 2018 · 1 comment
Open

posix.getpid() does not work in OracleLinux with ksplice #114

bertramn opened this issue Mar 3, 2018 · 1 comment
Milestone

Comments

@bertramn
Copy link

bertramn commented Mar 3, 2018

Installation of jython fails on a OracleLinux 7 system with the "unbreakable enterprise kernel" with ksplice enabled.

After some digging we found that jnr has issues obtaining the process id and also some weird things happen to obtaining file handles.

For instance if we execute the simple Java test on a OL7 with kernel 3.8.13-118.20.3.el7uek.x86_64 we get a result of 0.

POSIX posix = POSIXFactory.getPOSIX();
System.out.println(posix.getpid());

I created a very basic test harness to reproduce this problem here. There are also some straces on a system with ksplice and one without included.

Anyone came across this issue?

@headius
Copy link
Member

headius commented May 16, 2018

I have not seen this but I agree with need a fix. I'm not sure where to start looking for a solution though!

@headius headius added this to the 3.0.46 milestone May 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants