On 18/04/2016 12:23, 積丹尼 Dan Jacobson wrote: > Package: dhcpcd5 > Version: 6.10.1-1 > X-debbugs-CC: r...@marples.name > > man page says: > > -k, --release [interface] > This causes an existing dhcpcd process running on the interface > to release its lease and de-configure the interface regardless of > the -p, --persistent option. If no interface is specified then > this applies to all interfaces. If no interfaces are left run- > ning, dhcpcd will exit. > > But in reality, > > # dhcpcd5 -k > dhcpcd not running > # pstree -al|grep dhc > |-dhcpcd5 wlxf428530bfc87 > |-grep dhc > # dhcpcd5 -k wlxf428530bfc87 > sending signal ARLM to pid 1312 > waiting for pid 1312 to exit > # dhcpcd5 -k wlxf428530bfc87 > dhcpcd not running
Also see the -x and -M options and the section on Multiple interfaces. A patch for better wording would be welcome :) Because you started dhcpcd on interface wlxf428530bfc87 without -M, all exit operations need to be given the same interface. > By the way, maybe it should also call itself by the name we called it, > dhcpcd5. The idea was that the dhcpcd package (@ version 3 iirc) would be retired at some point. Debian elected to have dhcpcd5 because it was slightly incompatible on the commandline with dhcpcd3. dhcpcd5 in Debian is actually dhcpcd-6.x, so go figure :) Roy