Replies: 11 comments 4 replies
-
Can you try with the |
Beta Was this translation helpful? Give feedback.
-
Sorry I don't know what you mean with that exactly? |
Beta Was this translation helpful? Give feedback.
-
In |
Beta Was this translation helpful? Give feedback.
-
Check. Changed the setting as suggested to systemd, however I think that is default, rebooted, same error |
Beta Was this translation helpful? Give feedback.
-
It seems WSL2 is using cgroups v1 where rootless Quadlet won't work. Can you retry running as root? |
Beta Was this translation helpful? Give feedback.
-
Running as root it works. No errors |
Beta Was this translation helpful? Give feedback.
-
I guess you need to convert your ubuntu/wsl to use cgroups V2 (Something I would advise) or run in rootful mode. |
Beta Was this translation helpful? Give feedback.
-
I switched to cgroupsV2 by adding |
Beta Was this translation helpful? Give feedback.
-
Okay tried a couple of other things and now it seems to work. What I did:
|
Beta Was this translation helpful? Give feedback.
-
Great. |
Beta Was this translation helpful? Give feedback.
-
I need to do some further testing but Microsoft latest update to WSL2 seems to have fixed this issue |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Issue Description
I have a .container file that I would like to start using systemctl --user start filename, but it fails with a permission denied error.
Steps to reproduce the issue
Steps to reproduce the issue
Describe the results you received
Describe the results you receivedError: mkdir /sys/fs/cgroup/pids/user.slice/user-1000.slice/[email protected]/runtime: permission denied
Describe the results you expected
To start the container successfully
podman info output
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes
Additional environment details
WSL version: 1.2.5.0
Kernel version: 5.15.90.1
WSLg version: 1.0.51
MSRDC version: 1.2.3770
Direct3D version: 1.608.2-61064218
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22621.1702
Additional information
No response
Beta Was this translation helpful? Give feedback.
All reactions