Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 218033 - sys-apps/openrc shouldn't offer to remove previously migrated /etc/modules.autoload.d/kernel-2.x info
Summary: sys-apps/openrc shouldn't offer to remove previously migrated /etc/modules.au...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 295613
  Show dependency tree
 
Reported: 2008-04-16 21:58 UTC by Chris Smith
Modified: 2010-01-20 03:21 UTC (History)
2 users (show)

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 Chris Smith 2008-04-16 21:58:40 UTC
openrc-0.2.2 seems to do a good job of migrating /etc/modules.autoload.d/kernel-2.x on initial install, but once /etc/modules.autoload.d/ is deleted subsequent installs shouldn't offer to delete the previously migrated data

Reproducible: Always

Steps to Reproduce:
1.emerge openrc
2./etc/modules.autoload.d/kernel-2.x migrated
3.emerge openrc

Actual Results:  
wants to remove the previously migrated data from /etc/conf.d/modules

Expected Results:  
it shouldn't try to perform a new migration and offer to delete the previously migrated data during the etc-update or dispatch-conf
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2008-04-17 00:31:23 UTC
I'm leaning towards not providing a default file for this at all. Just sticking this file in /usr/share/doc/openrc/modules.example

Mike, you're feeling?

Heck I'd do the same thing with the net script.. just not include it in /etc/conf.d/
Comment 2 SpanKY gentoo-dev 2008-04-17 00:45:32 UTC
net and modules are in the same boat ... only provide them if they dont exist
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-12-19 16:15:48 UTC
I still see this [same]code block in 0.5.3, so I'll mark it as a blocker of the stablereq.
Comment 4 William Hubbs gentoo-dev 2010-01-19 22:44:34 UTC
Is this bug still an issue?

Looking over the code in pkg_preinst and migrate_from_baselayout_1 it
doesn't seem to be since /etc/modules.autoload.d will be deleted once
it has been migrated.
Comment 5 Chris Smith 2010-01-19 22:53:17 UTC
(In reply to comment #4)
> Is this bug still an issue?

I haven't seen any issues with recent upgrades.
Comment 6 William Hubbs gentoo-dev 2010-01-20 03:21:01 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > Is this bug still an issue?
> I haven't seen any issues with recent upgrades.

I am closing this since the issue is fixed.

Please re-open if this is still an issue.

Thanks,

William