Skip to content
Snippets Groups Projects

debian: ensure whether /run/munin directory exists

Closed Kentaro Hayashi requested to merge kenhys/munin:fix-fail-on-startup into debian
2 unresolved threads

Without this fix, if /run/munin was removed before startup, munin-node will fail to start.

Signed-off-by: Kentaro Hayashi kenhys@gmail.com

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
7 7 EnvironmentFile=-/etc/default/munin-node
8 8 Type=notify
9 9 Restart=always
10 ExecStartPre=/usr/bin/mkdir -p /run/munin
  • oh!

    i'm preparing the upload right now but I suppose I better use what @jspricke suggested...

  • added 1 commit

    • a964b96e - debian: ensure whether /run/munin directory exists

    Compare with previous version

  • Author Maintainer

    Agreed, then fixed it.

  • Awesome :). I actually use munin once a year for a week, so thanks for taking care of it! (also, would be great to see it off the autoremovals list ;) )

  • uploaded, finally. thanks for your patience and the fix! :)

  • closed

  • @kenhys and @jspricke: this didn't work, see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=991411 :/

    I'm actually a bit surprised, because munin-node is running as root?!?

  • ExecStartPre=install -o munin -g munin -d /run/munin

    seems to be a working fix, instead of RuntimeDirectory

  • Please register or sign in to reply
    Loading