Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 505518 - =sys-libs/glibc-2.19 - nscd tmpfiles.d file needs to be installed with .conf suffix
Summary: =sys-libs/glibc-2.19 - nscd tmpfiles.d file needs to be installed with .conf ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-03-24 02:09 UTC by dwfreed
Modified: 2014-03-25 00:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Fix systemd_newtmpfilesd call to specify destination filename ending in .conf (file_505518.txt,527 bytes, patch)
2014-03-24 02:09 UTC, dwfreed
Details | Diff
Fix systemd_newtmpfilesd call to specify destination filename ending in .conf (file_505518.txt,533 bytes, patch)
2014-03-24 03:40 UTC, dwfreed
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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