Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [runit]

The tag has no usage guidance.

3
votes
1answer
146 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/...
0
votes
1answer
41 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 ...
0
votes
1answer
39 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 ...
0
votes
1answer
176 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 ...
-1
votes
1answer
140 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 ...
1
vote
1answer
434 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 ...
2
votes
1answer
490 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 ...
1
vote
2answers
109 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 ...
3
votes
2answers
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/...
0
votes
1answer
43 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 ...
0
votes
1answer
301 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 ...
2
votes
1answer
816 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 ...
2
votes
1answer
2k 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 ...
1
vote
2answers
883 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 ...
5
votes
1answer
1k 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 ...
5
votes
2answers
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 ...