Questions tagged [runit]

The tag has no usage guidance, but it has a tag wiki.

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

Which script for LFS with runit? (there are two)

Building LFS with runit here, i came across two different scripts for installing and configuring LFS with runit. The first one is in the official hints repository and the other one is independent, ...
user avatar
  • 1
0 votes
0 answers
14 views

Can I build CLFS with runit?

I wanted to ask if its possible to use runit with CLFS, im aware there is a git repo for LFS with runit, but im not sure if its the same process to do so.
user avatar
  • 1
-2 votes
1 answer
92 views

Where can I find the source code of Voidlinux

Why do I need to know where is the code source? I found a bug in the config file of the service named wpa_supplicant, when using some shell, like sh or zsh instead of bash for the root user $ cat /...
user avatar
-1 votes
1 answer
80 views

mysql on artix linux gives the 'ERROR 2002 (HY000)'

I'm using artix linux with runit init system and I've stumbled upon this issue where I can't login into mariadb by using sudo mysql -u root -p because it gives me the following error: ERROR 2002 (...
user avatar
  • 21
0 votes
1 answer
150 views

Make runit-init silent

Is there a way to silence the runit-init? I managed to silence runit it self by redirecting output but i think this is caused by runit-init... *I put the banner there in process 1 , just a simple ...
user avatar
  • 23
1 vote
2 answers
3k views

How to connect with wifi in void linux from scratch

The instalation of void linux , without desktop manager, it's come without Network-Manager package, so i can't use nmtui and iwctl as arch linux. also void linix it's not support system.d , it's ...
user avatar
0 votes
1 answer
316 views

My runit service for OpenVPN spawns repeatedly

I am trying to get a Void Linux system working with OpenVPN, and this is my first attempt at creating my own runit service. The OpenVPN package on Void Linux does not supply any init files or any ...
user avatar
  • 1,789
0 votes
1 answer
463 views

Artix Linux with runit freezes at boot

I'm using Artix Linux with runit on my machine, and after I installed a new WiFi/Bluetooth combo card in my system via PCIe. I started having a random freeze during startup. It happens 1/3 times or so....
user avatar
0 votes
1 answer
282 views

Don't print log messages to console tty1 after login prompt

On my laptop, after the system was booted, it shows the login prompt on tty, where I should put my username and password, but the logger continues to print messages here, it looks like: => ...
user avatar
  • 418
0 votes
2 answers
81 views

Can not set PATH permanently in order to launch MATLAB system wide

I have the following issue: I recently installed MATLAB R2018a in my artix linux (runit). I can launch matlab from the location where the launcher is, i.e., /usr/local/MATLAB/R2018a/bin, but if I try ...
user avatar
  • 3
2 votes
0 answers
1k views

ACPI BIOS error and STONEY not supported in kfd on laptop

Please see the image before add answer. [ 2.2157971 ACPI BIOS Error (bug): Could not resolve symbol [^*PB2.UGA.AFN?] ,AE_NOT_FOUND (28208528/psargs-330) [ 2.215823) ACPI Error: AE_NOT_FOUND (...
user avatar
  • 21
0 votes
1 answer
66 views

runit subprocess of service file not being killed on service stop

I was writing an runit service to restart picom on unlock based on this answer https://unix.stackexchange.com/a/439492/161514 #!/bin/bash OBJECT_PATH=/org/freedesktop/login1/session/$XDG_SESSION_ID ...
user avatar
1 vote
0 answers
35 views

How do I edit /etc/runit/1 without logging in?

I made the mistake of autostarting syncthing with runit and now I can't login. (I added "syncthing to /etc/runit/1".) Initially, I rebooted normally to syncthing starting, but from there I could not ...
user avatar
  • 11
0 votes
1 answer
132 views

How to remove noise in speakers?

After my operating system boots, I can hear repeatedly scratch-like noise from speakers. I googled this problem, and almost found solutions somewhere: if I type like a echo 0 | sudo tee /sys/module/...
user avatar
2 votes
1 answer
635 views

How to properly spawn postgresql server via runit

I'm trying to get my head around Voidlinux and runit in particular. Void had postgresql v9 in its repos, I needed something newer, so I compiled v12 from source. It works ok, but now I'm struggling ...
user avatar
3 votes
1 answer
648 views

Void Linux hangs on poweroff

I just got a Oryx Pro, model Oryp4, from System76 and installed Void Linux on it. When I try to power it off or reboot I just get these messages and this dmesg. I have tried adding acpi=off to /etc/...
user avatar
0 votes
1 answer
50 views

How to get network interfaces to show up without systemd? [closed]

I'm trying to switch from systemd to runit. When I boot my computer with systemd as PID 1, my wireless card shows up in /sys/class/net. But when I boot with runit-init as PID 1, the only thing that ...
user avatar
  • 11
0 votes
1 answer
330 views

Background initialization with runit

I recently switched my init system on my ARM box running Linux 2.6 from sysvinit to runit with great success. However, I'm trying to fine-tune the initialization routine. I'd like to have something ...
user avatar
  • 303
0 votes
1 answer
558 views

runsv not redirecting standard error output, why?

According to the runsv man page: If the directory service/log exists, runsv creates a pipe, redirects service/run's and service/finish's standard output to the pipe, switches to the ...
user avatar
  • 268
-1 votes
1 answer
615 views

I cannot execute command as a root [closed]

I came across very different problem yesterday. I am trying to execute log_path_only.txt by using this command "sh -e log_path_only.txt", It seems to be executed however it is not. I am expecting ...
user avatar
  • 304
1 vote
1 answer
538 views

How to start cinelerra on Debian?

I have installed Cinelerra on Debian 9. I had to activate an additional repository for this, namely deb-multimedia, so that I can install it with apt-get install. The installation worked and which ...
user avatar
  • 3,400
4 votes
1 answer
1k views

Error trying to run agetty in a runit based linux installation

I am trying to run agetty in a runit based linux system, but I have the following problem sh: cannot set terminal process group (136) Inappropriate ioctl for device sh: no job control in this shell ...
user avatar
1 vote
2 answers
263 views

How to inhibit dhcpd from outputting over the console login prompt?

As dhcpd negotiates it prints its output on the login prompt, which clutters (messes up, wrangles, uglifies, writes over, obscures [synonyms for googlers]) the console login prompt. How to inhibit ...
user avatar
3 votes
2 answers
3k views

Why this error about upstart/systemd with runit?

I run sudo apt-get install git-all in Ubuntu 16.04 and see the following in the end Setting up runit (2.1.2-3ubuntu1) ... start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/...
user avatar
0 votes
1 answer
96 views

g++ server.cpp -Wall

I have a program written in C++ in Linux I just download Vim editor I gave this command to compile: g++ server.cpp -Wall when I come to run it I use ./a but it does not work can give me the ...
user avatar
  • 1
0 votes
1 answer
477 views

Substitute variable in value of chpst loaded environment variable

If I use chpst to load environment variables like: env BAR=baz chpst -e envdir mycommand and in envdir I have a file envdir/FOO with contents foo$BAR is there a way so that for mycommand the value ...
user avatar
2 votes
2 answers
3k views

How to log output to log file using runit

I am running program using runit to run at startup. I want all the output by from the program that is run by runit to be logged to a file. I have looked at svlogd but I cannot figure out how to get ...
user avatar
  • 317
3 votes
2 answers
4k views

Possible to pass env vars into chpst without envdir?

I use runit to daemonize my web application, and I'm trying to see if I can have my process managed by sv not have to have a corresponding envdir for its environment variables. I wonder if I can just ...
user avatar
1 vote
2 answers
2k views

Combine svlogd logs from different runit services

I want to run a Node.js app with multiple Node processes running the exact same code. I'm using runit to start and manage the Node processes, because it has good Chef support. To illustrate the set ...
user avatar
5 votes
1 answer
2k views

Convert sysvinit/upstart init scripts to runit

I am trying to migrate a currently VM-based infrastructure to a Docker-based one, using docker-baseimage, which uses runit/runsv to start and supervise system services. Now while it is apparently very ...
user avatar
7 votes
2 answers
3k views

runit and nginx

I'm working on a system whose primary startup system is runit. Unfortunately, runit requires that whatever application it is running be running in the foreground like so: #!/bin/bash exec sshd -D ...
user avatar
  • 35.7k