public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug nscd/14282] New: Make nss/nscd vardb use $(localstatedir)
@ 2012-06-22 18:26 siddhesh at redhat dot com
  2014-06-18  4:32 ` [Bug nscd/14282] " fweimer at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: siddhesh at redhat dot com @ 2012-06-22 18:26 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=14282

             Bug #: 14282
           Summary: Make nss/nscd vardb use $(localstatedir)
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: nscd
        AssignedTo: unassigned@sourceware.org
        ReportedBy: siddhesh@redhat.com
                CC: drepper.fsp@gmail.com
    Classification: Unclassified


Currently the vardb location is hard-coded in nss and nscd as /var/db. this
should ideally use $(localstatedir) so that an installation into a non-standard
path (especially nscd) does not tinker with the default installation.

Steps to Reproduce:

1) Build glibc with a prefix other than /usr
2) make install
3) Run the nscd from the installation

Expected results:

nscd should generate its db files in the install prefix.

Actual Results:

nscd tries to generate and use the db files in /var/db/nscd:

[siddhesh@localhost glibc-sandbox ]$ LD_LIBRARY_PATH=./lib:/lib64:/usr/lib64
sbin/nscd -d
Fri Jun 22 18:25:23 2012 - 16894: register trace file /etc/hosts for database
hosts
Fri Jun 22 18:25:23 2012 - 16894: register trace file /etc/resolv.conf for
database hosts
sbin/nscd: cannot access '/var/db/nscd/hosts'

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug nscd/14282] Make nss/nscd vardb use $(localstatedir)
  2012-06-22 18:26 [Bug nscd/14282] New: Make nss/nscd vardb use $(localstatedir) siddhesh at redhat dot com
@ 2014-06-18  4:32 ` fweimer at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: fweimer at redhat dot com @ 2014-06-18  4:32 UTC (permalink / raw)
  To: glibc-bugs

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

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


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

end of thread, other threads:[~2014-06-18  4:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-22 18:26 [Bug nscd/14282] New: Make nss/nscd vardb use $(localstatedir) siddhesh at redhat dot com
2014-06-18  4:32 ` [Bug nscd/14282] " fweimer at redhat 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).