Go to file
Anna (navi) Figueiredo Gomes 171ba6d836 librc: Use proper string length in file_regex.
Currently the code uses the total size of the buffer as the bounds for
looping \0 separated fields, which leads to reading uninitialized data
and possibly overrun the buffer during regexec.

Observed on musl while matching /proc/cpuinfo.
2024-09-18 12:35:16 -05:00
.github/workflows simplify github workflows using the matrix syntax 2022-04-16 15:15:15 -05:00
bash-completion remove the openrc-service-script bash completion 2024-06-28 14:41:24 -05:00
ci
conf.d enable confd cgroups mount options 2024-01-12 11:17:14 -06:00
etc Podman detection 2024-07-25 14:09:10 +02:00
init.d init.d/root.in: fix eend message 2024-07-28 04:07:36 +02:00
local.d
man Podman detection 2024-07-25 14:09:10 +02:00
sh Podman detection 2024-07-25 14:09:10 +02:00
src librc: Use proper string length in file_regex. 2024-09-18 12:35:16 -05:00
support multiple spelling and typo fixes 2022-04-30 21:32:32 -05:00
sysctl.d
test test/check-xfunc-usage.sh: allow '__attribute__ ((malloc ())' 2024-07-23 15:14:35 -05:00
tools build: clean up unused arguments in meson_final.sh 2024-07-23 12:52:35 -05:00
zsh-completion
.cirrus.yml ci: update FreeBSD releases we test against 2024-03-31 18:31:19 -05:00
.clangd
.gitignore
.travis.yml
AUTHORS
BUSYBOX.md
CODE_OF_CONDUCT.md add CoC based on the Contributor Covenant project 2023-01-21 22:01:15 -06:00
FEATURE-REMOVAL-SCHEDULE.md
HISTORY.md
LICENSE LICENSE: Change year to 2023 (from 2015!!!) 2023-01-08 09:05:18 -05:00
NEWNET.md
NEWS.md update news 2024-09-09 14:54:05 -05:00
README.md
STYLE-GUIDE.md
TODO
agetty-guide.md
init-guide.md
meson.build build: drop the required keyword when set to true 2024-09-13 11:20:06 -05:00
meson_options.txt make libcap a hard requirement 2024-09-13 11:20:06 -05:00
runit-guide.md
s6-guide.md
service-script-guide.md
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

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.

ROOTPREFIX should be set when the root path is different from '/'.

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.

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.