Bug 241943

Summary: net-mgmt/p5-FusionInventory-Agent: does not go into deamon mode and detach from terminal
Product: Ports & Packages Reporter: O. Hartmann <ohartmann>
Component: Individual Port(s)Assignee: Kurt Jaeger <pi>
Status: Closed FIXED    
Severity: Affects Many People CC: freebsd, olevole, pi
Priority: --- Flags: pi: maintainer-feedback-
Version: Latest   
Hardware: Any   
OS: Any   

Description O. Hartmann 2019-11-13 10:51:56 UTC
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 


is put into either /etc/rc.conf or /etc/rc.conf.local.
Comment 1 olevole 2020-05-26 20:43:17 UTC
it requires addiction 



also relevant for 2.5.2 ( https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244263 )
Comment 2 Kurt Jaeger freebsd_committer 2020-05-26 20:57:47 UTC
The RUN_DEPENDS for devel/p5-Proc-Daemon comes if the port was compiled
with OPTION DAEMON. Does this solve the problem ?
Comment 3 olevole 2020-05-26 22:20:49 UTC
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
Comment 4 Kurt Jaeger freebsd_committer 2020-05-27 05:18:31 UTC
Committed, thanks!
Comment 5 commit-hook freebsd_committer 2020-05-27 05:18:36 UTC
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

  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