Projet

Général

Profil

Révision 7ac85085

ID7ac850853dec0ee2d547693c715a514f9b15cc09
Parent 807f15b9
Enfant be4ad90d

Ajouté par Lars Kruse il y a presque 5 ans

Plugin docker_: reduce permissions of plugin

root privileges are not required for sending queries to the docker socket.
Instead the group "docker" should be sufficient.

Additionally replace /var/run with /run (following updates of FHS).

Voir les différences:

plugins/docker/docker_
59 59
=over 2
60 60

  
61 61
    [docker_*]
62
    user root
63
    env.DOCKER_HOST unix://var/run/docker.sock
62
    group docker
63
    env.DOCKER_HOST unix://run/docker.sock
64 64
    env.EXCLUDE_CONTAINER_NAME regexp
65 65

  
66 66
=back
67 67

  
68
You may need to pick a different group depending on the name schema of your
69
distribution.  Or maybe use "user root", if nothing else works.
70

  
68 71
=head1 AUTHORS
69 72

  
70 73
This section has been reverse-engineered from git logs

Formats disponibles : Unified diff