Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 396145 - sys-apps/baselayout: /etc/modprobe.d/aliases.conf provides useless aliases
Summary: sys-apps/baselayout: /etc/modprobe.d/aliases.conf provides useless aliases
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-26 22:39 UTC by Gustavo Sverzut Barbieri
Modified: 2011-12-27 01:12 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gustavo Sverzut Barbieri 2011-12-26 22:39:55 UTC
net-dialup/ppp already ships with /etc/modprobe.d/ppp.conf for required module aliases, it's not required to duplicate this in /etc/modprobe.d/aliases.conf.

Actually the kernel modules provides these alias and they're indexed in the optimized index /lib/modules/`uname -r`/modules.alias.bin used by modprobe. If possible do not provide these replicas (should I fill a bug to net-dialup/ppp as well?)



Reproducible: Always
Comment 1 SpanKY gentoo-dev 2011-12-27 01:04:53 UTC
i doubt the kernel has always provided these things, and having the aliases duplicated causes no harm, so i'm not inclined to "fix" things
Comment 2 Gustavo Sverzut Barbieri 2011-12-27 01:12:02 UTC
Well, the kernel provides this for a LONG time, likely since .modinfo section started to carry "alias" fields, maybe before that during ".modalias" days as well.

Indeed there is no harm, in the sense bad things will happen, but the fix is super-simple and I wonder why not take it? Just delete the ppp lines and you're good to go.

This will avoid some crap into modprobe lookups. Not an amazing impact, for sure, but if it could be easily avoided, why not?