Summary: | sys-apps/openrc should warn users about deprecation of conf.d/local.st{art,op} | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Markos Chandras (RETIRED) <hwoarang> |
Component: | [OLD] baselayout | Assignee: | OpenRC Team <openrc> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | darkside, rose |
Priority: | High | Keywords: | InOverlay |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Markos Chandras (RETIRED)
![]() The situation seems rather inconsistent. init.d/local says that local.start/stop are "old" # Support old configs if [ -e /etc/conf.d/local.start ]; then . /etc/conf.d/local.start fi But it is making use of them if the files are there. So even if you have scripts in conf.d/local , the init script will use .start and .stop Shouldn't be there a warning message about removing the old files etc without having to dig into the init script? Ok seems like I was wrong. But still, openrc should spit an ewarn message or something about old files and let users know that they should migrate their scripts to the new location (In reply to comment #3) > openrc should spit an ewarn message or > something about old files and let users know that they should migrate their > scripts to the new location > And/or add it to the OpenRC migration guide. http://www.gentoo.org/doc/en/openrc-migration.xml I have added warnings to /etc/init.d/local concerning migrating the /etc/conf.d/local.start and /etc/conf.d/local.stop files to /etc/conf.d/local. Openrc team, do we need to put this in the migration guide? (In reply to comment #5) > I have added warnings to /etc/init.d/local concerning migrating the > /etc/conf.d/local.start and /etc/conf.d/local.stop files to /etc/conf.d/local. > > Openrc team, do we need to put this in the migration guide? > I would prefer to see this in migration guide, within next few releases we will stop supporting local.start/local.stop completely to ensure we force the users to migrate their settings. the ebuilds now migrate & warn for you http://sources.gentoo.org/sys-apps/openrc/openrc-0.6.3.ebuild?r1=1.2&r2=1.3 http://sources.gentoo.org/sys-apps/openrc/openrc-9999.ebuild?r1=1.72&r2=1.73 *** Bug 345739 has been marked as a duplicate of this bug. *** (In reply to comment #7) > the ebuilds now migrate & warn for you Yes, they do, thanks. But unfortunately I'm not able to find out how to define actions to trigger on boot or shutdown. How can I find that out?? Thanks! this isnt a support forum. please seek assistance on the forums and/or user mailing lists. |