Code Monkey home page Code Monkey logo

Comments (7)

baby-gnu avatar baby-gnu commented on August 11, 2024

Thanks, I'll try locally and fix it.

Regards.

from libvirt-formula.

baby-gnu avatar baby-gnu commented on August 11, 2024

Ok, this is due to systemd socket activation, the settings in /etc/libvirt/libvirtd.conf is ignored:

#################################################################
#
# UNIX socket access controls
#

# Set the UNIX domain socket group ownership. This can be used to
# allow a 'trusted' set of users access to management capabilities
# without becoming root.
#
# This setting is not required or honoured if using systemd socket
# activation.
#
# This is restricted to 'root' by default.
#unix_sock_group = "libvirt"

# Set the UNIX socket permissions for the R/O socket. This is used
# for monitoring VM status only
#
# This setting is not required or honoured if using systemd socket
# activation.
#
# Default allows any user. If setting group ownership, you may want to
# restrict this too.
#unix_sock_ro_perms = "0777"

# Set the UNIX socket permissions for the R/W socket. This is used
# for full management of VMs
#
# This setting is not required or honoured if using systemd socket
# activation.
#
# Default allows only root. If PolicyKit is enabled on the socket,
# the default will change to allow everyone (eg, 0777)
#
# If not using PolicyKit and setting group ownership for access
# control, then you may want to relax this too.
#unix_sock_rw_perms = "0770"

# Set the UNIX socket permissions for the admin interface socket.
#
# This setting is not required or honoured if using systemd socket
# activation.
#
# Default allows only owner (root), do not change it unless you are
# sure to whom you are exposing the access to.
#unix_sock_admin_perms = "0700"

# Set the name of the directory in which sockets will be found/created.
#
# This setting is not required or honoured if using systemd socket
# activation with systemd version >= 227
#
#unix_sock_dir = "/var/run/libvirt"

It will take a little more effort than IΒ thought.

from libvirt-formula.

myii avatar myii commented on August 11, 2024

Here is the upgraded matrix (only one failure):

Here are all of the rest of the instances (12 to choose from):

from libvirt-formula.

myii avatar myii commented on August 11, 2024

@baby-gnu OK, I've switched fedora and opensuse (between 2019.2 and 2018.3) and pushed the updated matrix to the formula. This will workaround the issue for the time being. This issue can remain open as a reminder that fedora-31 will require some work.

from libvirt-formula.

baby-gnu avatar baby-gnu commented on August 11, 2024

Thanks @myii.

From time to time I run a kitchen verify locally to see how the non travis-tested environment are working.

from libvirt-formula.

baby-gnu avatar baby-gnu commented on August 11, 2024

For fedora-31, I think the solution will be provided by the Running the formula without specific pillar should provide the OS default configuration from #33.

from libvirt-formula.

saltstack-formulas-travis avatar saltstack-formulas-travis commented on August 11, 2024

πŸŽ‰ This issue has been resolved in version 3.7.0 πŸŽ‰

The release is available on GitHub release

Your semantic-release bot πŸ“¦πŸš€

from libvirt-formula.

Related Issues (14)

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.