tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PKG_USER fix for munin-server

The recommended setup for munin-server is to launch a cron job to update the RRD db regularly [1].

However the default homedir for munin user is /nonexistent. When cron(8) tries to chdir(2) to it [2], it will fail, and return immediately.

May I commit this trivial patch to fix this? munin-server is a leaf pkg.

Index: Makefile
RCS file: /cvsroot/pkgsrc/sysutils/munin-server/Makefile,v
retrieving revision 1.17
diff -u -p -r1.17 Makefile
--- Makefile    3 Oct 2012 21:57:40 -0000       1.17
+++ Makefile    30 Dec 2012 18:40:24 -0000
@@ -40,7 +40,7 @@ MUNIN_GROUP?= munin
 MUNIN_USER?=   munin

 PKG_GECOS.${MUNIN_USER}=       Munin user
 USERGROUP_PHASE=       pre-install



Jean-Yves Migeon

Home | Main Index | Thread Index | Old Index