I think, it's not a bug, but a incorrect installation of program from package.
I'm installing privoxy proxy server using xbps: sudo xbps-install privoxy
Installation went without problems, but then, when trying to start privoxy as a service: sudo sv up privoxy
error unable to change to service directory: file does not exist is evoked.
Solution
As I understood, runit is looking for a service in /var/service, but xbps didn't make link in this service directory while installation, so user has to make symlink manually: ln -s /etc/sv/privoxy /var/service
$ lsb_release -a
LSB Version: 1.0
Distributor ID: VoidLinux
Description: Void Linux
Release: rolling
Codename: void
$ uname -a
Linux Trident 5.4.33_2 #1 SMP PREEMPT Sat Apr 18 14:32:17 UTC 2020 x86_64 GNU/Linux
$ cat /proc/version
Linux version 5.4.33_2 (void-buildslave@a-hel-fi) (gcc version 9.3.0 (GCC)) #1 SMP PREEMPT Sat Apr 18 1
The text was updated successfully, but these errors were encountered:
lovermann
changed the title
Privoxy installation:
No link/reference in /var/service was made while installation from repo with xbps
Apr 20, 2020
lovermann
changed the title
No link/reference in /var/service was made while installation from repo with xbps
No link/reference in /var/service was created while installation from repo with xbps
Apr 20, 2020
Problem
I think, it's not a bug, but a incorrect installation of program from package.
I'm installing privoxy proxy server using xbps:
sudo xbps-install privoxyInstallation went without problems, but then, when trying to start privoxy as a service:
sudo sv up privoxyerror
unable to change to service directory: file does not existis evoked.Solution
As I understood, runit is looking for a service in /var/service, but xbps didn't make link in this service directory while installation, so user has to make symlink manually:
ln -s /etc/sv/privoxy /var/servicesolution was found here:
How to install Privoxy in Trident Linux
My Trident:
The text was updated successfully, but these errors were encountered: