public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug nptl/26820] New: Missing LD_LIBRARY_PATH entry for nptl/tst-setuid1*
@ 2020-10-30 17:08 hjl.tools at gmail dot com
  2020-10-30 22:33 ` [Bug nptl/26820] " hjl.tools at gmail dot com
  2020-11-03 12:30 ` hjl.tools at gmail dot com
  0 siblings, 2 replies; 3+ messages in thread
From: hjl.tools at gmail dot com @ 2020-10-30 17:08 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=26820

            Bug ID: 26820
           Summary: Missing LD_LIBRARY_PATH entry for nptl/tst-setuid1*
           Product: glibc
           Version: 2.33
            Status: NEW
          Severity: normal
          Priority: P2
         Component: nptl
          Assignee: unassigned at sourceware dot org
          Reporter: hjl.tools at gmail dot com
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

nptl/tst-setuid1.c has

  struct passwd *pwd = getpwnam ("nobody");

which will use nss libraries.  But the nss directory isn't in
LD_LIBRARY_PATH for nptl/tst-setuid1.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug nptl/26820] Missing LD_LIBRARY_PATH entry for nptl/tst-setuid1*
  2020-10-30 17:08 [Bug nptl/26820] New: Missing LD_LIBRARY_PATH entry for nptl/tst-setuid1* hjl.tools at gmail dot com
@ 2020-10-30 22:33 ` hjl.tools at gmail dot com
  2020-11-03 12:30 ` hjl.tools at gmail dot com
  1 sibling, 0 replies; 3+ messages in thread
From: hjl.tools at gmail dot com @ 2020-10-30 22:33 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=26820

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fweimer at redhat dot com

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
commit def674652eeac60c386d04733318b311f8a5b620
Author: Florian Weimer <fweimer@redhat.com>
Date:   Mon Apr 27 15:00:14 2020 +0200

    nptl/tst-setuid1-static: Improve isolation from system objects

    Static dlopen needs an LD_LIBRARY_PATH setting to avoid loading system
    libraries.

missed $(common-objpfx)nss.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug nptl/26820] Missing LD_LIBRARY_PATH entry for nptl/tst-setuid1*
  2020-10-30 17:08 [Bug nptl/26820] New: Missing LD_LIBRARY_PATH entry for nptl/tst-setuid1* hjl.tools at gmail dot com
  2020-10-30 22:33 ` [Bug nptl/26820] " hjl.tools at gmail dot com
@ 2020-11-03 12:30 ` hjl.tools at gmail dot com
  1 sibling, 0 replies; 3+ messages in thread
From: hjl.tools at gmail dot com @ 2020-11-03 12:30 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=26820

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
 nptl/tst-setuid1.c also needs a a call to __nss_configure_lookup, to avoid
picking up system NSS modules via /etc/nsswitch.conf.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-11-03 12:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-30 17:08 [Bug nptl/26820] New: Missing LD_LIBRARY_PATH entry for nptl/tst-setuid1* hjl.tools at gmail dot com
2020-10-30 22:33 ` [Bug nptl/26820] " hjl.tools at gmail dot com
2020-11-03 12:30 ` hjl.tools at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).