Comments (8)
Are you seeing AVC messages?
ausearch -m avc -ts recent
You could try to relabel the directories.
restorecon -R -v /var/lib/docker
from container-selinux.
Thanks for the reply, I did
"sudo ausearch -m avc -ts recent" the result is "<no matches>".
Also did "sudo restorecon -R -v /var/lib/docker" but then I got the message:
on the directory:
"/var/lib/docker/volumes/openhab_userdata/_data/ not reset as customized by admin to system_u:object_r:container_file_t:s0"
Yours kindly
Roel
from container-selinux.
That looks fine.
from container-selinux.
Can you do the ausearch command right after the docker command fails.
from container-selinux.
The result of "sudo restorecon -R -v /var/lib/docker" idem:
"sudo ausearch -m avc -ts recent" the result is "<no matches>".
from container-selinux.
Does the issue go away when you do a setenforce 0? If not then this is not an SELinux issue. and the update is probably a red herring
.
from container-selinux.
Probably a red herring,
With $ sudo setenforce 0 the message within docker is the same.
I thought the update and the error where related.
For now the solution is to create a new volume no problem.
Thank you for the work and reply s.
And a good 2019!
Yours kindly
Roel
The Netherlands
from container-selinux.
There was a problem with the Raspberry Pi 3B+ and de XFS filesystem.
After xfs_repair -L and a reboot a was able to remove the directory with the error message.
from container-selinux.
Related Issues (20)
- Branch protection for main branch HOT 3
- gating tests? HOT 2
- iptables-restore cannot read file from inside a container HOT 6
- allow user_u to work with containers HOT 8
- Packit: Use packit for bumping official fedora package HOT 1
- CI: check for long-running relabels HOT 1
- [packit] Propose downstream failed for release v2.213.0 HOT 3
- Issues on Fedora (container-selinux-2.211.1) with container_domain_template HOT 5
- Issue on RHEL with iscsiadm on v2.205 HOT 4
- user_namespace { create } rule not working HOT 11
- Concern with use of dac_override in home_container.cil HOT 3
- `avc: denied { shutdown }` when using socket activation with rootless podman quadlet HOT 3
- dri_device_t cannot be accessed correctly by pods using device plugins. HOT 12
- Add support for `rpm --verify` HOT 2
- container_init_t does not possess ptrace process context HOT 13
- CRI-O CI broken due to SELinux AVC Denials with latest runc (main branch) build HOT 20
- systemd crashes while attempting to start under container_user_r role HOT 11
- /etc/kubernetes filetrans? HOT 1
- container_user_u issues related to `podmansh` HOT 2
- Supprot for RHEL 9 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from container-selinux.