Received: from mail.rna.nl (mail.rna.nl [213.125.118.53]) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPS id A277C225F98 for <~alpine/users@lists.alpinelinux.org>; Mon, 16 Dec 2024 13:47:20 +0000 (UTC) Received: from smtpclient.apple (hermione.rna.nl [192.168.2.86]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by hermione.rna.nl (Postfix) with ESMTPSA id 45D3211F09BC7 for <~alpine/users@lists.alpinelinux.org>; Mon, 16 Dec 2024 14:47:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rna.nl; s=dkim_rsa2048; t=1734356839; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=c76kVdXQrRFC/zZFXlZDNTUyGG9qDmv0HmuMAG+t96k=; b=M9AvwkjFQ1tH0tFb2FwNjdOmvVUGJlYCHpMxPvIjAbZEmRmMWHbj64kawASTt3IFKCke5z SUmR35fNBIDnN4jMfAPEqJJhhRgOmpmV+rxBXfZ1IPwtepCgTVjmOvWm+uD3/J7kCuAZPV NWlJRAwPpnxJrRQNrD7Q5rf9irSEX91Ruvv27H5htWpSiGdhL+mK16HDhWSZdwnoL/PQLr ceQTbuJVYZZLJZ2/biGlPJ6YPZp1BSvZidFjQQXAp69xFVAS8+j5xPWfujIlqe1a6wJQPF W30pNhbc0sd+QccPguEsny2L+xy+56ksPxJ1OkvWGjFIClsdQplznGIhdgPhWA== From: Gerben Wierda Content-Type: multipart/alternative; boundary="Apple-Mail=_11AF4979-5CD4-4FBD-B0A8-2D9E6AB92197" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51.11.1\)) Subject: From 3.20 on, the dcc apk install seems not to work Message-Id: Date: Mon, 16 Dec 2024 14:47:19 +0100 To: ~alpine/users@lists.alpinelinux.org X-Mailer: Apple Mail (2.3776.700.51.11.1) --Apple-Mail=_11AF4979-5CD4-4FBD-B0A8-2D9E6AB92197 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I am running a Docker container based on Alpine Linux 3. When I recently = did my regular update, I found out that my Dockerfile doesn't work = anymore because dcc fails to install properly. Key elements in my Dockerfile that works under Alpine 3.19: RUN apk add dcc dcc-dccifd My entrypoint.sh contains: if [ ! -f /var/dcc/dcc_conf ] then echo "Error: no dcc configuration!" exit 1 else # alpine: /var/dcc/libexec/dccifd fi This fails under 3.20 and 3 latest Investigating, I found out that under 3.20 and up, apk fails to fully = install dcc. E.g. there is no /var/dcc/dcc_conf and = /var/dcc/libexec/dccifd is now /usr/libexec/dccifd. That last one I = could fix, but I do not trust the apk installation of dcc on these newer = Alpine versions (who knows what else is missing?) Am I wrong and is = there something else I need to do? Or is indeed the dcc apk package = broken? Gerben Wierda (LinkedIn , = Mastodon , Bluesky = ) R&A IT Strategy (main site) Book: Chess and the Art of Enterprise=C2=A0Architecture = Book: Mastering ArchiMate = YouTube Channel --Apple-Mail=_11AF4979-5CD4-4FBD-B0A8-2D9E6AB92197 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
I am = running a Docker container based on Alpine Linux 3. When I recently did = my regular update, I found out that my Dockerfile doesn't work anymore = because dcc fails to install properly.

Key = elements in my Dockerfile that works under Alpine 3.19:


RUN apk add = dcc dcc-dccifd


My entrypoint.sh = contains:


if [ ! -f /var/dcc/dcc_conf ]

then

        echo "Error: no dcc = configuration!"

        exit 1

else

        # alpine:

        = /var/dcc/libexec/dccifd

fi


This fails under 3.20 and 3 = latest

Investigating, I found out that under 3.20 and = up, apk fails to fully install dcc. E.g. there is no /var/dcc/dcc_conf and /var/dcc/libexec/dccifd is = now /usr/libexec/dccifd. That last one I could fix, but I do not = trust the apk installation of dcc on these newer Alpine versions (who = knows what else is missing?) Am I wrong and is there something else I = need to do? Or is indeed the dcc apk package broken?
= --Apple-Mail=_11AF4979-5CD4-4FBD-B0A8-2D9E6AB92197--