Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [openrc]

OpenRC is a flexible init system. It was created for and is used primarily by Gentoo.

Filter by
Sorted by
Tagged with
0 votes
0 answers
27 views

OpenRC not starting services

For testing purposes, I need a quick way to generate a root filesystem to use for booting freshly built Linux kernels. I've been doing this by using Docker to create a filesystem and then transferring ...
larsks's user avatar
  • 36k
0 votes
0 answers
48 views

how to know graphic current user(s) and DISPLAY(s) by root

Gentoo, openrc, X11. Hi, For my suspend process, I need to get something like [user] [DISPLAY] for example: chris :0 I can do it with: for sessionid in $(/bin/loginctl list-sessions --no-legend | ...
Chris972's user avatar
1 vote
1 answer
946 views

How to know the boot time (kernel + init) in Alpine using openRC?

I made a bit of research on the matter and also asked ChatGPT, but there doesn't seem to be a way to measure full boot time of an alpine distribution with OpenRC. Using dmesg, I can see the last ...
Abdellah Stands with Gaza's user avatar
0 votes
0 answers
67 views

Manually installing a Kernel/Init System

I would like to create a lightweight Linux distribution for my Raspberry Pi 400 (for educational purposes). I have looked at Buildroot and Gentoo Linux, but both require compiling OS components from ...
GooseDeveloper's user avatar
0 votes
0 answers
472 views

Problem connecting to MS Office365 e-mail with Evolution

I am trying to connect to my workplace's Office365 e-mail with Evolution mail and I am getting the following error when I try to authenticate: Failed to obtain access token from address “https://login....
Time4Tea's user avatar
  • 2,405
2 votes
0 answers
290 views

How not to load Tumbler service at XFCE login on Alpine Linux

When I log in to XFCE, it seems /usr/lib/tumbler-1/tumblerd is started and uses relatively a large amount of memory. I do not need thumbnails. I want to remove it, but it is required for XFCE, so I ...
Damn Vegetables's user avatar
0 votes
0 answers
263 views

LibreOffice systematically crashes my Linux system

When I launch LibreOffice, I get the widget with the LibreOffice logo (the one displayed while the application loads), then my screen blinks three/four times, then it turns black. All I can do at that ...
Pietro's user avatar
  • 573
2 votes
0 answers
53 views

Why rc-status changes ip_forward state and how to prevent it?

I've got some issue with gentoo rc-status (currently using sys-apps/openrc-0.45.2-r1 but it was happening long time before this version). From time to time some of machines are loosing ip_forwarding. ...
DevilaN's user avatar
  • 1,986
1 vote
1 answer
2k views

Alpine Linux: Convert Podman systemd to openrc

I use Alpine Linux and podman command to generate container systemd Command: podman generate systemd -n test -f Output: # container-test # autogenerated by Podman 3.4.7 # Fri Apr 29 02:29:47 CEST ...
Rafal Niznik's user avatar
0 votes
1 answer
201 views

Cannot install Linux after upgrading SSD drive, issues with GRUB

This was my previous, working configuration: SSD1 - 256GB NVMe - Windows 10 SSD2 - 512GB SATA - Linux This is my new configuration after an upgrade: SSD1 - 1TB NVMe - Empty, unformatted SSD2 - ...
Pietro's user avatar
  • 573
0 votes
1 answer
595 views

What breaks package compatibility between OpenRC and Systemd

I switched recently to Artix Linux with OpenRC as Init-system. I was using Manjaro before, which uses Systemd. Anyway, I was trying to install some packages I used on Manjaro that I have gotten from ...
Destro's user avatar
  • 5
1 vote
2 answers
3k views

How to disable a particular dbus system service under an openrc system

I know that one can override dbus session services in ~/.local/share/dbus-1/services But it necessarily won't work for system services. Under openrc, I don't get systemd's systemctl command therefore :...
MC68020's user avatar
  • 8,259
1 vote
0 answers
432 views

How does htop measure ram usage? And why do thin inits use 4Bytes of residential memory

I have seen PID1(openRC) get reported as 4Bytes Residential memory usage in Alpine Linux. Right now I am running busybox init on the below machine. How do some of those processes use 4Bytes of memory? ...
jakubby's user avatar
  • 11
1 vote
1 answer
1k views

Bash script: check wan ip periodically and act if IP is changed

I'm new to Bash and I just don't understand how to write a simple script that will do the following. The script should check what public IP I have, and if IP is changed (in case of ISP1 failure or in ...
Winkee's user avatar
  • 11
1 vote
1 answer
2k views

How to Connect to Bluetooth (Adapter) under Artix (Arch) OpenRC

I have a Bluetooth USB adapter that I plug into my desktop PC to help me connect to Bluetooth stuff. It works perfectly under Windows 10. Except that I really can't get it to work with Artix OpenRC ...
psygo's user avatar
  • 201
0 votes
1 answer
694 views

Using openrc and using logrotate causes logging to stop working using Alpine Linux

I'm using a very vanilla openrc service to run a Go application I wrote that spits out logging data to stdout which was working perfectly fine before I enabled logrorate on my application's log files. ...
Ajm113's user avatar
  • 101
0 votes
0 answers
67 views

weird errors at boot and shutdown

I am running Adelie Linux, an independent distro based on musl and openRC as service manager, on a x86_64 laptop. My desktop environment is KDE Plasma 5.18. When the system is shutting down, I notice ...
user avatar
0 votes
1 answer
58 views

Strange keyboard behaviour "k" not available under dwm except dmenu

I'm using a german standard keyboard (Cherry KC 1000, qwertz, with ä, ö, ü, etc.) set to us layout and installed an artix linux (openrc) system from scratch manually and seemingly something very ...
alex's user avatar
  • 993
1 vote
1 answer
436 views

shift altgr combination for console keymap

I am using Artix Linux with OpenRC. I want to define a custom console keymap to generally use the US-design, but add some extra functionality for German umlauts. The following does work: /usr/share/...
maddingl's user avatar
  • 644
1 vote
1 answer
271 views

How can I diagnose my broken X server (Parabola/Arch)?

I am using Parabola GNU/Linux (based on Arch) on an x86 desktop with an nVidia GTX 1050 GPU. I ran pacman -Su yesterday to perform a full system upgrade and it seems to have completely broken my X ...
Time4Tea's user avatar
  • 2,405
1 vote
0 answers
209 views

v4l2 not accepting configuration until after boot

I'm using v4l2 on my Raspberry Pi 3A+ with Alpine Linux but the official Raspberry Pi Kernel/Firmware installed. I'm trying to have my Raspi-Camera autostart and serve a livestream through mjpg-...
msrd0's user avatar
  • 520
2 votes
2 answers
9k views

How to improve startup time of OpenRC system?

My Gentoo system with OpenRC init takes a long time to start, about 24 seconds (measured from GRUB to GDM). I was wondering if there are any recommended ways how to improve this time. But there isn't ...
BlueManCZ's user avatar
  • 1,743
3 votes
1 answer
2k views

Can Systemd-free Artix Linux install packages from parent Arch Linux?

I want to install the Systemd-free Artix Linux, but noticed on DistroWatch that it misses many packages. Being an Arch based distribution, is it possible to install packages directly from Arch ...
Pietro's user avatar
  • 573
2 votes
1 answer
562 views

OpenRC Bluetooth

I recently switched to OpenRC and cannot seem to find any up-to-date information on how to get bluetooth working. Most things on the Arch Wiki seem to be focused around systemd and PulseAudio. ...
pictorexcrucia's user avatar
0 votes
1 answer
3k views

Can't start polkit-mate-authentication-agent

I'm using Mate on Parabola GNU/Linux (based on Arch). I have the polkit-mate-authentication-agent installed and it is supposed to be autostarting on login to the desktop; however, it doesn't seem to ...
Time4Tea's user avatar
  • 2,405
1 vote
1 answer
1k views

Set DM on OpenRC

How do I set a display manager on an OpenRC system? I'm trying to use the Ly display manager. E.g. on a systemd distro I'd do $ sudo systemctl enable ly.service but how do I do it here?
Kied Llaentenn's user avatar
1 vote
0 answers
932 views

Alpine/OpenRC networking fails to start (boot toofast?)

I am using alpine, my primary distro for servers is Arch with NetworkManager or the built-in "netctl". I installed Alpine onto a server. It boots up OK, but the networking never comes up on its own. ...
fdmillion's user avatar
  • 2,918
4 votes
1 answer
4k views

Troubleshooting Gitea openrc script in Alpine: Forking and logging issues

I am trying to write an init script for gitea in alpine. The first code I tried was #!/sbin/openrc-run command=/usr/bin/gitea command_args="web" pidfile=/var/run/git.pid name="Gitea Daemon" ...
karlsebal's user avatar
  • 815
1 vote
2 answers
53 views

servresolv.conf become blank when system is running

I use dhcpcd to manage this file. First, start dhcpcd service, and the file has something with namesever. All things can be done correctly. But this file will become blank after a while. I try ...
Vonfry's user avatar
  • 248
5 votes
1 answer
3k views

Is it possible to run Devuan Ascii with OpenRC init?

I have Devuan Ascii with SysVinit installed. I see that the openRC version is much older in Devuan ascii repository. Has anyone tried Devuan with openRC? Is the parallel starts enabled for openRC?
Confguy2016's user avatar
14 votes
1 answer
9k views

How to view daemon stdout in openrc?

How do I find stdout of a process in openrc? Here's how I created my daemon. /etc/init.d/mydaemon #!/sbin/openrc-run command="python3" command_args="/srv/http/tornado.py" command_background="yes"...
deathangel908's user avatar
1 vote
1 answer
2k views

Gentoo's openrc hangs forever in "caching service dependencies..."

Whenever I boot my gentoo laptop, openrc hangs forever in the "Caching service dependencies..." stage. This causes my computer to be unbootable unless I use a sysrq key to kill it and manually boot ...
sadljkfhalskdjfh's user avatar
1 vote
0 answers
206 views

Why are my Uinput gamepad events not working?

I have a problem from Artix Linux: I want to connect my Wii Remote to use it as a Gamepad, it does not want to work because the uinput module does not want to interpret the events associated with ...
Juan Carlos Terán's user avatar
3 votes
3 answers
3k views

How to set up an OpenRC service to run at "login" level?

I want a specific service of OpenRC to run after my user login through agetty, LightDM (display manager), or any other way. This is because I have a emacs daemon running as OpenRC service for my ...
Manoel Vilela's user avatar
1 vote
1 answer
527 views

How I signalize that a service of OpenRC should start on the hotplugged runlevel?

I have a service called xboxdrvd that is triggered (and only activated/deactivated) by a udev rule, however always calling rc-status I got that the service was started on "manual" runlevel: The ...
Manoel Vilela's user avatar
0 votes
1 answer
580 views

Weird behavior of configuration in OpenRC init script

I'm trying to make a simple OpenRC init script for a service. What I have so far looks like this: #!/sbin/openrc-run CONFIG=${CONFIG:-/etc/pysystemfan.json} pidfile=${PIDFILE:-/var/run/pysystemfan....
cube's user avatar
  • 101
0 votes
1 answer
1k views

Error while starting Docker daemon

I am using Gentoo as Host OS for Docker containers. I have compiled kernel using instructions on page https://wiki.gentoo.org/wiki/Docker#Kernel and I have installed Docker from Gentoo repository. ...
user avatar
5 votes
2 answers
10k views

How do I replace systemd with openrc on Arch Linux when systemd is already installed?

I expect troubles, so don't warn me ;-) . I'm seeking guidance, not warnings. I want to replace systemd on my venerable Arch laptop with OpenRC so I just ran pacman -S openrc. Fine. Now there are a ...
user avatar
1 vote
0 answers
80 views

On OpenRC is there any conditionals like --ifcrashed?

I want execute a command if a given service is crashed, but I only found that conditionals: sudo openrc -s <service> --ifstarted <command> sudo openrc -s <service> --ifstopped <...
Manoel Vilela's user avatar
1 vote
0 answers
184 views

HP printer won't work on Debian w/ OpenRC

I have successfully converted Debian 8.7 from systemd to OpenRC via this guide. The latter portion of the guide says this: Let's say you want package hplip (printing software for HP printers), a ...
InitializeSahib's user avatar
4 votes
2 answers
763 views

Does OpenRC support cgroups v2?

A simple question: does OpenRC support cgroups version 2? It seems that only version 1 is supported. And if it supports v2, how do I enable it?
Megver83's user avatar
  • 301
1 vote
1 answer
821 views

What effect does rc_sys="docker" have?

The official Gentoo Dockerfile contains this line: RUN sed -e 's/#rc_sys=""/rc_sys="docker"/g' -i /etc/rc.conf As of the present time, Gentoo's default init is OpenRC. If I run the docker image ...
tudor -Reinstate Monica-'s user avatar
4 votes
1 answer
2k views

how do i call a bash script from inside an init.d script?

Is it possible to call a bash script from inside an init.d script in linux? I need to call it and also return results. Sorry, I'm not a sysadmin and I've never created an init.d script. Right now I'...
Happydevdays's user avatar
1 vote
0 answers
358 views

Launching a program with /sbin/runscript into /etc/init.d without creating a orphaned process

I've a script into /etc/init.d that executes a process. This is an OpenRC /sbin/runscript, but it starts a process becomes orphaned. In fact, when I do the command: ps -elf | awk '{if ($5 == 1){print ...
Massimiliano Di Cavio's user avatar
1 vote
1 answer
472 views

CUPS does not show me printers except with brave browser

Suddenly, since yesterday CUPS has not shown me printers in any application except brave browser (see screenshots above). I use Archlinux with OpenRC (artoo way). Before yesterday, I have no problems ...
somenxavier's user avatar
3 votes
3 answers
267 views

Systemd init message appears when booting OpenRC

I´m using Parabola (Arch based) with OpenRC. It had originally Systemd, but then I moved to OpenRC. I don´t know why but when I turn on my PC, it appears the message error "Failed to find cpu0 device ...
Megver83's user avatar
  • 301
3 votes
1 answer
2k views

Polkit/Consolekit is not working in openRC

some time ago I moved from Systemd to OpenRC. It was very different, to be able to use audio and webcam I had to add my user to the audio, optical and video group. As some software uses pkexec to be ...
Megver83's user avatar
  • 301
6 votes
2 answers
11k views

User's incrontab not working (only root's) when incrond is run as a service

Here is my incrontab (tony's incrontab): /home/tony/Workspace/cocoonr/ui/static/ui/img/icons/vector IN_MODIFY,IN_CREATE,IN_MOVED_TO /bin/sh /home/tony/Workspace/cocoonr/boilerplate/svg2djangohtml $@/$...
Antoine Pinsard's user avatar
0 votes
0 answers
699 views

No RC messages at the start between kernel loading and login prompt

I have a 4.3.2 kernel and OpenRC 0.19.1. After the kernel loads there is no messages from the RC scripts. And then, there is the prompt to log in. There is another system with identical rc.conf and ...
tijagi's user avatar
  • 932
1 vote
2 answers
340 views

Gentooo system mounts readonly, won't boot, services segfault

After upgrading to OpenRC 0.20 the system fails to boot properly: mounted into runlelevel unknown (kernel 3.17.1) The / partition is mounted read-only /dev/sda3 on / type ext4 (ro, realtime, data=...
Iddo's user avatar
  • 31