liquidsoap
liquidsoap copied to clipboard
Outdated `set` recommendations
Describe the bug If I run liquidsoap as root, then I'll see
init: security exit, root euid & guid (user & group). Override with set("init.allow_root",true)
This suggestion comes from here https://github.com/savonet/liquidsoap/blob/9fc6637461463743ba27e2a5cbbed5ab835d446c/src/bin/main.ml#L583-L586
Maybe also this code will produce same old syntax https://github.com/savonet/liquidsoap/blob/9fc6637461463743ba27e2a5cbbed5ab835d446c/src/bin/main.ml#L523-L528
Should be backported to 2.0
and 2.1
.
To Reproduce
- Become root
-
echo 'output.dummy(blank())' > 1.liq
-
liquidsoap 1.liq
Expected behavior
There should be a settings of new style settings.init.allow_root.set(true)
.
Version details
- OS:
ubuntu:20.04
in docker - Version: 2.0.x, 2.1.x, main
Install method Debian package for ubuntu focal.
Common issues N/A