liquidsoap icon indicating copy to clipboard operation
liquidsoap copied to clipboard

Outdated `set` recommendations

Open vitoyucepi opened this issue 1 year ago • 0 comments

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

  1. Become root
  2. echo 'output.dummy(blank())' > 1.liq
  3. 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

vitoyucepi avatar Aug 15 '22 22:08 vitoyucepi