Closed Bug 1900439 Opened 4 months ago Closed 3 months ago

Indicate User Namespaces unavailable in about:support by changing line color

Categories

(Core :: Security: Process Sandboxing, defect, P1)

defect

Tracking

()

RESOLVED FIXED
129 Branch
Tracking Status
firefox129 --- fixed

People

(Reporter: btsoi, Assigned: btsoi)

References

Details

Attachments

(1 file, 1 obsolete file)

As mentioned in https://bugzilla.mozilla.org/show_bug.cgi?id=1888989#c2, userns are not availabe by default to non packaged versions of Firefox, and

We could make the User Namespaces line be yellow instead of just false to signal that this is something the user could try to fix on their configuration. Media does it for codec support.

Assignee: nobody → btsoi
Severity: -- → S4
Priority: -- → P1
See Also: → 1888989
Attachment #9405364 - Attachment description: WIP: Bug 1900439 - Indicate Users Namespaces not available with red line → Bug 1900439 - Indicate Users Namespaces not available with red line

While testing this I hit:

morbo@alder:~/hg/firefox$ sudo sysctl -w user.max_user_namespaces=0
user.max_user_namespaces = 0
morbo@alder:~/hg/firefox$ ./mach run
 0:00.18 /home/morbo/hg/firefox/obj-x86_64-pc-linux-gnu/dist/bin/firefox -no-remote -profile /home/morbo/hg/firefox/obj-x86_64-pc-linux-gnu/tmp/profile-default
[897743] Assertion failure: (*__errno_location ()) == 22 || (*__errno_location ()) == 1 || (*__errno_location ()) == 87, at /home/morbo/hg/firefox/security/sandbox/linux/SandboxInfo.cpp:157

I'll make a folow-up bug for this.

See Also: → 1902321
Attachment #9405364 - Attachment description: Bug 1900439 - Indicate Users Namespaces not available with red line → WIP: Bug 1900439 - Indicate Users Namespaces not available with red line
Attachment #9405364 - Attachment description: WIP: Bug 1900439 - Indicate Users Namespaces not available with red line → Bug 1900439 - Indicate Users Namespaces not available with red line. r?gcp!,gerard-majax!
Attachment #9408209 - Attachment is obsolete: true
Pushed by gpascutto@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ec38eb9d0786 Indicate Users Namespaces not available with red line. r=gcp,gerard-majax,desktop-theme-reviewers,fluent-reviewers,sfoster,flod
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
Regressions: 1909832
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: