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

Khem Raj raj.khem at gmail.com
Thu Feb 21 07:19:59 UTC 2013


On Tue, Feb 19, 2013 at 11:20 PM, Samuel Stirtzel
<s.stirtzel at googlemail.com> wrote:
> 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".
>

In my case pid file exists and I dont get this error so wondering what could
be different in your case.

>
> --
> Regards
> Samuel
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel




More information about the Openembedded-devel mailing list