-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
set_system_proxy
not working as expected when using SystemD
#1851
Comments
I Will tinker around to see if I can get it to work with a user unit. Will open a PR if successful. |
This is not a bug. In your KDE6, there was no And please specify your linux distro before asking because normally if you run sing-box by systemd unit it will tell you that sing-box/common/settings/proxy_linux.go Lines 130 to 138 in a184005
If you really want to use systemd, then just create a user unit by yourself. |
The installation is from the AUR and there's this line in the pkgbuild:
Which makes the system service run as |
Your PR has too many commits, you need to remove the useless commits and merge them together. And I don't know whether the systemd versions of other distributions are new enough to support these security options. |
I'll turn the PR to draft until I merge them. Will test the new service files under Debian Stable. Does that count? |
@nekohasekai: What do you think? |
set_system_proxy
systemd bug (KDE)set_system_proxy
not working when using SystemD with User=sing-box
set_system_proxy
not working when using SystemD with User=sing-box
set_system_proxy
not working as expected when using SystemD with User=sing-box
|
|
set_system_proxy
not working as expected when using SystemD with User=sing-box
set_system_proxy
not working as expected when using SystemD
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
Description
When declaring
set_system_proxy
in the config file, default system unit file fails, whether running as userroot
orsing-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
/release/config
under KDE6set_system_proxy
formixed
inbound.sudo systemctl enable --now sing-box.service
Logs
Supporter
Integrity requirements
The text was updated successfully, but these errors were encountered: