https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290564
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #5 from [email protected] --- Yes the output of jail -e $'\n' can't be reliably parsed because the syntax is just a list of token separated key-value pairs without any reserved character to act as field separator. This is broken by lack of design. I don't know a backward compatible way to fix -e. IMO the only way to fix this is to add a new option to jail that quotes the output (e.g. via strvis(3)). It would probably be a good idea to support both jail.conf and JSON as output format. For most real use-cases you should be able to work around this by using ASCII control chars as field separator, because those shouldn't appear in "normal" configurations. -- You are receiving this mail because: You are the assignee for the bug.
