Simplify message around nsjail error

We have known problems (docker; distros w/o user namespaces) which mean
that we won't be turning this into a fatal error anytime soon. Also
remove the bug report link, it's not useful to continue getting the same
reports.

Bug: 123210688
Test: treehugger
Change-Id: I271871d68150417ac938f074d3730cad4518e327
Merged-In: I271871d68150417ac938f074d3730cad4518e327
(cherry picked from commit 1871d88e4f)
This commit is contained in:
Dan Willemsen
2020-03-02 20:36:04 +00:00
parent 37ca4a1e0d
commit 6d5d8a6d6a

View File

@@ -90,10 +90,7 @@ func (c *Cmd) sandboxSupported() bool {
return return
} }
c.ctx.Println("Build sandboxing disabled due to nsjail error. This may become fatal in the future.") c.ctx.Println("Build sandboxing disabled due to nsjail error.")
c.ctx.Println("Please let us know why nsjail doesn't work in your environment at:")
c.ctx.Println(" https://groups.google.com/forum/#!forum/android-building")
c.ctx.Println(" https://issuetracker.google.com/issues/new?component=381517")
for _, line := range strings.Split(strings.TrimSpace(string(data)), "\n") { for _, line := range strings.Split(strings.TrimSpace(string(data)), "\n") {
c.ctx.Verboseln(line) c.ctx.Verboseln(line)