FS#38310 - [netctl] does not stop dhcpcd if profile file changed from dhcp to static

Attached to Project: Arch Linux
Opened by Michal Svoboda (pht) - Sunday, 29 December 2013, 20:50 GMT
Last edited by Jouke Witteveen (jouke) - Tuesday, 25 February 2014, 13:18 GMT
Task Type Bug Report
Category Arch Projects
Status Closed
Assigned To Jouke Witteveen (jouke)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Steps to reproduce:

1. create /etc/netctl/eth with IP=dhcp
2. netctl start eth
3. will launch a dhcpcd process
4. change /etc/netctl/eth to IP=static and the needed config (IP address, etc)
5. netctl stop eth

Problem:
The dhcpcd process from step 3 remains running and it will interfere with the static assignment from step 4 if the profile is started again.
Also, systemctl status dhcpcd will report inactive service, because this dhcpcd is launched without systemd control. The only way to get rid of it is to kill it manually.
This task depends upon

Closed by  Jouke Witteveen (jouke)
Tuesday, 25 February 2014, 13:18 GMT
Reason for closing:  Won't fix
Comment by Jouke Witteveen (jouke) - Tuesday, 25 February 2014, 13:17 GMT
It is bad practice to modify a running profile. I'm afraid there's not much we can do to fix issues of this kind.

You can always copy the profile, modify the copy and switch-to the copy.

Loading...