14835a2262
Seen on running rc-status. ``` ================================================================= ==14636==ERROR: LeakSanitizer: detected memory leaks Indirect leak of 72 byte(s) in 3 object(s) allocated from: #0 0x7f443412dcb7 in __interceptor_malloc /usr/src/debug/sys-devel/gcc-11.2.1_p20220312/gcc-11-20220312/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f443400c727 in xmalloc ../src/includes/helpers.h:64 #2 0x7f443400d1f4 in rc_stringlist_add ../src/librc/librc-stringlist.c:32 #3 0x7f4433fecc34 in get_runlevel_chain ../src/librc/librc.c:390 #4 0x7f4433fedc00 in rc_runlevel_stacks ../src/librc/librc.c:519 #5 0x7f4433ff1d8e in rc_services_in_runlevel_stacked ../src/librc/librc.c:976 #6 0x55be0e8f9517 in main ../src/rc/rc-status.c:407 #7 0x7f44334736cf in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 ``` Signed-off-by: Sam James <sam@gentoo.org> |
||
---|---|---|
.github/workflows | ||
bash-completion | ||
ci | ||
conf.d | ||
etc | ||
init.d | ||
local.d | ||
man | ||
pkgconfig | ||
sh | ||
src | ||
support | ||
sysctl.d | ||
test | ||
tools | ||
zsh-completion | ||
.cirrus.yml | ||
.clangd | ||
.gitignore | ||
.travis.yml | ||
agetty-guide.md | ||
AUTHORS | ||
BUSYBOX.md | ||
ChangeLog | ||
FEATURE-REMOVAL-SCHEDULE.md | ||
HISTORY.md | ||
init-guide.md | ||
LICENSE | ||
meson_options.txt | ||
meson.build | ||
NEWNET.md | ||
NEWS.md | ||
README.md | ||
runit-guide.md | ||
s6-guide.md | ||
service-script-guide.md | ||
STYLE-GUIDE.md | ||
supervise-daemon-guide.md | ||
TODO | ||
user-guide.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.