Go to file
Anna (navi) Figueiredo Gomes 863a55524f *-daemon: filter EINFO_ and SVCNAME variables as well 2025-06-19 00:54:23 +02:00
.github/workflows CI: Add github code quality analysis (codeql) 2025-04-05 16:58:44 +02:00
bash-completion remove the openrc-service-script bash completion 2024-06-28 14:41:24 -05:00
ci rewrite tests (#515) 2022-04-16 15:13:08 -05:00
conf.d build: drop 'os' option and use host_machine.system() 2025-05-27 13:38:43 +02:00
etc build: drop 'os' option and use host_machine.system() 2025-05-27 13:38:43 +02:00
init.d build: drop 'os' option and use host_machine.system() 2025-05-27 13:38:43 +02:00
local.d migrate fully to meson build system 2022-04-06 10:51:55 -05:00
man build: drop 'os' option and use host_machine.system() 2025-05-27 13:38:43 +02:00
runlevels build: drop 'os' option and use host_machine.system() 2025-05-27 13:38:43 +02:00
sh binfmt: also look in /usr/local/lib/binfmt.d 2025-06-07 12:27:49 +02:00
src *-daemon: filter EINFO_ and SVCNAME variables as well 2025-06-19 00:54:23 +02:00
support *: fix some typos 2025-04-04 00:30:01 +02:00
sysctl.d migrate fully to meson build system 2022-04-06 10:51:55 -05:00
test test/check-xfunc-usage.sh: allow '__attribute__ ((malloc ())' 2024-07-23 15:14:35 -05:00
tools build: remove the meson_runlevels script 2025-04-29 16:58:03 +02:00
zsh-completion migrate fully to meson build system 2022-04-06 10:51:55 -05:00
.cirrus.yml ci: update FreeBSD releases we test against 2024-03-31 18:31:19 -05:00
.clangd Add clangd support for development 2022-03-31 00:52:36 -05:00
.gitignore migrate fully to meson build system 2022-04-06 10:51:55 -05:00
.travis.yml update travis ci irc notifications 2021-08-14 15:05:07 -05:00
AUTHORS supervisor=s6: rework support 2025-05-20 13:30:13 +02:00
BUSYBOX.md Reformat and fix titles in documentation 2018-01-12 14:10:42 -06:00
CODE_OF_CONDUCT.md add CoC based on the Contributor Covenant project 2023-01-21 22:01:15 -06:00
FEATURE-REMOVAL-SCHEDULE.md librc: Remove rc_getline. 2024-09-24 13:36:13 -05:00
HISTORY.md Reformat and fix titles in documentation 2018-01-12 14:10:42 -06:00
LICENSE LICENSE: Change year to 2023 (from 2015!!!) 2023-01-08 09:05:18 -05:00
NEWNET.md NEWNET.md: fix the title 2021-04-03 15:18:30 -05:00
NEWS.md update news 2025-04-19 03:09:33 +02:00
README.md build: drop ROOTPREFIX setting 2024-09-23 13:23:12 -05:00
RELEASE-PROCESS.md add document describing the release process 2025-06-18 08:23:46 -05:00
STYLE-GUIDE.md STYLE-GUIDE: modernize bug tag to match Gentoo usage 2024-10-26 22:01:57 +02:00
TODO Add a potential future problem I can see with metric calculation and interfaces that change often. 2012-03-02 19:51:09 +00:00
agetty-guide.md Reformat and fix titles in documentation 2018-01-12 14:10:42 -06:00
init-guide.md Delete stray text. 2020-01-11 11:15:56 -06:00
meson.build build: specify kvm/libcap dependency more clearly 2025-05-27 13:38:43 +02:00
meson_options.txt build: drop 'os' option and use host_machine.system() 2025-05-27 13:38:43 +02:00
runit-guide.md Reformat and fix titles in documentation 2018-01-12 14:10:42 -06:00
s6-guide.md supervisor=s6: rework support 2025-05-20 13:30:13 +02:00
service-script-guide.md service-script-guide: improve markup 2025-04-29 19:32:50 +02:00
supervise-daemon-guide.md supervise-daemon-guide.md: adjust markdown formatting. No logic/text changes were made. 2023-12-16 09:10:18 -05:00
user-guide.md docs: fix spelling errors/typos 2025-03-05 19:23:16 +01:00

README.md

OpenRC README

OpenRC is a dependency-based init system that works with the system-provided init program, normally /sbin/init.

building and installing

OpenRC uses the meson build system, so use the usual methods for this build system to build and install.

Notes

We don't support building a static OpenRC with PAM.

PKG_PREFIX should be set to where packages install to by default.

LOCAL_PREFIX should be set to where user maintained packages are. Only set LOCAL_PREFIX if different from PKG_PREFIX.

rc and rc.shutdown are the hooks from the BSD init into OpenRC.

devd.conf is modified from FreeBSD to call /etc/rc.devd which is a generic hook into OpenRC.

inittab is the same, but for SysVInit as used by most Linux distributions. This can be found in the support folder.

Obviously, if you're installing this onto a system that does not use OpenRC by default then you may wish to backup the above listed files, remove them and then install so that the OS hooks into OpenRC.

If you are installing this onto a system which has separate / and /usr file systems and expects / to be mounted before /usr, you will need to make sure the appropriate pieces are installed on / by passing the appropriate options to "meson setup" as follows:

$ meson setup \
        --bindir /bin --libdir /lib64 --libexecdir /lib --sbindir /sbin \
        build_path

Discussions

We are testing discussions, so feel free to open topics there.

Reporting Bugs

Please report bugs on our bug tracker.

If you can contribute code , please feel free to do so by opening pull requests.

IRC Channel

We have an official irc channel, #openrc on the libera network. Please connect your irc client to irc.libera.chat and join #openrc on that network.