Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 496510 - sys-libs/glibc with net-mail/mailbase - /etc/mail/aliases vs /etc/aliases
Summary: sys-libs/glibc with net-mail/mailbase - /etc/mail/aliases vs /etc/aliases
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: glibc-2.27
  Show dependency tree
 
Reported: 2013-12-30 16:51 UTC by Kevin Bryan
Modified: 2018-12-30 09:22 UTC (History)
2 users (show)

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


Attachments
1.patch (1.patch,390 bytes, patch)
2018-10-21 08:13 UTC, Pacho Ramos
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Bryan 2013-12-30 16:51:06 UTC
glibc's nss_files, when used for aliases, expects the file to be /etc/aliases.  mailbase installs /etc/mail/aliases, and that is where postfix and exim currently look for it, although only because of Gentoo patches: bug 75361 and bug 21480, respectively.

I'm not sure what the motivation for moving it into /etc/mail was, but if that's where it is to stay, then glibc needs to be patched to look for it there as well, otherwise the command 'getent aliases' doesn't work.
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2017-08-23 20:39:53 UTC
Patches welcome.
Comment 2 Pacho Ramos gentoo-dev 2018-10-21 08:13:06 UTC
Created attachment 552068 [details, diff]
1.patch

isn't this enough?
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2018-10-22 20:35:18 UTC
(In reply to Pacho Ramos from comment #2)
> Created attachment 552068 [details, diff] [details, diff]
> 1.patch
> 
> isn't this enough?

Should be. 

Added to 2.28 branch, will be in patchset 3
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2018-12-30 09:22:54 UTC
Fixed in ~arch, closing.