[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Diferencias

Muestra las diferencias entre dos versiones de la página.

Enlace a la vista de comparación

Ambos lados, revisión anteriorRevisión previa
Próxima revisión
Revisión previa
es:howtos:general_admin:openrc [2019/02/11 00:56 (UTC)] – [mysqld] slackwarespanoles:howtos:general_admin:openrc [2019/02/18 20:34 (UTC)] (actual) – [Migración de /etc/init.d a /etc/openrc/init.d] slackwarespanol
Línea 1: Línea 1:
 <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). -->
-<note warning>En proceso de traducción. Victor</note>+
 ====== OpenRC ====== ====== OpenRC ======
  
Línea 175: Línea 175:
   socket = /var/run/mysql/mysql.sock   socket = /var/run/mysql/mysql.sock
  
-==== Dealing with crashed services ====+==== Tratar con servicios colapsados ====
  
-Sometimes openrc reports a service's status as "crashed"The process may have died or its pid file disappeared/changed.+A veces, openrc informa del estado de un servicio como "bloqueado"El proceso puede haber muerto o su archivo pid desapareció cambió.
  
-If one tries to start a crashed service, `rc-service` reports:+Si se intenta iniciar un servicio bloqueadolos informes de `rc-service`:
  
   * WARNING: <service> has already been started   * WARNING: <service> has already been started
 +Así que uno intenta detenerlo antes de volver a empezar.
  
-So one tries to stop it before starting again. +Sin embargo, en algunas situacionesel servicio no se detieneEsto conduce un punto muerto en el que no se puede detener el servicio ni iniciarloPara tales casos:
- +
-However in some situationsthe service does not stopThis leads to deadlock where one can neither stop the service nor start itFor such cases:+
  
   # rc-service <service> zap   # rc-service <service> zap
Línea 194: Línea 193:
 ===== openrc-init ===== ===== openrc-init =====
  
-Since version **0.25**, openrc provides //openrc-init// which can be used to boot the system.+Desde la versión ** 0.25 **, openrc proporciona // openrc-init // que puede usarse para iniciar el sistema.
  
-This allows switching between OpenRC and other init systemsfor example sysvinit, just by changing boot parameters.+Esto permite cambiar entre OpenRC y otros sistemas init, por ejemplo, sysvinit, simplemente cambiando los parámetros de arranque.
  
-For more infocheck out the [[https://wiki.gentoo.org/wiki/OpenRC#openrc-init|Gentoo wiki]].+Para obtener más informaciónconsulte la [[https://wiki.gentoo.org/wiki/OpenRC#openrc-init|Gentoo wiki]].
  
-===== Migrating from /etc/init.d to /etc/openrc/init.d =====+===== Migración de /etc/init.d /etc/openrc/init.d =====
  
-OpenRC 0.39+, as shipped via SBo, changes the service and configuration directory to ///etc/openrc// instead of ///etc//.+OpenRC 0.39+, tal como se envió a través de SBo, cambia el directorio de servicio y configuración a ///etc/openrc // en lugar de ///etc//.
  
-This is being done to maintain greater compatibility with a vanilla Slackware install.+Esto se está haciendo para mantener una mayor compatibilidad con una instalación Slackware vanilla.
  
-Existing services will need to be migrateddetails below on how it can be done.+Los servicios existentes deberán migrarsea continuación se detallan los detalles sobre cómo se puede hacer.
  
-=== 1. Install openrc-0.39.2 and openrc-services-20181107 ===+=== 1. Instale openrc-0.39.2 openrc-services-20181107 ===
  
-These packages ship the configuration and service files in ///etc/openrc//.+Estos paquetes envían los archivos de configuración y servicio en ///etc/openrc //.
  
-=== 2. Migrate existing services ===+=== 2. Migra los servicios existentes ===
  
-This involves steps:+Esto implica pasos:
  
   # migrate existing services   # migrate existing services
Línea 269: Línea 268:
   done   done
  
-Config changes found above can be updated by hand or copy pasted in new location.+Los cambios de configuración encontrados anteriormente se pueden actualizar manualmente o pegar en una nueva ubicación.
  
-=== 3. Check and reboot ===+=== 3. Revisar y reiniciar ===
  
-Verify if ''rc-status'' is showing all services (it may show them as stopped).+Verifique si '' rc-status '' está mostrando todos los servicios (puede mostrarlos como detenidos).
  
-Reboot and check whether things are working expectedmake changes as necessary.+Reinicie y verifique si las cosas funcionan correctamenterealice los cambios necesarios.
  
-The old files and folders can be renamed (or removed).+Los archivos y carpetas antiguos pueden ser renombrados (o eliminados).
  
   mv /etc/init.d /etc/init.d-openrc-bkp   mv /etc/init.d /etc/init.d-openrc-bkp
Línea 284: Línea 283:
   mv /etc/runlevels /etc/runlevels-openrc-bkp   mv /etc/runlevels /etc/runlevels-openrc-bkp
   mv /etc/rc.conf /etc/rc.conf-openrc.bkp   mv /etc/rc.conf /etc/rc.conf-openrc.bkp
- +   
-Finallyany changes done to the default Slackware system can be reverted+Finalmentecualquier cambio realizado en el sistema Slackware predeterminado puede revertirse
 +  
   mv /etc/init.d-bkp /etc/init.d   mv /etc/init.d-bkp /etc/init.d
  
-====== See Also ======+====== Ver también ======
  
 [[https://en.wikipedia.org/wiki/OpenRC|Wikipedia]] [[https://en.wikipedia.org/wiki/OpenRC|Wikipedia]]
Línea 297: Línea 296:
 [[https://github.com/OpenRC/openrc/|Github]] [[https://github.com/OpenRC/openrc/|Github]]
  
-[[https://github.com/OpenRC/openrc/blob/master/user-guide.md|User guide]]+[[https://github.com/OpenRC/openrc/blob/master/user-guide.md|Guía del usuario]]
  
 [[https://www.linuxquestions.org/questions/slackware-14/using-openrc-on-slackware-4175542567/|LQ thread]] [[https://www.linuxquestions.org/questions/slackware-14/using-openrc-on-slackware-4175542567/|LQ thread]]
Línea 308: Línea 307:
 <!-- * Original source: [[http://some.website.org/some/page.html]] --> <!-- * Original source: [[http://some.website.org/some/page.html]] -->
 <!-- Authors are allowed to give credit to themselves! --> <!-- Authors are allowed to give credit to themselves! -->
-Originally written by [[wiki:user:aaditya | Aaditya]]+   Originalmente escrito por[[wiki:user:aaditya | Aaditya]] 
 +   * Traducido por:  [[wiki:user: slackwarespanol | Victor]] 2019/02/11 01:12 (UTC)  
 <!-- * Contributions by [[wiki:user:yyy | User Y]] --> <!-- * Contributions by [[wiki:user:yyy | User Y]] -->
  
 es:howtos:general_admin:openrc ()