#665 closed defect (fixed)

"make install-node" check for group munin fails on HP-UX due to lack of getent utility in HP-UX

Reported by: eriks Owned by: matthias
Priority: normal Milestone: Munin 1.2 running maintenance
Component: plugins Version: 1.2.6
Severity: normal Keywords:
Cc:

Description

HP-UX does not have the getentutitlity referenced in Makefile.config in munin-1.2.6
But it has a similar utility called grget.
I noticed that there where some lines at the bottom of Makefile.config which ordered MAC OS X-users to swtich som lines in the file. I have made a patch which makes the same recommandation to HP-UX-users.
Hope you can apply it!

97c97,101
< # For OSX, comment out the previous two lines and comment in these
---

# For HP-UX, comment out the corresponding two lines above and comment in these

#CHECKUSER = $(shell pwget -n $(USER) >/dev/null 2>/dev/null #CHECKGROUP = $(shell grget -n $(GROUP) >/dev/null 2>/dev/null
(echo "echo User $(USER) nonexistant. Create the user and retry; exit 2"))
(echo "echo Group $(GROUP) nonexistant. Create the group and retry; exit 2"))

# For OSX, comment out the corresponding two lines above and comment in these

I've changed the comment for OSX as well, since "the above two lines" no longer would be correct.

-regards
Erik

Change History (4)

comment:1 follow-up: Changed at 2009-03-14T21:05:11+01:00 by janl

  • Owner changed from nobody to mathias

This is already fixed in trunk

comment:2 Changed at 2009-03-14T21:50:34+01:00 by janl

  • Milestone set to Munin 1.2 running maintenance

comment:3 Changed at 2009-03-14T22:39:24+01:00 by janl

  • Owner changed from mathias to matthias

comment:4 in reply to: ↑ 1 Changed at 2009-06-03T12:00:39+02:00 by tatjana

  • Resolution set to fixed
  • Status changed from new to closed

Replying to janl:

This is already fixed in trunk

svn log -v -r1445
See also r1902.

Note: See TracTickets for help on using tickets.