* [gentoo-dev] /lib/modprobe.d vs. /etc/modprobe.d
@ 2013-01-27 15:08 Samuli Suominen
2013-01-27 16:00 ` Rich Freeman
0 siblings, 1 reply; 3+ messages in thread
From: Samuli Suominen @ 2013-01-27 15:08 UTC (permalink / raw
To: gentoo-dev
I see a lot of packages installing /etc/modprobe.d when it should be
treated like /etc/udev, so only generated files and users own files
I'm suggesting converting ebuilds to install into /lib/modprobe.d and
then tell users to copy it to /etc/modprobe.d for editing and replacing
the run of the same from /lib/modprobe.d
just like you would now copy .rules to /etc/udev/rules.d and edit them
there, instead of directly in /lib/udev/rules.d/
/lib should be static, just like /usr, and should be allowed to mount RO
did I miss something?
if not, i'll open a Tracker to get this done
(when do we get rid of /usr/portage again, and when will /usr/src be
symlink to somewhere where it can be writable?)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-dev] /lib/modprobe.d vs. /etc/modprobe.d
2013-01-27 15:08 [gentoo-dev] /lib/modprobe.d vs. /etc/modprobe.d Samuli Suominen
@ 2013-01-27 16:00 ` Rich Freeman
2013-01-27 16:48 ` Samuli Suominen
0 siblings, 1 reply; 3+ messages in thread
From: Rich Freeman @ 2013-01-27 16:00 UTC (permalink / raw
To: gentoo-dev
On Sun, Jan 27, 2013 at 10:08 AM, Samuli Suominen <ssuominen@gentoo.org> wrote:
> I see a lot of packages installing /etc/modprobe.d when it should be treated
> like /etc/udev, so only generated files and users own files
On a related note, I just noticed that /etc/udev is loaded with
orphans in my case, and I can't imagine I'm the only one. When we
make moves like this we should include either news items or elogs or
something to tell users to clean out the cruft, otherwise config
protection tends to leave it there, and then users fail to get updates
since their cruft overrides them.
I assume that files that aren't user-edited can just be safely deleted?
Rich
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-dev] /lib/modprobe.d vs. /etc/modprobe.d
2013-01-27 16:00 ` Rich Freeman
@ 2013-01-27 16:48 ` Samuli Suominen
0 siblings, 0 replies; 3+ messages in thread
From: Samuli Suominen @ 2013-01-27 16:48 UTC (permalink / raw
To: gentoo-dev
On 27/01/13 18:00, Rich Freeman wrote:
> On Sun, Jan 27, 2013 at 10:08 AM, Samuli Suominen <ssuominen@gentoo.org> wrote:
>> I see a lot of packages installing /etc/modprobe.d when it should be treated
>> like /etc/udev, so only generated files and users own files
>
> On a related note, I just noticed that /etc/udev is loaded with
> orphans in my case, and I can't imagine I'm the only one. When we
> make moves like this we should include either news items or elogs or
> something to tell users to clean out the cruft, otherwise config
> protection tends to leave it there, and then users fail to get updates
> since their cruft overrides them.
>
> I assume that files that aren't user-edited can just be safely deleted?
I don't have anything there myself; only had 80-net-name-slot.rules and
wanted new networking scheme so deleted that one too.
Most certainly 70-persistent-* cruft can go if you haven't edited them
yourself.
What else do you have?
Currently the postinst messages of udev cover these two cases of 70-
files, -cd.rules and -net.rules
And you are right, if they are not user edited then they can go. There
is no "rule_generator" anymore in new udev so there shouldn't be any
generated files anymore either, AFAIK
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-01-27 16:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-27 15:08 [gentoo-dev] /lib/modprobe.d vs. /etc/modprobe.d Samuli Suominen
2013-01-27 16:00 ` Rich Freeman
2013-01-27 16:48 ` Samuli Suominen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox