Open
Description
Operating system
Linux (Arch deriv.)
System version
latest
Installation type
Original sing-box Command Line (From AUR)
If you are using a graphical client, please provide the version of the client.
No response
Version
sing-box version 1.9.3
Environment: go1.22.4 linux/amd64
Tags: with_gvisor,with_quic,with_wireguard,with_utls,with_reality_server,with_clash_api,with_ech,with_acme,with_dhcp
Revision: 4619f2280afffb2e045f499511e69dc116476f23
CGO: enabled
Description
When declaring set_system_proxy
in the config file, default system unit file fails, whether running as user root
or sing-box
.
Providing a user unit file is the first solution that came to my mind, cause I suspect this would also be the case under GNOME too.
Reproduction
- Install sing-box with default systemd unit files in
/release/config
under KDE6 - Declare
set_system_proxy
formixed
inbound. sudo systemctl enable --now sing-box.service
- As of version 1.9.0, no problems due to the fact that said option was bogus prior to 69dc87a
- As of 1.9.1 and later, encountering error and panic.
Logs
sing-box[24514]: FATAL[0000] start service: initialize inbound/mixed[0]: set system proxy: execute (/usr/bin/kwriteconfig6) kwriteconfig6 --file kioslaverc --group Proxy Settings --key ProxyType 1: exit status 2
systemd[1]: sing-box.service: Main process exited, code=exited, status=1/FAILURE
Supporter
- I am a sponsor
Integrity requirements
- I confirm that I have read the documentation, understand the meaning of all the configuration items I wrote, and did not pile up seemingly useful options or default values.
- I confirm that I have provided the server and client configuration files and process that can be reproduced locally, instead of a complicated client configuration file that has been stripped of sensitive data.
- I confirm that I have provided the simplest configuration that can be used to reproduce the error I reported, instead of depending on remote servers, TUN, graphical interface clients, or other closed-source software.
- I confirm that I have provided the complete configuration files and logs, rather than just providing parts I think are useful out of confidence in my own intelligence.
Activity