FS#38420 - [dhclient] add systemd unit file

Attached to Project: Arch Linux
Opened by Alexandre Bique (babali) - Wednesday, 08 January 2014, 15:27 GMT
Last edited by Felix Yan (felixonmars) - Friday, 11 September 2015, 06:47 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Anatol Pomozov (anatolik)
Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Please can you add a systemd unit file to start dhclient?
Thanks!

dhclient@.service
-----------------

[Unit]
Description=dhclient on %I
Wants=network.target
Before=network.target

[Service]
ExecStart=/usr/bin/dhclient -d %I

[Install]
WantedBy=multi-user.target
This task depends upon

Closed by  Felix Yan (felixonmars)
Friday, 11 September 2015, 06:47 GMT
Reason for closing:  Implemented
Additional comments about closing:  4.3.3-2
Comment by Isenmann Daniel (ise) - Tuesday, 07 July 2015, 07:22 GMT
Just for information: At the moment I have too little time for Arch, I will do my best to find a solution in the next upcoming weeks.
Comment by Isenmann Daniel (ise) - Tuesday, 21 July 2015, 19:30 GMT
Is this really necessary? I just ask because most users are using a network manager which starts dhclient or similar program automatically. So, I don't see a real usage for this. Please give me some good reasons for this systemd file.
Comment by Alexandre Bique (babali) - Tuesday, 21 July 2015, 19:31 GMT
At the time, I don't think that systemd-networkd was doing the dhcp thing, and I was starting dhclient from systemd.

Now I don't care at all, because I use systemd to do the dhcp.
Comment by Alexandre Bique (babali) - Tuesday, 21 July 2015, 19:32 GMT
Yet I don't any good reason to not do it.
Comment by Isenmann Daniel (ise) - Tuesday, 21 July 2015, 19:55 GMT
So if I understand you right I can close this bug as won't fix?
Comment by Alexandre Bique (babali) - Tuesday, 21 July 2015, 20:05 GMT
Do what you think the best is.
You have the file for the systemd thing, I don't get why you don't add it to the package. But I don't care if it is not in.
Comment by Felix Yan (felixonmars) - Friday, 11 September 2015, 06:46 GMT
Since we already provided dhcpd4/6.service downstream, I'm OK to add another simple systemd unit like this one.

Thank you for providing it.

Loading...