Re: 8.1.9 - double free, resolvconf
Matěj Grégr
Fri May 01 14:15:28 2020
Hello Roy,
On 01.05.2020 15:02, Roy Marples wrote:
>> bond0: executing `/usr/libexec/dhcpcd-run-hooks' BOUND
>> Failed to get global data: Unit dbus-org.freedesktop.resolve1.service
>> not found.
>> free(): double free detected in tcache 2
>> /usr/libexec/dhcpcd-hooks/20-resolv.conf: line 98: 14542 Done
>> printf %s "$conf"
>> 14543 Aborted (core dumped) | "$resolvconf" -a
>> "$ifname"
>> forking to background
>> forked to background, child pid 14552
>>
>> The address is configured properly but addresses of resolvers are not
>> written to resolv.conf. Any idea how to fix this?
>
> Install openresolv, which I do maintain and support.
> I do not support the resolvconf implementation by systemd.
>
Openresolv is not available in centos repos, but I can create a package
and add it to our repo, that is probably not a problem.
However, it's strange I don't see the same issue in centos7 with older
dhcpcd (8.0.2) where openresolver is also not installed, but resolvers
are set properly in /etc/resolv.conf.
Anyway, thanks, will try to play with openresolv.
M.
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
Archive administrator: postmaster@marples.name