Your message dated Tue, 22 Aug 2023 13:22:42 +0000
with message-id <[email protected]>
and subject line Bug#1043419: fixed in runit 2.1.2-56
has caused the Debian Bug report #1043419,
regarding runit: ineffective trigger interest due to /usr-merge
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1043419: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1043419
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: runit
Version: 2.1.2-54
Severity: important

Hi Lorenzo,

The runit package declares quite broad trigger interest:

| interest-noawait /usr/sbin
| interest-noawait /usr/bin
| interest-noawait /etc/init.d
| interest-noawait /lib/systemd/system

Would you be able to shed some light on why it does so?

In the mean time, let me explain why I am looking at this. I'm working
on finalizing the /usr-merge transition for Freexian SARL and triggers
are something that is impacted and runit is affected.

A trigger on /usr/sbin and /usr/bin misses out on files installed into
those locations via /sbin or /bin. Even if those files end up in the
same place due to the aliasing symlinks, dpkg knows them by the location
used in the data.tar of the .deb and if that happens to not be the /usr
one, it will skip a trigger activation, which may be a problem to runit
depending on why it declares such a broad trigger interest. In general,
such broad trigger interest seems dubious to me. Can you narrow it down
maybe?

The trigger interest for /etc/init.d is totally unaffected by the
/usr-merge, but the one for /lib/systemd/system will get broken.
Currently, packages must install their unit files to the aliased
location (due to the file move moratorium and the way debhelper
implements that) and runit will get properly activated (except for a
minority of units that happen to ship in the /usr location already). As
packages move their files from / to /usr, this trigger interest will
become ineffective and miss activations. This problem is captured in
DEP17 section P2 (a draft of this document is available at
https://subdivi.de/~helmut/dep17.html). We're in the process of
selecting mitigations for the various problems, but it already is clear
that the preferred mitigation for this problem is duplicating triggers
(M12), because this mitigation is safe regardless of the other
mitigations to be selected. So your trigger file should likely look like
this:

| ...
| interest-noawait /usr/lib/systemd/system
| # Duplicate trigger interest according to DEP17-M12 until forky is
| # released.
| interest-noawait /lib/systemd/system

Depending on your answers why you activate on /usr/bin and /usr/sbin you
may opt for similarly duplicating those triggers.

Note that this issue is actionable now. It will become release critical
once we lift the file move moratorium. I hope that to happen in two
months as the necessary preparations (one of which is this bug) are
ready.

If you have any questions, don't hesitate to ask.

Helmut

--- End Message ---
--- Begin Message ---
Source: runit
Source-Version: 2.1.2-56
Done: Lorenzo Puliti <[email protected]>

We believe that the bug you reported is fixed in the latest version of
runit, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Lorenzo Puliti <[email protected]> (supplier of updated runit package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 17 Aug 2023 19:36:41 +0200
Source: runit
Built-For-Profiles: noudeb
Architecture: source
Version: 2.1.2-56
Distribution: experimental
Urgency: medium
Maintainer: Lorenzo Puliti <[email protected]>
Changed-By: Lorenzo Puliti <[email protected]>
Closes: 1022837 1043419 1046998
Changes:
 runit (2.1.2-56) experimental; urgency=medium
 .
   * cpsv:
       - revert "cpsv: use sv.current symlink as source"
       - use sv.src symlink as source for runscript
   * runit.preinst:
       - fix wrong target for sv.current link
       - create sv.src link to make cpsv source configurable
   * trigger_sv:
       - maintain a runtime copy of services in sv.now
       - add a hook to atomically update services
       - look both in /etc and /usr to enable a service,
         /etc/sv/ is always preferred
   * 40-runit: also test /usr/share/runit/sv.current
   * update-service:
       - look in /usr/ and /etc/ for services;
       - stop requiring full path;
       - prefer services in /etc/ over services in /usr:
   * run_sysv_script: check /etc/service instead of /etc/sv
       (Closes: #1022837)
   * runit-init: drop obsolete Replaces without Breaks
   * runit: duplicate triggers as mitigation for usrmerge.
       + Thanks to Helmut Grohne <[email protected]>
        (Closes: #1043419)
   * d/rules: fix FTBFS after successful build
        (Closes: #1046998)
Checksums-Sha1:
 3506b9c7b9dc53f4c7045b8a711bcaf913574701 2294 runit_2.1.2-56.dsc
 cb9e2ada88eaf8a30dc1a7cc4027f5c941d3cc02 63788 runit_2.1.2-56.debian.tar.xz
 e8567e812ede0f8de649e2e53738a5395796132a 7563 runit_2.1.2-56_source.buildinfo
Checksums-Sha256:
 13d17533e9939a7b60bc1d472a46e000004a584590f73fa8b7a1ec12c87b723f 2294 
runit_2.1.2-56.dsc
 89988862057a742de1a286b049aeec9a8e9b44b65fae2ded956859a063818e32 63788 
runit_2.1.2-56.debian.tar.xz
 08c61f08a4af8e805e0e605a4587e4b6d329b356a3058b7105698781df7761bc 7563 
runit_2.1.2-56_source.buildinfo
Files:
 f01723506586b3509c5bd452e423f2fe 2294 admin optional runit_2.1.2-56.dsc
 6c121e0fd7b6b61018043bc190110b87 63788 admin optional 
runit_2.1.2-56.debian.tar.xz
 84c6c408ee1dd7e4e250cc71e56f86b4 7563 admin optional 
runit_2.1.2-56_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEXHq+og+GMEWcyMi14n8s+EWML6QFAmTkspcACgkQ4n8s+EWM
L6Sunw//fRm4CPQ+f6cOl6VvKKj3A9WXY1T6Mr8s1JgCCzRpsWTNWnx2S2qL72A7
btLJgnHAd/xOQYH6OMj2yYrjMeuQx0KfW4R+viN0qFvwnl2jU5DdBQCCSfsxCD6S
ojOOKy4OmQFEtnoL91vLHb5q5B3KHj/6F4/alzuFChtLoLUCxolrPC+AxN/mjM4F
nikeTF991aqHwlqtq9aun5k1CEeMZZG4L8rgnJm74HtculRC5jf+rugVyL4vO4N5
WJyBiVAcL5FT2uUtL/bl2RE39JsU2vLoQcCPF4wdQB+72WCBj85vq224LLI4PZhA
W/YRqRroPAA1N6kDyyMTosI9SjF1ggmZ9wHqd2zcHpE21zroeMhU+4ex1MoguISg
eIFN453v8+iDD0rULi+VvdELNztlhu6bA/612t49SmWZT43NiO9Tp90Ph1NrMaGB
zHmqk1Sq3aTRDdyRn0C6foLeFrRFf/se5DXUNNEEZphMQOBzgMr6R2quDjfpqNGs
p0PsdbgIX/e04ir+dFkEoEP7ZmQ5+BuJ8GyVD9Bf+br7NSiPYz62OrsSDe5jyFpg
RVZc6nP5JXCFNqyEy6xxPkvrsd0xS95K9UyXVH4Y/PGq3FaF5dfT/roa1YITbzBi
lRiKTGMvdnLX3g7CrhgGp372rJqBv4u9ohMa6Hdp1tXCwT1o8nQ=
=SUHg
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to