[RTEMS Project] #3897: Dhcpcd does not daemonize
RTEMS trac
trac at rtems.org
Wed Mar 4 10:29:59 UTC 2020
#3897: Dhcpcd does not daemonize
---------------------------+-----------------------------
Reporter: Ionut Vilsan | Owner: Sebastian Huber
Type: defect | Status: assigned
Priority: high | Milestone:
Component: rtems | Version:
Severity: major | Keywords:
Blocked By: | Blocking:
---------------------------+-----------------------------
Background: the DCHP client is started using the rc.conf script. In the
background a new task dedicated to the dhcp client is created and then the
dhcp client takes over this task. This works fine, we can get IP form the
dhcp server and then take part in network communication based on IPv4.
Problem: The dhcp client cannot be stopped any time. Any shell commands
will never reach the dhcpcd task, but rather it will instantiate a new
dhcpd task which will take over the current task. E.g: in rtems console if
you enter dhcpd -x, instead of killing the dhcpcd task a new dhcpcd task
will be created which will run from the console. This means that the
console cannot be used anymore.
There seems to be noway to communicate with the already created dhcpcd
task.
I took a look over the dhcpcd in libbsd code and some of the features are
turned off. Can someone give more details regarding this ?
--
Ticket URL: <http://devel.rtems.org/ticket/3897>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list