Received: from mail.rna.nl (mail.rna.nl [213.125.118.53]) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPS id 31D8D225DA9 for <~alpine/users@lists.alpinelinux.org>; Mon, 16 Dec 2024 14:47:53 +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 35ACA11F0CF2A; Mon, 16 Dec 2024 15:47:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rna.nl; s=dkim_rsa2048; t=1734360472; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Jiassa00k+gHfkM6cm1lDHJb+PJBJVZ+qqfq3Gbc/OQ=; b=PzzdwdQhyECTjEif/Wf1GoiZi0Mi7oMC9VXjPay957tK+NcYMNbtnqx0DzkUaQmqVIbW87 QlhWQNCk716hWScQ6tinkumUrCWXrszSklUxnxUH+hbVGEskMvrxpllAQJOvdiIaTI5ggw JYm6AEk18GNIadP4oDA2VISG/c8xXoiNkiM2S0xHYEtSMMbdHfH4YyHR4xEjwt0tJE+BMf 0wYRaTErCZc+QF7KyPFX2X45jj9FMc7cR0rsJknCoZRIDvj3SVPj2wdss+a2ZvsRTZ+6GH sDWJIL5lcc6cbVpyHMdFh2V9+oKM437iHt+4CJ26e1D5nXPSx8v8kmOaG3CIhQ== From: Gerben Wierda Message-Id: <0F1CFB0C-77D2-4CCE-A0A2-5CC4645E4983@rna.nl> Content-Type: multipart/alternative; boundary="Apple-Mail=_E0A80151-4BB2-434E-B42B-E9E246385B95" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51.11.1\)) Subject: Re: From 3.21 on, the dcc apk install seems not to work Date: Mon, 16 Dec 2024 15:47:52 +0100 In-Reply-To: Cc: ~alpine/users@lists.alpinelinux.org To: Sertonix References: X-Mailer: Apple Mail (2.3776.700.51.11.1) --Apple-Mail=_E0A80151-4BB2-434E-B42B-E9E246385B95 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On 16 Dec 2024, at 15:26, Sertonix wrote: >=20 >> 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. >>=20 >> Key elements in my Dockerfile that works under Alpine 3.19: >>=20 >> RUN apk add dcc dcc-dccifd >>=20 >> My entrypoint.sh contains: >>=20 >> if [ ! -f /var/dcc/dcc_conf ] >> then >> echo "Error: no dcc configuration!" >> exit 1 >> else >> # alpine: >> /var/dcc/libexec/dccifd >> fi >>=20 >> This fails under 3.20 and 3 latest >=20 > Do you mean 3.21 or 3.20? I can find a related change but it is only > included in 3.21: = https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/74592 You are quite right. As of 3.21 it doesn't work (3.20 had another issue = in my container, unrelated) Basically, under 3.21 /var/dcc is empty except for a log directory. = There is dcc_conf anywhere on the image (or whatever else is missing) >=20 >> 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? >>=20 >> Gerben Wierda (LinkedIn , = Mastodon , Bluesky = ) >> R&A IT Strategy (main site) >> Book: Chess and the Art of Enterprise Architecture = >> Book: Mastering ArchiMate = >> YouTube Channel --Apple-Mail=_E0A80151-4BB2-434E-B42B-E9E246385B95 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii

On 16 Dec 2024, at 15:26, Sertonix = <sertonix@posteo.net> wrote:

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/dcci= fd
fi

This fails under 3.20 and 3 latest

Do you mean 3.21 or 3.20? I can find a = related change but it is only
included in 3.21: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/74592<= /a>

You are quite right. As of 3.21 = it doesn't work (3.20 had another issue in my container, = unrelated)

Basically, under 3.21 /var/dcc is empty = except for a log directory. There is dcc_conf anywhere on the image (or = whatever else is missing)


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 <
https://www.linkedin.com= /in/gerbenwierda>, Mastodon <https://newsie.social/@gctwnl&g= t;, Bluesky <https://bsky.ap= p/profile/gerbenwierda.bsky.social>)
R&A IT Strategy = <https://ea.rna.nl/> (main = site)
Book: Chess and the Art of Enterprise Architecture <https://ea.rna.nl/the-book/>Book: Mastering ArchiMate <https://ea.rna= .nl/mastering-archimate-edition-3-2/>
YouTube Channel <http://www.youtube.com/@Gerb= enWierda>

= --Apple-Mail=_E0A80151-4BB2-434E-B42B-E9E246385B95--