Giter Site home page Giter Site logo

Loading docker volume fails after upgrade Fedora Ugrade container-selinux.noarch 2:2.77-1.git2c57a17.fc29 about container-selinux HOT 8 CLOSED

omerule avatar omerule commented on August 17, 2024
Loading docker volume fails after upgrade Fedora Ugrade container-selinux.noarch 2:2.77-1.git2c57a17.fc29

from container-selinux.

Comments (8)

rhatdan avatar rhatdan commented on August 17, 2024

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.

omerule avatar omerule commented on August 17, 2024

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.

rhatdan avatar rhatdan commented on August 17, 2024

That looks fine.

from container-selinux.

rhatdan avatar rhatdan commented on August 17, 2024

Can you do the ausearch command right after the docker command fails.

from container-selinux.

omerule avatar omerule commented on August 17, 2024

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.

rhatdan avatar rhatdan commented on August 17, 2024

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.

omerule avatar omerule commented on August 17, 2024

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.

omerule avatar omerule commented on August 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.