#324 sssd fails to close stdin/stdout/stderr when it daemonizes
Closed: Fixed None Opened 14 years ago by rcritten.

Trying to call authconfig --enablesssd --enablesssdauth --update from ipa-client-install is resulting in a hung client because authconfig is a zombie.

I call authconfig using subprocess.communicate() which returns stdout and stderr as well as waiting for the child to exit.

Tomas Mraz says:
If you read the http://bugs.python.org/issue4216#msg77891 it is apparent that the
authconfig process exits but the write end of the stdout is probably still hold open by the started sssd daemon. That means the daemon does not properly daemonize. You can workaround it by not using communicate. But rather it should be fixed in sssd so it reopens stdin/stdout/stderr from /dev/null when it daemonizes.

sssd-1.0.0-0.2009121019git00d398c.fc11.i586


Fields changed

milestone: NEEDS_TRIAGE => SSSD 1.0
owner: somebody => sgallagh
priority: major => critical
status: new => assigned
version: 0.99.0 => 0.99.1

Fixed by 663f026

fixedin: => 1.0.0
resolution: => fixed
status: assigned => closed
tests: 0 => 1

Fields changed

coverity: =>
patch: => 0
tests: 1 => 0
upgrade: => 0

Fields changed

rhbz: => 0

Metadata Update from @rcritten:
- Issue assigned to sgallagh
- Issue set to the milestone: SSSD 1.0

7 years ago

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/1366

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.

Metadata