Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #12595

Re: ca-certificate-java/openjdk installation issues

Path csiph.com!1.us.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!weretis.net!feeder8.news.weretis.net!news.imp.ch!fu-berlin.de!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From Vladimir Petko <vladimir.petko@canonical.com>
Newsgroups linux.debian.maint.java
Subject Re: ca-certificate-java/openjdk installation issues
Date Mon, 27 Feb 2023 08:20:02 +0100
Message-ID <G3FXI-8NM2-1@gated-at.bofh.it> (permalink)
References <FWBFv-4dUm-5@gated-at.bofh.it> <G1HqW-7xt9-5@gated-at.bofh.it> <G1I3D-7xWb-13@gated-at.bofh.it> <G1IwF-7y5I-11@gated-at.bofh.it> <G1IQ1-7ycD-7@gated-at.bofh.it> <G1IQ1-7ycD-9@gated-at.bofh.it> <G1JsJ-7yFr-11@gated-at.bofh.it> <G1JM5-7yM7-1@gated-at.bofh.it> <G29ZT-7Pje-3@gated-at.bofh.it> <G2pLj-7ZKV-1@gated-at.bofh.it> <G2pV0-7ZOm-5@gated-at.bofh.it> <G2pV0-7ZOm-7@gated-at.bofh.it> <G2xIR-84Op-1@gated-at.bofh.it> <G2yOB-85wN-3@gated-at.bofh.it>
X-Mailbox-Line From debian-java-request@lists.debian.org Mon Feb 27 07:17:16 2023
Old-Return-Path <vladimir.petko@canonical.com>
X-Amavis-Spam-Status No, score=-9.401 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FOURLA=0.1, LDO_WHITELIST=-5, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -5.5
X-Gm-Message-State AO0yUKUMv2qp54pSV3wPfN4WJ2Va/SA/7w9Za79lkUieUsVDAw9hzBxu x6reYUcAf76v+/K+xn9g3YrpEkd1OkxvJgkc816ylp+ZwO8fs2El+hiSzYM/edi9a5DHnTkF0ur RCEnBKYfacKzQKJSAIBKizJaxcWMrwkhpDRfyJiuItZTpjQNveD5P+Q5L6MziRyS1gQ==
X-Received by 2002:a17:902:e891:b0:199:482e:6f93 with SMTP id w17-20020a170902e89100b00199482e6f93mr4133653plg.2.1677482212910; Sun, 26 Feb 2023 23:16:52 -0800 (PST)
X-Google-SMTP-Source AK7set+CMF1mfDy4sV/ePNTg9fjLUpldgdvbW6Ti9MGgXac3YDiQwgWfOPhgE6muqwMgnpPxZm/6NuetrG+5jHwZZ4g=
X-Received by 2002:a17:902:e891:b0:199:482e:6f93 with SMTP id w17-20020a170902e89100b00199482e6f93mr4133643plg.2.1677482212529; Sun, 26 Feb 2023 23:16:52 -0800 (PST)
MIME-Version 1.0
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding quoted-printable
X-Mailing-List <debian-java@lists.debian.org> archive/latest/23251
List-ID <debian-java.lists.debian.org>
List-URL <https://lists.debian.org/debian-java/>
List-Archive https://lists.debian.org/msgid-search/CALFf3kdo82AasdS61yKOqNmypzyrUYzhWP7QqGO=B7Hg5WPtnA@mail.gmail.com
Approved robomod@news.nic.it
Lines 72
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc doko@ubuntu.com, debian-java@lists.debian.org
X-Original-Date Mon, 27 Feb 2023 20:16:41 +1300
X-Original-Message-ID <CALFf3kdo82AasdS61yKOqNmypzyrUYzhWP7QqGO=B7Hg5WPtnA@mail.gmail.com>
X-Original-References <CALFf3kckwyx6X93=1JNjcnBdyctJe9AtfXYQsOoJf5qeUUjNEw@mail.gmail.com> <c2ec8737fb5a03f1039a2e90ab925594@apache.org> <CALFf3kdPbsbF-TJkPTF6VaQXphy-xCKiJ9WRLFk6KRD-OsufWg@mail.gmail.com> <665f66a6-347d-18ce-457a-548d7fcd2c@tarent.de> <CALFf3kfRb7fi=wZUZtQdAq35YRudj0x=hHZ-ZyA8qTrX0MoxdA@mail.gmail.com> <ba7f6b37-973a-7c11-3fc5-e83b97f57833@tarent.de> <CALFf3kerkvEc6WxN7zcEVo3CHeJKkfTHw3dWhtX6LP2t24NZsg@mail.gmail.com> <283b139-4276-227e-d17-f640b09f95d@tarent.de> <CALFf3kf1CYK3VzzatSxBBTh=VyfZfogYoWp9o=gyxpySMB0aiw@mail.gmail.com> <9c268964-afbc-55f-5415-3aba7b169394@tarent.de> <CALFf3kd074EGBP7eoV6_2siY2o_VBYN9aOerjU2UrscnpdR0-Q@mail.gmail.com> <c74bd9dd-8593-589b-26ec-98bba97b2e30@tarent.de> <CALFf3kfDSzmTZCGAMgyiYCk+Ff=98b1ZbMC2WyR55M_WbEdidg@mail.gmail.com> <4b78a8e6-bcab-9eb-59d5-f3b8c651379@tarent.de>
Xref csiph.com linux.debian.maint.java:12595

Show key headers only | View raw


Hi,

>Is this REALLY necessary? AIUI triggers it shouldn’t, with
>the correct invocations. Please do talk to people who know
>about triggers well.

Regarding the trigger activation we have the following options:
 - CI triggers (coming from the .triggers file). They are being called
from `deferred_configure` (configure.c 635) -
trig_activate_packageprocessing(). This happens before postinst script
is ran at configure.c:677 and is too early for this use-case.
 - File triggers. Those will be called after unpacking a file. This
would be brittle as we have an implicit dependency on the file
creation and too early for this use case.
 - Explicit triggers through dpkg-trigger. This option allows to call
the trigger from the postinstall script. If we set the await flag when
triggering, the openjre will not get installed until trigger finishes.
Please correct if I have missed some option here.

I have just realised that keystore conversion produces .dpkg_new file,
which with this approach will have to be copied back manually.

Best Regards,
 Vladimir.


On Fri, Feb 24, 2023 at 6:21 PM Thorsten Glaser <t.glaser@tarent.de> wrote:
>
> On Fri, 24 Feb 2023, Vladimir Petko wrote:
>
> >The issue is the migration procedure - those packages have to be
> >published together to avoid any nasty surprises.
>
> Yeah, we’ll have to pick a time to do that, which is after
> the bookworm release anyway (it’s not okay to upload things
> to unstable right now that are not targetting the release,
> and only small targetted fixes, not big changes).
>
> >- call update-certificates-java trigger after update-alternatives in
> >every jre-headless postinstall script
>
> Is this REALLY necessary? AIUI triggers it shouldn’t, with
> the correct invocations. Please do talk to people who know
> about triggers well.
>
> >Potential problem:
> >- update-certificates-java trigger logs appearing multiple times when
> >different openjdk versions are installed at the same time
>
> dpkg should merge them, but even if not, triggers must be
> omnipotent anyway, so that’s not a problem.
>
> bye,
> //mirabilos
> --
> Infrastrukturexperte • tarent solutions GmbH
> Am Dickobskreuz 10, D-53121 Bonn • http://www.tarent.de/
> Telephon +49 228 54881-393 • Fax: +49 228 54881-235
> HRB AG Bonn 5168 • USt-ID (VAT): DE122264941
> Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg
>
>                         ****************************************************
> /⁀\ The UTF-8 Ribbon
> ╲ ╱ Campaign against      Mit dem tarent-Newsletter nichts mehr verpassen:
>  ╳  HTML eMail! Also,     https://www.tarent.de/newsletter
> ╱ ╲ header encryption!
>                         ****************************************************

Back to linux.debian.maint.java | Previous | NextPrevious in thread | Find similar


Thread

ca-certificate-java/openjdk installation issues Vladimir Petko <vladimir.petko@canonical.com> - 2023-02-07 20:20 +0100
  Re: ca-certificate-java/openjdk installation issues Thorsten Glaser <t.glaser@tarent.de> - 2023-02-07 20:40 +0100
    Re: ca-certificate-java/openjdk installation issues Vladimir Petko <vladimir.petko@canonical.com> - 2023-02-07 20:40 +0100
    Re: ca-certificate-java/openjdk installation issues Vladimir Petko <vladimir.petko@canonical.com> - 2023-02-07 21:10 +0100
  Re: ca-certificate-java/openjdk installation issues Emmanuel Bourg <ebourg@apache.org> - 2023-02-21 21:30 +0100
    Re: ca-certificate-java/openjdk installation issues Vladimir Petko <vladimir.petko@canonical.com> - 2023-02-21 21:40 +0100
    Re: ca-certificate-java/openjdk installation issues Vladimir Petko <vladimir.petko@canonical.com> - 2023-02-21 22:10 +0100
      Re: ca-certificate-java/openjdk installation issues Thorsten Glaser <t.glaser@tarent.de> - 2023-02-21 22:40 +0100
        Re: ca-certificate-java/openjdk installation issues Vladimir Petko <vladimir.petko@canonical.com> - 2023-02-21 23:00 +0100
          Re: ca-certificate-java/openjdk installation issues Thorsten Glaser <t.glaser@tarent.de> - 2023-02-21 23:00 +0100
            Re: ca-certificate-java/openjdk installation issues Vladimir Petko <vladimir.petko@canonical.com> - 2023-02-21 23:40 +0100
              Re: ca-certificate-java/openjdk installation issues Thorsten Glaser <t.glaser@tarent.de> - 2023-02-22 00:00 +0100
              Re: ca-certificate-java/openjdk installation issues Thorsten Glaser <t.glaser@tarent.de> - 2023-02-22 00:00 +0100
                Re: ca-certificate-java/openjdk installation issues Vladimir Petko <vladimir.petko@canonical.com> - 2023-02-23 04:00 +0100
                Re: ca-certificate-java/openjdk installation issues Thorsten Glaser <t.glaser@tarent.de> - 2023-02-23 20:50 +0100
                Re: ca-certificate-java/openjdk installation issues Vladimir Petko <vladimir.petko@canonical.com> - 2023-02-23 21:00 +0100
                Re: ca-certificate-java/openjdk installation issues Thorsten Glaser <t.glaser@tarent.de> - 2023-02-23 21:00 +0100
                Re: ca-certificate-java/openjdk installation issues Vladimir Petko <vladimir.petko@canonical.com> - 2023-02-24 05:20 +0100
                Re: ca-certificate-java/openjdk installation issues Thorsten Glaser <t.glaser@tarent.de> - 2023-02-24 06:30 +0100
                Re: ca-certificate-java/openjdk installation issues Vladimir Petko <vladimir.petko@canonical.com> - 2023-02-27 08:20 +0100

csiph-web