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

Bug 505518

Summary: =sys-libs/glibc-2.19 - nscd tmpfiles.d file needs to be installed with .conf suffix
Product: Gentoo Linux Reporter: dwfreed <dwfreed>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED FIXED    
Severity: normal CC: anarchy
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Fix systemd_newtmpfilesd call to specify destination filename ending in .conf
Fix systemd_newtmpfilesd call to specify destination filename ending in .conf

Description dwfreed 2014-03-24 02:09:17 UTC
Created attachment 373386 [details, diff]
Fix systemd_newtmpfilesd call to specify destination filename ending in .conf

When compiled with USE=nscd, glibc attempts to install the upstream-provided tmpfiles.d file, but doesn't call systemd_newtmpfilesd with a second argument to specify what the installed filename should be.  Because tmpfiles.d requires that all installed files end in .conf, and the upstream-provided file is named nscd.tmpfiles, systemd_newtmpfilesd errors out with the message "tmpfiles.d files need to have .conf suffix."  I've attached a patch to fix the src_install eblit to call systemd_newtmpfilesd with the second argument.
Comment 1 dwfreed 2014-03-24 03:40:18 UTC
Created attachment 373398 [details, diff]
Fix systemd_newtmpfilesd call to specify destination filename ending in .conf

Fixed patch format (hopefully).
Comment 2 SpanKY gentoo-dev 2014-03-25 00:35:01 UTC
should be all set now in the tree; thanks for the report!

Commit message: Update nscd tmpfiles install
http://sources.gentoo.org/sys-libs/glibc/files/eblits/src_install.eblit?r1=1.34&r2=1.35