[RTEMS Project] #3897: Dhcpcd does not daemonize

RTEMS trac trac at rtems.org
Tue Apr 14 22:47:44 UTC 2020


#3897: Dhcpcd does not daemonize
----------------------------+------------------------------
 Reporter:  Ionut Vilsan    |       Owner:  Sebastian Huber
     Type:  defect          |      Status:  reopened
 Priority:  normal          |   Milestone:  6.1
Component:  network/libbsd  |     Version:  6
 Severity:  normal          |  Resolution:
 Keywords:                  |  Blocked By:
 Blocking:                  |
----------------------------+------------------------------
Changes (by Chris Johns):

 * status:  closed => reopened
 * version:   => 6
 * resolution:  wontfix =>
 * milestone:   => 6.1


Comment:

 Replying to [comment:1 Sebastian Huber]:
 > The dhcpcd is not intended to be started via a shell command. Maybe we
 should remove the shell command.

 Reopening this bug. This is either a bug in dhcpcd (my view) or the
 rc.conf support needs to be enhanced to correctly support it. The rc.conf
 model uses working commands that are wrapped. On FreeBSD the wrapping is
 using shell scripts and on RTEMS it is a C framework. Another solution is
 to enhance the shell to push a command into the back ground.

 I have stated before now and I will repeat what I have said, `rc.conf` is
 the documented method to use libbsd. I know of no other documented method
 and I am reluctant to expose and support other methods built on RTEMS
 internal specifics. If other methods exist and are in use then it is those
 users who are at risk of things changing and breaking on them. We fell
 into this hole in the legacy stack and I do not wish to repeat doing that
 here.

--
Ticket URL: <http://devel.rtems.org/ticket/3897#comment:2>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list