Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 299687

Summary: sys-libs/glibc: nscd init script unnecessarily depends on binutils
Product: Gentoo Linux Reporter: Faustus <orlovm>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Faustus 2010-01-05 01:35:59 UTC
I assume that nscd should be able to function on systems without a toolchain.

However, in /etc/init.d/nscd:
get_pidfile() {
    strings /usr/sbin/nscd | grep nscd.pid
}

strings is a part of binutils.

I don't understand why it's not just /var/run/nscd/nscd.pid, but if it's necessary, then, e.g.,
    cat /usr/sbin/nscd | tr '\0' '\n' | grep -a nscd.pid
can be used instead.

Reproducible: Always

Steps to Reproduce:
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-01-05 14:04:51 UTC
Re-emerge glibc, I fixed this a looong time ago ;)

*** This bug has been marked as a duplicate of bug 285308 ***