Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] warning: /etc/runit/sv/wpa_supplicant: unable to open supervise/ok (Read 2371 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

[SOLVED] warning: /etc/runit/sv/wpa_supplicant: unable to open supervise/ok

Hi,

I get this error "warning: /etc/runit/sv/wpa_supplicant: unable to open supervise/ok: file does not exist"

I try to fix it, with no success. I found some fix like delete lock files, down and up services, but doesn't work.

I check the folder /etc/runit/sv/wpa_supplicant/ and not find de folder "supervise"... I try to created manually, but not work.

Appreciate any help.

Colpshift

Re: error warning: /etc/runit/sv/wpa_supplicant: unable to open supervise/ok: file

Reply #1
Hi colpshift
Did you run: sudo ln -s /etc/runit/sv/wpa_supplicant /run/runit/service
What is the output of pacman -Q | grep wpa_supplicant
What is the output of ps -ef|grep wpa_supplicant
Also please provide some more info, like did this ever work before, what changed, etc

Re: error warning: /etc/runit/sv/wpa_supplicant: unable to open supervise/ok: file

Reply #2
Hi,

Follow below the information:

Did you run: sudo ln -s /etc/runit/sv/wpa_supplicant /run/runit/service

    Yes, after get error because it's new install when wpa_supplicant is default.

What is the output of pacman -Q | grep wpa_supplicant

    ➜ sudo pacman -Q | grep wpa_supplicant
    [sudo] password for colpshift:
    wpa_supplicant 2:2.9-7
    wpa_supplicant-runit 20180429-2
    wpa_supplicant-runit 20180429-2

What is the output of ps -ef|grep wpa_supplicant

    ➜ ps -ef | grep wpa_supplicant
    root      1191     1  0 09:26 ?        00:00:06 runsvdir -P /run/runit/service log: v wpa_supplicant: fatal: unable to start ./run: file does not exist runsv wpa_supplican : warning: unable to open supervise/pid.new: file does not exist runsv wpa_supplicant: warning: unable to open supervise/pid.new: file does not exist runsv wpa_supplicant: fatal: unable to start ./run: file does not exist runsv wpa_supplicant: warning: unable to open supervise/pid.new: file does not exist
    root      1318  1191  0 09:26 ?        00:00:30 runsv wpa_supplicant
    root      1383     1  0 09:26 ?        00:00:00 /usr/bin/wpa_supplicant -u
    colpshi+ 12221 25611  0 17:22 pts/0    00:00:00 grep --color wpa_supplicant

Also please provide some more info, like did this ever work before, what changed, etc
    I use Artix about 2 months and I didn't get this error. It's new install.
    It's occurs with some services:

sudo sv status /etc/runit/sv/*
[sudo] password for colpshift:
run: /etc/runit/sv/acpid: (pid 1339) 28864s
warning: /etc/runit/sv/agetty-console: unable to open supervise/ok: file does not exist
warning: /etc/runit/sv/agetty-generic: unable to open supervise/ok: file does not exist
warning: /etc/runit/sv/agetty-serial: unable to open supervise/ok: file does not exist
run: /etc/runit/sv/agetty-tty1: (pid 1331) 28864s
run: /etc/runit/sv/agetty-tty2: (pid 1333) 28864s
run: /etc/runit/sv/agetty-tty3: (pid 1334) 28864s
run: /etc/runit/sv/agetty-tty4: (pid 1332) 28864s
run: /etc/runit/sv/agetty-tty5: (pid 1335) 28864s
run: /etc/runit/sv/agetty-tty6: (pid 1336) 28864s
warning: /etc/runit/sv/agetty-ttyAMA0: unable to open supervise/ok: file does not exist
warning: /etc/runit/sv/agetty-ttyS0: unable to open supervise/ok: file does not exist
warning: /etc/runit/sv/agetty-ttyUSB0: unable to open supervise/ok: file does not exist
warning: /etc/runit/sv/alsa: unable to open supervise/ok: file does not exist
warning: /etc/runit/sv/avahi-daemon: unable to open supervise/ok: file does not exist
run: /etc/runit/sv/bluetoothd: (pid 1354) 28863s
run: /etc/runit/sv/connmand: (pid 1379) 28859s
run: /etc/runit/sv/cronie: (pid 1340) 28864s
run: /etc/runit/sv/dbus: (pid 1343) 28864s
warning: /etc/runit/sv/dhcpcd: unable to open supervise/ok: file does not exist
warning: /etc/runit/sv/dmeventd: unable to open supervise/ok: file does not exist
run: /etc/runit/sv/elogind: (pid 1358) 28862s
warning: /etc/runit/sv/haveged: unable to open supervise/ok: file does not exist
warning: /etc/runit/sv/mdadm: unable to open supervise/ok: file does not exist
warning: /etc/runit/sv/nfs-server: unable to open supervise/ok: file does not exist
warning: /etc/runit/sv/ntpd: unable to open supervise/ok: file does not exist
warning: /etc/runit/sv/rpcbind: unable to open supervise/ok: file does not exist
warning: /etc/runit/sv/rsyncd: unable to open supervise/ok: file does not exist
run: /etc/runit/sv/slim: (pid 31937) 19676s
warning: /etc/runit/sv/sshd: unable to open supervise/ok: file does not exist
warning: /etc/runit/sv/statd: unable to open supervise/ok: file does not exist
warning: /etc/runit/sv/sulogin: unable to open supervise/ok: file does not exist
run: /etc/runit/sv/syslog-ng: (pid 1345) 28864s
run: /etc/runit/sv/udevd: (pid 1344) 28864s
warning: /etc/runit/sv/wpa_supplicant: unable to open supervise/ok: file does not exist

Thanks

Colpshift

Re: error warning: /etc/runit/sv/wpa_supplicant: unable to open supervise/ok: file

Reply #3
Maybe this is a stupid question but.

Have you got "wpa_supplicant-runit" installed?

EDIT: Sorry I saw you already have wpa_supplicant-runit installed.

Best regards.
Artix Linux Colombia

error warning: /etc/runit/sv/wpa_supplicant: unable to open supervise/ok: file

Reply #4
Hi,

[SOLVED] "warning: /etc/runit/sv/wpa_supplicant: unable to open supervise/ok: file does not exist"

For unknown reason (possibly my mistake), I created a link to  superviser folder in the folder services that returning warning error.

Solution:

Delete the superviser folder link and Link again the service.

Thanks for all..

Colpshift