containers / containers/toolbox
Loop devices unavailable
- Dominant language
- Go
- Stars
- 3.5k
- Forks
- 262
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 1
Description
**Describe the bug**
Loop devices via losetup are unavailable with error message: `losetup: cannot find an unused loop device: Permission denied`
**Steps how to reproduce the behaviour**
Run `losetap` inside a toolbox and then run `losetap -f`
**Expected behaviour**
Find unused loop device
**Actual behaviour**
Print error message : `losetup: cannot find an unused loop device: Permission denied`
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Output of `toolbox --version` (v0.0.90+)**
toolbox v0.0.99.3
**Toolbox package info (`rpm -q toolbox`)**
toolbox-0.0.99.3-2.fc35.x86_64
**Output of `podman version`**
Version: 3.4.4
API Version: 3.4.4
Go Version: go1.16.8
Built: Wed Dec 8 15:45:07 2021
OS/Arch: linux/amd64
**Podman package info (`rpm -q podman`)**
podman-3.4.4-1.fc35.x86_64
**Info about your OS**
Fedora Silverblue 35
**Additional context**
I was trying to use [this](https://github.com/sgielen/picl-k3OS-image-generator) script to create a k3os (custom os) image for my Raspberry Pi.
Contributor guide
Assessment
This issue has not been assessed yet.