Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.rc > #350653 > unrolled thread
| Started by | Helmut Grohne <helmut@subdivi.de> |
|---|---|
| First post | 2023-11-08 20:50 +0100 |
| Last post | 2023-12-19 15:20 +0100 |
| Articles | 2 — 1 participant |
Back to article view | Back to linux.debian.bugs.rc
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Bug#1055509: bfh-container: diversions need to be updated to deal with DEP17 P3 Helmut Grohne <helmut@subdivi.de> - 2023-11-08 20:50 +0100
Bug#1055509: bfh-container: diversions need to be updated to deal with DEP17 P3 Helmut Grohne <helmut@subdivi.de> - 2023-12-19 15:20 +0100
| From | Helmut Grohne <helmut@subdivi.de> |
|---|---|
| Date | 2023-11-08 20:50 +0100 |
| Subject | Bug#1055509: bfh-container: diversions need to be updated to deal with DEP17 P3 |
| Message-ID | <HxWIN-453q-3@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
On Tue, Nov 07, 2023 at 03:37:46PM +0000, Luca Boccassi wrote: > systemd-sysv 255~rc1-3, currently in experimental, moves > halt/poweroff/reboot/shutdown from /sbin/ to /usr/sbin/, and thus > diversions employed by this package fall afoul of DEP17 P3. Please > update the diversions as needed. For now, systemd-sysv has an > unversioned conflict to avoid data losses. This will be uploaded to > unstable this week. As soon as a fixed version of this package is > uploaded, the conflict will be changed to versioned. I'm proposing the attached patch to implement DEP17 mitigation M18. I caution that the patch is untested, because piuparts failed for unrelated reasons. open-infrastructure-compute-tools.postinst and sudo.prerm fail inside piuparts. So consider this a starting point. Helmut
[toc] | [next] | [standalone]
| From | Helmut Grohne <helmut@subdivi.de> |
|---|---|
| Date | 2023-12-19 15:20 +0100 |
| Message-ID | <HMJ6V-eEwe-5@gated-at.bofh.it> |
| In reply to | #350653 |
[Multipart message — attachments visible in raw view] — view raw
On Wed, Nov 08, 2023 at 08:07:29PM +0100, Helmut Grohne wrote: > I'm proposing the attached patch to implement DEP17 mitigation M18. I > caution that the patch is untested, because piuparts failed for > unrelated reasons. open-infrastructure-compute-tools.postinst and > sudo.prerm fail inside piuparts. So consider this a starting point. The original patch didn't work at all. molly-guard was using the same approach and it failed on multiple accounts. After quite some back and forth, molly-guard now has a patch that looks reasonably good and I've ported the approach to bfh-container. Notable: * Diversion targets must differ in more than aliasing. * Since bfh-container does not need access to the diverted files, we can continue to move them to a different directory. * To avoid the conflicts-is-not-conflicts problem, bfh-container must support aliased as well as canonicalized versions and not declare Breaks or Conflicts for diverted packages such as systemd-sysv. Since systemd-sysv now Conflits with bfh-container testing the patch in unstable is difficult. I've tested installing, removing and upgrading it in bookworm though and that all works. Also the diversions look reasonable to me. When uploading this, please target experimental. Then we'll update systemd-sysv to add a version to their breaks and further test the patch before uploading to unstable. Helmut
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.bugs.rc
csiph-web