[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

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
howtos:general_admin:openrc [2017/03/12 07:42 (UTC)] – [See Also] updated links aadityahowtos:general_admin:openrc [2018/09/14 15:33 (UTC)] – add section for errors faced aaditya
Line 138: Line 138:
 At the moment only a subset of the included services have been tested, so some of them may not run correctly. At the moment only a subset of the included services have been tested, so some of them may not run correctly.
  
-If some service does not work try the system provided one in ///etc/rc.d// if available.+If some service does not worktry the system provided one in ///etc/rc.d// (if available).
  
 ==== mysqld ==== ==== mysqld ====
Line 151: Line 151:
   socket = /var/run/mysql/mysql.sock   socket = /var/run/mysql/mysql.sock
  
 +==== Dealing with crashed services ====
 +
 +Sometimes openrc reports a service's status as "crashed". The process may have died or its pid file disappeared/changed.
 +
 +If one tries to start a crashed service, `rc-service` reports:
 +
 +  * WARNING: <service> has already been started
 +
 +So one tries to stop it before starting again.
 +
 +However in some situations, the service does not stop. This leads to a deadlock where one can neither stop the service nor start it. For such cases:
 +
 +  # rc-service <service> zap
 +  * Manually resetting <service> to stopped state
 +
 +**zap** resets the service state, allowing us to start it again.
 +
 +==== Errors while booting ====
 +
 +After installing or updating the **openrc-services** packages, you may get errors like:
 +
 +   * checkpath: owner `netdata:netdata' not found
 +
 +This is because **openrc-services** contains services for some packages not found in the base Slackware install, but present on SBo.
 +
 +These usually go away on their own after the openrc cache is updated.
  
 ====== See Also ====== ====== See Also ======
Line 159: Line 185:
  
 [[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://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]]
  
-[[https://bitbucket.org/aadityabagga/openrc-services-ng|openrc-services repo]]+[[https://gitlab.com/aadityabagga/openrc-services|openrc-services repo]]
  
  
 howtos:general_admin:openrc ()