-
Notifications
You must be signed in to change notification settings - Fork 0
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
sudo: unable to allocate pty: EDC5129I No such file or directory. (errno2=0x0594004D) #32
Comments
Hmm, this may be related to the addition of openpty in zoslib: https://github.com/ibmruntimes/zoslib/blob/zopen2/src/zos-pty.c#L17 What is the output of?
and
|
I can reproduce it on one of my systems, I'll investigate |
[SYSA] bash-5.2$ ls -l /dev/ptyp* [SYSA] bash-5.2$ ls -l /dev/ttyp* |
Tried to install sudo-1.9.16p2.20250222_034953.zos.pax.Z installing https://github.com/zopencommunity/sudo |
Interesting, I'm not seeing that on my end.
Is the uid running
|
Tried again...was able to install the pax file. Note, I'm not using zopen install for this package...yet. |
Ok, I narrowed it down to the |
Installed the updated package and the pty issue is resolved. thanks |
Great! Let's leave it open. I'm reimplementing openpty and will add an update once sudo is updated with the new implementation |
Ok, the latest release of sudo has the new openpty implementation. Please confirm when you get a chance. |
Installed the updated package and is working (no pty issues). Here are the timings between sudo implementations. I ran each one 4 times, but capturing the timings on the 2, 3, 4 invocations. /hewitt/zopentools/guild/sudo-1.9.16p2/bin/sudo real 0m1.022s
|
fyi, still seeing RACF security error messages. sudo -V sudo -l sudo ps -ef SYSA 2025057 07:53:26.73 S0874239 00000291 ICH408I USER(@02858 ) GROUP(@ISCICS1) NAME(GROSSI, GARY ) SYSA 2025057 07:53:26.73 S0874239 00000291 ICH408I USER(@02858 ) GROUP(@ISCICS1) NAME(GROSSI, GARY ) |
@IgorTodorovskiIBM
Installed sudo-1.9.16p2.20250213_022328.zos.pax.Z
[SYSA] bash-5.2$ sudo -V
Sudo version 1.9.16p2
Sudoers policy plugin version 1.9.16p2
Sudoers file grammar version 50
Sudoers I/O plugin version 1.9.16p2
Sudoers audit plugin version 1.9.16p2
sudo -l runs as expected.
[SYSA] bash-5.2$ sudo ps -ef
sudo: unable to allocate pty: EDC5129I No such file or directory. (errno2=0x0594004D)
The text was updated successfully, but these errors were encountered: