ygd58
74c1b946e0
fix(browser): inject --no-sandbox for root and AppArmor userns restrictions
...
On VPS/Docker and some Ubuntu 23.10+ hosts, Chromium refuses to start
without --no-sandbox:
- uid=0 (root): hard requirement (VPS/Docker deployments)
- AppArmor apparmor_restrict_unprivileged_userns=1 (Ubuntu 23.10+):
non-root too, under systemd or unprivileged containers
Detect both conditions and inject AGENT_BROWSER_CHROME_FLAGS with
--no-sandbox --disable-dev-shm-usage when the user hasn't already
set the flags themselves.
Salvage of #15771 — only the browser_tool.py fix is cherry-picked.
The PR's accompanying MCP preset addition (new feature surface)
was dropped so the bug fix can land independently.
Co-authored-by: ygd58 <buraysandro9@gmail.com >
2026-05-04 05:27:23 -07:00
..
2026-04-16 12:36:49 -07:00
2026-05-04 04:45:03 -07:00
2026-03-17 02:33:12 -07:00
2026-03-31 08:48:54 +09:00
2026-03-23 07:43:12 -07:00
2026-05-03 08:49:13 -07:00
2026-04-08 02:24:32 -07:00
2026-04-01 04:18:50 -07:00
2026-04-28 23:17:39 -07:00
2026-04-28 06:46:45 -07:00
2026-04-23 22:23:37 -07:00
2026-04-30 20:33:33 -07:00
2026-05-04 05:27:23 -07:00
2026-04-08 02:24:32 -07:00
2026-04-26 19:05:52 -07:00
2026-04-07 13:36:38 -07:00
2026-04-30 03:31:16 -07:00
2026-04-28 23:17:39 -07:00
2026-05-04 03:11:11 -07:00
2026-04-07 10:25:31 -07:00
2026-05-04 05:22:35 -07:00
2026-04-30 20:37:12 -07:00
2026-04-28 23:17:39 -07:00
2026-04-17 19:04:11 -07:00
2026-04-17 19:04:11 -07:00
2026-05-03 16:58:50 -07:00
2026-04-21 16:41:26 -07:00
2026-05-04 04:56:28 -07:00
2026-04-21 02:03:46 -07:00
2026-04-13 04:45:07 -07:00
2026-04-23 03:01:18 -07:00
2026-04-17 20:39:25 -07:00
2026-05-04 05:04:01 -07:00
2026-04-02 12:40:03 +11:00
2026-04-26 05:43:54 -07:00
2026-05-04 04:42:18 -07:00
2026-05-03 15:23:33 -07:00
2026-04-28 04:58:22 -07:00
2026-04-23 15:14:11 -07:00
2026-03-18 02:55:30 -07:00
2026-03-11 20:02:36 -07:00
2026-04-05 12:46:07 -07:00
2026-04-21 02:03:46 -07:00
2026-04-11 13:59:52 -07:00
2026-04-29 04:59:21 -07:00
2026-04-28 18:20:17 -07:00
2026-04-07 10:25:31 -07:00
2026-04-28 04:58:03 -07:00
2026-05-04 02:48:20 -07:00
2026-05-04 05:07:40 -07:00
2026-05-04 02:42:16 -07:00
2026-05-04 02:42:16 -07:00
2026-05-04 02:19:28 -07:00
2026-04-23 06:20:47 -07:00
2026-05-04 01:28:12 -07:00
2026-04-28 04:58:22 -07:00
2026-04-30 05:07:34 -07:00
2026-04-29 21:56:47 -07:00
2026-04-30 20:38:09 -07:00
2026-04-23 03:08:53 -07:00
2026-04-11 16:22:50 -07:00
2026-04-26 19:02:55 -07:00
2026-04-23 21:51:19 -07:00
2026-04-11 14:26:11 -07:00
2026-04-29 23:18:55 -07:00
2026-04-30 02:53:20 -07:00
2026-04-26 18:27:13 -07:00
2026-05-03 15:28:04 -07:00
2026-04-17 21:16:33 -07:00
2026-04-28 18:20:17 -07:00
2026-04-07 10:25:31 -07:00
2026-04-16 02:24:08 -07:00
2026-04-28 06:46:45 -07:00