From: Frank Cusack <fcusack@fcusack.com>
To: lkml <linux-kernel@vger.kernel.org>, phil-list@redhat.com
Subject: NPTL v userland v LT (RH9+custom kernel problem)
Date: Thu, 7 Aug 2003 01:39:30 -0700 [thread overview]
Message-ID: <20030807013930.A26426@google.com> (raw)
Hi,
The RH9 kernels have NPTL patches. Standard 2.4.21 does not.
I am running a custom kernel without the NPTL stuff.
At least one RH9 userland piece is not working correctly with my
custom kernel. If I use pam_ldap, the root user cannot login on
the console.
PAM prompts for the username and password, then pam_ldap appears to
get stuck in a syslog call. It doesn't actually call syslog(), but if
I compare to a functional system, the working one opens /dev/log etc
whereas the broken one does an rt_sigsuspend() and hangs until a SIGALRM
is delivered (login having set this up before prompting for the password).
That's from looking at strace; I haven't looked at ltrace or tried to
run under the debugger yet.
Logging in as a normal user, then sudo'ing to root does work though.
A notable difference between these two cases is that in the former the
real uid of the 'login' process is root, and in the latter the real uid
of the 'sudo' process is that of the user. (PAM config for login and sudo
are identical.)
I think I've seen a case where normal users couldn't login but I
may be misremembering.
So, finally getting to my question, should I even *expect* a non-NPTL
kernel to work with the RH9 userland? If not, is there a simple fix
without going to NPTL, say just rebuilding glibc? hmm... now that I
ask it I feel dumb, I do think I would need to rebuild glibc so it
knows the kernel has LinuxThreads, not NPTL. OK, if that's true
are there any other libs I should need to rebuild?
thanks
/fc
next reply other threads:[~2003-08-07 8:39 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-07 8:39 Frank Cusack [this message]
2003-08-07 8:49 ` NPTL v userland v LT (RH9+custom kernel problem) Arjan van de Ven
2003-08-07 14:42 ` Jerry Cooperstein
2003-08-07 13:06 ` Mathias Fröhlich
2003-08-08 5:45 ` Frank Cusack
2003-08-08 6:02 ` Valdis.Kletnieks
2003-08-08 6:53 ` Peter Svensson
2003-08-08 7:10 ` Pau Aliagas
2003-08-08 10:32 ` Henning P. Schmiedehausen
2003-08-08 17:37 ` Frank Cusack
2003-08-08 19:05 ` Ulrich Drepper
-- strict thread matches above, loose matches on Subject: below --
2003-08-07 13:20 Luke Howard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030807013930.A26426@google.com \
--to=fcusack@fcusack.com \
--cc=linux-kernel@vger.kernel.org \
--cc=phil-list@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox