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

cgroups issue #56

Open
beliaev-maksim opened this issue Apr 22, 2023 · 0 comments
Open

cgroups issue #56

beliaev-maksim opened this issue Apr 22, 2023 · 0 comments

Comments

@beliaev-maksim
Copy link
Member

Bug Description

Cannot use services from snap since there is some issue with cgroups

To Reproduce

create GH runner instance and run following code

sudo snap install firefox
mkdir ~/bin
ln -s /snap/bin/firefox.geckodriver ~/bin/geckodriver
~/bin/geckodriver --version

Environment

Relevant log output

-

Additional context

I have workarounded the issue by


export XDG_RUNTIME_DIR="/run/user/$(id -u)"
export DBUS_SESSION_BUS_ADDRESS="unix:path=$XDG_RUNTIME_DIR/bus"
echo "$(id -u)"
loginctl enable-linger $USER
sudo apt-get install dbus-user-session -yqq
systemctl --user start dbus.service

need to solidify the solution on LXD machines from the charm side

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant