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
0answers
7 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. ...
0
votes
0answers
26 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 ...
0
votes
1answer
15 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 ...
0
votes
1answer
59 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/...
1
vote
1answer
47 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 ...
0
votes
0answers
223 views

Docker not starting on startup in Alpine

I've followed the official Alpine install instruction for Docker and installed it on my Alpine 3.9 VM. When trying to start the service or restarting the OS, I get: supervise-daemon: --pidfile must ...
1
vote
0answers
35 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-...
2
votes
2answers
596 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 ...
3
votes
1answer
476 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 ...
1
vote
1answer
103 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. ...
0
votes
1answer
461 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 ...
0
votes
0answers
68 views

Parabola (Arch-based) failing on boot: 'unknown filesystem type: ntfs'

I am trying to install Parabola Linux (a libre distro based on Arch) on a system where I have a dual-boot with Windows 8. I got to a point where I had a bootable CLI system; however, I just installed ...
1
vote
1answer
208 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?
1
vote
0answers
317 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. ...
2
votes
1answer
1k 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" ...
1
vote
2answers
32 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 ...
5
votes
1answer
1k 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?
9
votes
1answer
1k 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"...
1
vote
1answer
762 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 ...
1
vote
0answers
138 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 ...
0
votes
2answers
550 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 ...
1
vote
0answers
89 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 ...
0
votes
1answer
303 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....
0
votes
1answer
862 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. ...
4
votes
2answers
5k 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 ...
1
vote
0answers
28 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 <...
1
vote
0answers
155 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 ...
3
votes
1answer
232 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?
1
vote
1answer
515 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 ...
4
votes
1answer
866 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'...
1
vote
0answers
216 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 ...
1
vote
1answer
348 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 ...
3
votes
3answers
147 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 ...
3
votes
1answer
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 ...
2
votes
2answers
5k 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 $@/$...
0
votes
0answers
429 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 ...
1
vote
2answers
293 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=...
4
votes
1answer
988 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: ** (...
5
votes
1answer
15k 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/...
2
votes
2answers
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 * ...
18
votes
9answers
13k 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?