Skip to content

Running script(1) to get a controlling tty not supported due to signal handler issue #151

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

Closed
mirabilos opened this issue Mar 25, 2019 · 4 comments
Assignees
Labels
area: compatibility Issue related to (Linux) kernel compatibility priority: p2 Normal priority type: bug Something isn't working

Comments

@mirabilos
Copy link

Same environment as in #149

root@XXXredactedXXX:~ # docker run --runtime=runsc -it debian:buster /bin/bash
root@65358b295bc9:/# script
Script started, file is typescript
script: cannot set signal handler: Function not implemented
                                                           root@65358b295bc9:/# exit
                                                                                    1|root@XXXredactedXXX:~ # 
@mirabilos
Copy link
Author

It’s worse, /dev/tty does not exist and cannot be created.

@fvoznika
Copy link
Member

fvoznika commented Mar 26, 2019

script is failing because it uses signalfd4. See #139.

I0326 00:36:50.127229   97404 x:0] [   2] script X signalfd4(0xffffffff, 0x7fc40183eba0, 0x8, 0x80000) = 0x0 errno=38 (function not implemented) (69.676µs)

@ianlewis ianlewis added area: compatibility Issue related to (Linux) kernel compatibility type: bug Something isn't working priority: p2 Normal priority labels Apr 13, 2019
@ianlewis
Copy link
Contributor

Added #385 for /dev/tty support

@kevinGC
Copy link
Collaborator

kevinGC commented Jun 13, 2022

This no longer fails.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: compatibility Issue related to (Linux) kernel compatibility priority: p2 Normal priority type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants