[oe] Khem Raj : dhcp: Add systemd unit file for dhclient

Samuel Stirtzel s.stirtzel at googlemail.com
Wed Feb 20 07:20:42 UTC 2013


2013/2/20 Khem Raj <raj.khem at gmail.com>:
> On (11/01/13 13:24), Enrico Scholz wrote:
>> Samuel Stirtzel <s.stirtzel-gM/Ye1E23mwN+BqQ9rBEUg at public.gmane.org>
>> writes:
>>
>> >> +ExecStart=/sbin/dhclient -cf /etc/dhcp/dhclient.conf -q $INTERFACES -lf /var/lib/dhcp/dhclient.leases
>> > ...
>> > systemd[1]: PID file /var/run/dhclient.pid not readable (yet?) after start.
>> > [FAILED] Failed to start Dynamic Host Configuration Protocol (DHCP).
>> > See 'systemctl status dhclient.service' for details.
>> >
>> >
>> > Any idea why it is missing?
>>
>> probably a '--no-pid' option
>
> how is /var/run setup in your case ? may be its not existing for some
> reason
>

Hi,

/var/run exists, there is just no PID file for dhclient.
The service however explicitly states that it wants one
"PIDFile=/var/run/dhclient.pid".


--
Regards
Samuel




More information about the Openembedded-devel mailing list