Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
base: b0bf60a4e281
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: bd3e49a80ec7
Choose a head ref
  • 4 commits
  • 4 files changed
  • 1 contributor

Commits on Nov 25, 2017

  1. munin: 2.0.33 -> 2.0.34

    orbekk authored and bjornfor committed Nov 25, 2017
    Configuration menu
    Copy the full SHA
    e36962a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c164d83 View commit details
    Browse the repository at this point in the history
  3. munin-node: patch to configure plugin-conf.d

    Add a new patch (adding_sconfdir_munin-node.patch) to be able to
    configure the location of plugin-conf.d (otherwise it has to be
    configured at build time).  This patch is very similar to the
    existing 'adding_servicedir_munin-node.patch'.
    orbekk authored and bjornfor committed Nov 25, 2017
    Configuration menu
    Copy the full SHA
    a2dc37c View commit details
    Browse the repository at this point in the history
  4. nixos/munin: fix broken plugin wrappers

    The munin-node service used wrapProgram to inject environment variables.
    This doesn't work because munin plugins depend on argv[0], which is
    overwritten when the executable is a script with a shebang line (example
    below).
    
    This commit removes the wrappers and instead passes the required
    environment variables to munin-node.
    
    Eliminating the wrappers resulted in some broken plugins, e.g., meminfo
    and hddtemp_smartctl. That was fixed with the per-plugin configuration.
    
    Example:
    
      The plugin if_eth0 is a symlink to /.../plugins/if_, which uses $0
      to determine that it should monitor traffic on the eth0 interface.
    
      if_ is a wrapped program, and runs `exec -a "$0" .if_-wrapped`
    
      .if_-wrapped has a "#!/nix/.../bash" line, which results in bash
      changing $0, and as a result the plugin thinks my interface
      is called "-wrapped".
    orbekk authored and bjornfor committed Nov 25, 2017
    Configuration menu
    Copy the full SHA
    bd3e49a View commit details
    Browse the repository at this point in the history