-
Notifications
You must be signed in to change notification settings - Fork 258
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
sockets with fd 0 unsupported #51
Comments
I got the same problem, and I can't turn on the redir option. I noticed you were saying "If I start the chilli process without stdin/stdout/stderr (which are closed by the calling program before)", so is there an "unofficial" way to start the chilli? As I only use the stock /etc/init.d/chilli to start it, Anyway if you can point out a way to start chilli with redir option on It will be a great help for me. BTW, I have debug mode turns on, also I have full of the following messages in the log: |
Am 03.11.2015 um 11:33 schrieb geohuz:
Hello! A collegue solved this problem. I do not know, what he exactly did, but --- coova-chilli-1.3.0/src/redir.c.orig 2015-03-05 12:36:05.242229771 +0100
Regards Sven Anders anders@anduras.de () UTF-8 Ribbon Campaign Rechtsform: Aktiengesellschaft - Sitz: Passau - Amtsgericht: Passau HRB 6032 |
I saw the patch is based on 1.3.0, but I am having issue with the git version: 1.3.1, could you confirm the patch is applied to version 1.3.0? Thanks |
The patch suggested seems to leak file descriptors, which wouldn't be good. |
If I start the chilli process without stdin/stdout/stderr (which are closed by the calling program before), the chilli daemon does not function correctly.
The first error you will see is "Failed to create redir listen", but it seems to be a global problem, that a (valid) socket with fd 0 is not supported.
(Not sure, if this problem does only occur, if the debug mode is activated).
The text was updated successfully, but these errors were encountered: