wireproxy icon indicating copy to clipboard operation
wireproxy copied to clipboard

open /dev/null: permission denied

Open temporarium opened this issue 1 year ago • 6 comments

This error started appearing with v1.0.8 (still present with v1.0.9), preventing wireproxy from starting. v1.0.7 works correctly.

Seems to have been introduced by a679716

I have confirmed that /dev/null is as should be: crw-r--r-- 1 root root 1, 3 Apr 23 21:08 /dev/null

and have recreated it (just in case):

# rm /dev/null && mknod /dev/null c 1 3 && chmod 666 /dev/null && /opt/wireproxy/wireproxy -d -c /opt/wireproxy/wireproxy.cfg
open /dev/null: permission denied

temporarium avatar Apr 24 '24 01:04 temporarium

I was able to reproduce it only when I use wireproxy with the -d flag. not using the -d flag does not cause the issue on my machine

cadraincm avatar May 14 '24 03:05 cadraincm

Thank you for confirming @cadraincm The -d (daemon) mode is obviously a necessity for me. For now, staying on v1.0.7

temporarium avatar May 14 '24 12:05 temporarium

Getting this as well, guess I'll ~~build~~ use 1.07

biggestsonicfan avatar Oct 30 '24 22:10 biggestsonicfan

Suddenly started getting this error as well

kwaaak avatar Dec 24 '24 02:12 kwaaak

got this as well with v1.0.9

fixed by downgrading to v1.0.7, as suggested earlier

maxtheaxe avatar Jan 15 '25 05:01 maxtheaxe

getting this error, v 1.0.10


edit: solved it by creating a custom daemon

## /etc/systemd/system/wireproxyd.service

[Unit]                                                                                                                                           
Description=Wireproxy Daemon (custom, native daemon launch broken)

[Service]
ExecStart=/usr/bin/wireproxy -c /home/wireproxy/wpx0.conf
Restart=on-failure

[Install]
WantedBy=multi-user.target

then systemctl start wireproxyd.service

and to start at boot systemctl enable wireproxyd.service

rnnc avatar May 29 '25 15:05 rnnc