-
Notifications
You must be signed in to change notification settings - Fork 577
getgrgid breaks fork() w/ ldap gid's and ../ext/POSIX/t/wrappers.t test failure #13683
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
Comments
From [email protected]Created by [email protected]The Perl 5.18.2 build failed the ../ext/POSIX/t/wrappers.t test on our production Ubuntu 12.04 server. Investigation reveals that calling getgrdid with an LDAP based group id breaks subsequent calls to fork(). Using strace, it appears that the child process dies immediately after the fork() and the main process recieves a SIGCHLD when the child dies. However, things work fine if the gid isn't LDAP based. The bug can be reproduced on an LDAP system with the following code: #!/usr/bin/env perl use strict; my my $pid = fork(); fail("fork failed: $!") unless defined $pid; if ($pid) { EXPECTED RESULT: ACTUAL RESULT: Things work fine with Perl 5.14. If the call to getgrgid is commented out, both the child and parent processes print out. Things also work if we call getgrgid with an id that is in /etc/groups instead of using $(. Perl Info
|
From [email protected]I've attached /etc/pam.d/common-password to give a clearer picture of our system configuration. On Fri Mar 21 07:47:48 2014, dlarochelle@cyber.law.harvard.edu wrote:
|
The RT System itself - Status changed from 'new' to 'open' |
Migrated from rt.perl.org#121485 (status was 'open')
Searchable as RT121485$
The text was updated successfully, but these errors were encountered: