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
1 answer
30 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 ...
user avatar
0 votes
1 answer
60 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 - ...
user avatar
  • 449
0 votes
1 answer
99 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 ...
user avatar
  • 3
0 votes
1 answer
199 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 therfore : ...
user avatar
  • 2,126
1 vote
0 answers
134 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? ...
user avatar
  • 11
1 vote
1 answer
215 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 ...
user avatar
  • 11
1 vote
1 answer
775 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 ...
user avatar
0 votes
1 answer
269 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. ...
user avatar
  • 101
0 votes
0 answers
38 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
36 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 ...
user avatar
  • 821
1 vote
1 answer
213 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/...
user avatar
  • 454
1 vote
1 answer
129 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 ...
user avatar
  • 2,122
1 vote
0 answers
108 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-...
user avatar
  • 470
2 votes
2 answers
4k 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 ...
user avatar
  • 1,471
3 votes
1 answer
1k 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 ...
user avatar
  • 449
2 votes
1 answer
376 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. ...
user avatar
0 votes
1 answer
1k 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 ...
user avatar
  • 2,122
1 vote
1 answer
764 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?
user avatar
1 vote
0 answers
488 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. ...
user avatar
  • 2,408
3 votes
1 answer
3k views

init script for alpine not working

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" ...
user avatar
  • 753
1 vote
2 answers
39 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 ...
user avatar
  • 248
5 votes
1 answer
2k 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?
user avatar
9 votes
1 answer
4k 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"...
user avatar
1 vote
1 answer
1k 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 ...
user avatar
1 vote
0 answers
171 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 ...
user avatar
0 votes
2 answers
1k views

How to setup an OpenRC service to run at "login" level?

What I want is simple: I want that after my user login through agetty, my display manager (LightDM) or whatever login way, a specific service of OpenRC be run. Is there a way to setup that?. My ...
user avatar
1 vote
1 answer
219 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 ...
user avatar
0 votes
1 answer
379 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....
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
4 votes
2 answers
8k 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
45 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 <...
user avatar
1 vote
0 answers
170 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 ...
user avatar
3 votes
2 answers
373 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?
user avatar
  • 189
1 vote
1 answer
657 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 ...
user avatar
4 votes
1 answer
1k 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'...
user avatar
1 vote
0 answers
292 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 ...
user avatar
1 vote
1 answer
395 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 ...
user avatar
3 votes
3 answers
198 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 ...
user avatar
  • 189
3 votes
1 answer
1k 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 ...
user avatar
  • 189
4 votes
2 answers
8k 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 $@/$...
user avatar
0 votes
0 answers
554 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 ...
user avatar
  • 872
1 vote
2 answers
310 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=...
user avatar
  • 31
4 votes
1 answer
1k views

Lightdm Won't Start in Test Mode With OpenRC

I have a funtoo installation and I recently did sudo emerge x11-misc/lightdm which appeared to work fine, but attempting to start lightdm in test mode with sudo lightdm --test-mode gives this: ** (...
user avatar
  • 91
5 votes
1 answer
17k views

systemd: default value for environment variable

I would like to migrate some OpenRC init script to systemd but I think that it is general problem of environment variables handling in systemd. Original OpenRC files There is a file e.g. /etc/conf.d/...
user avatar
  • 325
2 votes
2 answers
2k views

Sabayon - mysql (and other services) won't start

It's a fresh install of Sabayon Linux. I installed mysql (equo install dev-db/mysql), configured it (emerge --config ...), but it doesn't start using /etc/init.d script: # /etc/init.d/mysql start * ...
user avatar
18 votes
9 answers
17k views

How to read the shut down messages afterwards?

I'm using Lubuntu 11.10. Every time I shut down I can read FAIL in red letters, but I can not read more. So, how to read the log messages and try to solve the problem?
user avatar
  • 2,301