Opened 10 years ago

Last modified 9 years ago

#42914 new defect

ntop @5.0.1_2 doesn't create ntop user, causes launchd task to always fail

Reported by: macports@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: kurthindenburg (Kurt Hindenburg), ctreleaven (Craig Treleaven)
Port: ntop

Description

A standard install of ntop doesn't create the system ntop user. The result is that the standard launchd plist doesn't launch, with the following error in the logs:

2014-03-18 14:40:35.698 com.apple.launchd[1]: (org.macports.ntop) Throttling respawn: Will start in 10 seconds
2014-03-18 14:40:45.734 ntop[51296]:   THREADMGMT[t140735158080272]: ntop RUNSTATE: PREINIT(1)
2014-03-18 14:40:45.734 ntop[51296]:   THREADMGMT[t140735158080272]: ntop RUNSTATE: INIT(2)

Attempting to run the command defined in the plist file the following happens:

$ sudo /opt/local/bin/daemondo --label=ntop --start-cmd /opt/local/bin/ntop @/opt/local/etc/ntop/ntop.conf --pid=exec
Processing file /opt/local/etc/ntop/ntop.conf for parameters...
FATAL ERROR: Unknown user ntop.

The expected behavior is for the ntop system user to be created during installation.

Change History (5)

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to markd@…

comment:2 Changed 10 years ago by mf2k (Frank Schima)

Owner: changed from markd@… to macports-tickets@…

markd has retired. See #44782.

comment:3 Changed 9 years ago by kurthindenburg (Kurt Hindenburg)

Cc: khindenburg@… added

Cc Me!

comment:4 Changed 9 years ago by kurthindenburg (Kurt Hindenburg)

It is easy enough to add add_users ntop group=ntop

However, I can't get it to actually work. I see that ntop is no longer being worked on as they have gone to ntopng

comment:5 Changed 9 years ago by ctreleaven (Craig Treleaven)

Cc: ctreleaven@… added

Cc Me!

Note: See TracTickets for help on using tickets.