Enable promote_secondaries conditionally
Leonid Isaev
Fri May 02 20:16:42 2014Hi,
Currently dhcpcd attempts to set promote_secondaries to 1 (in
if-linux.c, if_init()), and fails if /proc/sys if mounted ro. Hence, dhcpcd
will not work in systemd-nspawn containers which mount /proc/sys ro.
I understand why multiple IP addresses are useful, but perhaps
if_init() should check whether promote_secondaries == 0 and write to it only
in this case?
Thanks,
L.
--
Leonid Isaev
GPG fingerprints: DA92 034D B4A8 EC51 7EA6 20DF 9291 EE8A 043C B8C4
C0DF 20D0 C075 C3F1 E1BE 775A A7AE F6CB 164B 5A6D
Attachment:
signature.asc
Description: PGP signature
| Re: Enable promote_secondaries conditionally | Roy Marples |