open /dev/null: permission denied
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
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
Thank you for confirming @cadraincm The -d (daemon) mode is obviously a necessity for me. For now, staying on v1.0.7
Getting this as well, guess I'll ~~build~~ use 1.07
Suddenly started getting this error as well
got this as well with v1.0.9
fixed by downgrading to v1.0.7, as suggested earlier
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