Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 383373 - sys-apps/openrc: add warning for deprecated /etc/conf.d/rc
Summary: sys-apps/openrc: add warning for deprecated /etc/conf.d/rc
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: OpenRC (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: OpenRC Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-17 16:30 UTC by Tobias Heinlein (RETIRED)
Modified: 2011-09-17 20:40 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 Tobias Heinlein (RETIRED) gentoo-dev 2011-09-17 16:30:57 UTC
As discussed with idl0r:

I stumbled across the warning "/etc/conf.d/local should be removed". The same should be done for /etc/conf.d/rc.
Comment 1 William Hubbs gentoo-dev 2011-09-17 17:45:56 UTC
I would vote for closing this as wontfix for the following reasons:

1) /etc/conf.d/rc is never used in openrc, and
2) the migration guide specifically instructs you to remove this file
after you migrate the settings.
Comment 2 William Hubbs gentoo-dev 2011-09-17 18:46:27 UTC
Looking at this further,

there is already a warning in the openrc ebuild for this in pkg_preinst.
This is a migration issue, so I don't think the warning should go in the
openrc code base.
Comment 3 William Hubbs gentoo-dev 2011-09-17 18:51:59 UTC
I just ran the following test as root:

touch /etc/conf.d/rc
emerge -1 openrc

This gives a warning in the emerge output about migrating /etc/conf.d/rc
to /etc/rc.conf and removing the file, so I think we are covered for
this bug.

If no one disagrees, I will close this bug as invalid.
Comment 4 William Hubbs gentoo-dev 2011-09-17 20:04:43 UTC
After researching this further, I think invalid is a better resolution
because:

1) the openrc ebuilds have warnings about removing this file as shown
above.
2) Openrc never supported /etc/conf.d/rc, so if we add this to the code
base, we would be adding support for a file just to warn about it.