FS#24504 - [initscripts] dhclient support in /etc/rc.d/network

Attached to Project: Arch Linux
Opened by Massimiliano Torromeo (mtorromeo) - Monday, 30 May 2011, 16:39 GMT
Last edited by Tom Gundersen (tomegun) - Tuesday, 31 May 2011, 13:33 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To Tom Gundersen (tomegun)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
There are some situations in which dhclient works better than dhcpcd and it is the only working dhcp solution.
There are, of course, different methods one could use to bring up the network with dhclient but it would be nice if the network init script had support for such a case.

Therefore I would like to propose the following patch to be applied to /etc/rc.d/network

Thanks.
This task depends upon

Closed by  Tom Gundersen (tomegun)
Tuesday, 31 May 2011, 13:33 GMT
Reason for closing:  Won't implement
Additional comments about closing:  Advised to use/patch netcfg.
Comment by Tom Gundersen (tomegun) - Tuesday, 31 May 2011, 11:04 GMT
Thanks for your patch. However, I don't think it is in the scope of initscripts.

The aim of the network support in initscripts is to provide an absolute minimum of support to be able to install the rest of your system, or to use in an emergency, or in very simple situations. If anything else is required I suggest using netcfg (or submitting patches to netcfg).

The reason I'm hesitating to add new features is that we already have a network project in Arch, and I think it is a bit silly to duplicate effort, and I'm a bit worried that the networking code in initscripts is not getting tested enough by the developers (me).
Comment by Massimiliano Torromeo (mtorromeo) - Tuesday, 31 May 2011, 11:15 GMT
I understand, as I already wrote, I know that there are several solutions to the problem.

But as an absolute minimum/fallback solution, it doesn't always work with dhcpcd.
I administrate several machines in my office and right now there are at least 3 of them that don't work well with dhcpcd.

Anyway, I don't mind. Whatever you decide, it's fine by me.

Thanks.
Comment by Tom Gundersen (tomegun) - Tuesday, 31 May 2011, 11:21 GMT
@dave: what do you think?
@mtorromeo: please remember to file bugs against dhcpcd (I have done so in the past, and the maintainer is very responsive)
Comment by Dave Reisner (falconindy) - Tuesday, 31 May 2011, 13:20 GMT
I think this goes against our efforts to slim down network support in the initscripts. That said, do we have _any_ support for dhclient aside from having it in extra, or is it essentially a BYO affair?
Comment by Massimiliano Torromeo (mtorromeo) - Tuesday, 31 May 2011, 13:24 GMT Comment by Dave Reisner (falconindy) - Tuesday, 31 May 2011, 13:27 GMT
Excellent. I think we should support that effort instead of having it in /etc/rc.d/network then.

In the future, it would most helpful if you could base your patches off of git, instead of the latest release. All of the repos can be found at http://projects.archlinux.org/
Comment by Massimiliano Torromeo (mtorromeo) - Tuesday, 31 May 2011, 13:30 GMT
Sure, I'll do that next time.

Loading...