Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 435220 - net-misc/dhcpcd: start in the background
Summary: net-misc/dhcpcd: start in the background
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: William Hubbs
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-09-16 15:46 UTC by Arvydas Sidorenko
Modified: 2012-09-24 17:10 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch (dhcpcd.initd.patch,368 bytes, patch)
2012-09-16 15:46 UTC, Arvydas Sidorenko
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arvydas Sidorenko 2012-09-16 15:46:52 UTC
Created attachment 324016 [details, diff]
Patch

Why not making dhcpcd start in the background? In some cases it can increase boot time twice.
Comment 1 Arvydas Sidorenko 2012-09-16 17:09:04 UTC
Apparently my patch is a little wrong since ${command} sometimes is concatenated with args and '&' in the middle breaks the script.
But that doesn't change the initial idea. Can we do it?
Comment 2 SpanKY gentoo-dev 2012-09-17 18:14:12 UTC
i don't think so.  better to use the standard network scripts, or use things in parallel.
Comment 3 William Hubbs gentoo-dev 2012-09-17 19:17:10 UTC
To make this happen, you can put

background

on a line in /etc/dhcpcd.conf.
Comment 4 Arvydas Sidorenko 2012-09-23 21:59:09 UTC
Thanks William. Why it is not set by default?
Comment 5 William Hubbs gentoo-dev 2012-09-24 17:10:12 UTC
It is if dhcpcd is controling more than one interface. If it is
controling only one interface and fails to get an address for it when
ipv4ll is turned off, the daemon fails to start.