Got the same error on 6.2.2

---------- Forwarded message ---------
From: Murilo Tavares <murilo...@gmail.com>
Date: Wed, 15 Dec 2021 at 09:51
Subject: Issue on confluentic/cp-kafka-connect:6.0.5
To: <users@kafka.apache.org>


Hi
In order to get rid of some non-log4j vulnerabilities, I upgraded my
KafkaConnect docker image from 6.0.2 to 6.0.5.
It looks to me 6.0.5 (launched 5 days ago) is broken.
I get the following error:
[Errno 13] Permission denied: '/etc/kafka/connect-log4j.properties'
Command [/usr/local/bin/dub template
/etc/confluent/docker/log4j.properties.template
/etc/kafka/connect-log4j.properties] FAILED !

Since with the latest log4j vulnerabilities there seems to be a stronger
recommendation to make log configuration files read-only, it looks to me
the permission of the log4j configuration might have changed on the
latest kafka-connect docker image, which broke this script:
docker-shell$ tail -n 2 /etc/confluent/docker/configure
# The connect-distributed script expects the log4j config at
/etc/kafka/connect-log4j.properties.
dub template "/etc/confluent/docker/log4j.properties.template"
"/etc/kafka/connect-log4j.properties"

Thanks
Murilo

Reply via email to