Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Mention limitations for Ubuntu 24.04 and openResources() #1702

Merged
merged 1 commit into from
Jan 10, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions KNOWN_ISSUES.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,17 @@ A few page objects have had slight changes to their API. Others have had their i
- `ViewControl` and `ActionsItem` method `getTitle` is now async, make sure to await
- `ViewControl` and `ActionsItem` constructors were changed to take a `WebElement` directly, instead of a title
- hopefully, no one was using these directly, but if you do, use `ActionBar#getViewControl` or `getGlobalAction` instead to get the proper object

## `openResources()` Not Working on Ubuntu 24.04

The `openResources()` method does not work properly on Ubuntu 24.04 due to restrictions imposed by the system's AppArmor security framework.

### Workaround

Run the following command to temporarily adjust the kernel parameter and bypass the restriction:

```bash
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
```

This issue is caused by AppArmor's limitation on unprivileged user namespaces, which affects certain operations in the framework. The workaround disables this restriction, allowing openResources() to function as intended. However, this change is temporary and will revert after a system reboot. To make it permanent, add the setting to `/etc/sysctl.conf`.
Loading