net-mgmt/p5-FusionInventory-Agent fails to detach itself from terminal and going into daemon mode although configured via rc-script. Starting the service via service fusioninventory start leaves the process stuck in foreground. This blocks startup of the server/service/host when fusioninventory_enable="YES" is put into either /etc/rc.conf or /etc/rc.conf.local.
it requires addiction p5-Proc-Daemon>=0:devel/p5-Proc-Daemon run RUN_DEPENDS also relevant for 2.5.2 ( https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244263 )
The RUN_DEPENDS for devel/p5-Proc-Daemon comes if the port was compiled with OPTION DAEMON. Does this solve the problem ?
Right. I did not notice this because I used the 'pkg' install method. If we do not want a broken port by default, this option should be enabled
Committed, thanks!
A commit references this bug: Author: pi Date: Wed May 27 05:18:03 UTC 2020 New revision: 536668 URL: https://svnweb.freebsd.org/changeset/ports/536668 Log: net-mgmt/p5-FusionInventory-Agent: update 2.4 -> 2.5.2, DAEMON option added to default PR: 244263, 241943 Reported by: ohartmann@walstatt.org, olevole@olevole.ru Approved by: freebsd@simweb.ch (maintainer timeout) Relnotes: https://metacpan.org/changes/distribution/FusionInventory-Agent Changes: head/net-mgmt/p5-FusionInventory-Agent/Makefile head/net-mgmt/p5-FusionInventory-Agent/distinfo head/net-mgmt/p5-FusionInventory-Agent/files/patch-Makefile.PL head/net-mgmt/p5-FusionInventory-Agent/pkg-plist