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


Groups > linux.debian.bugs.dist > #1174164 > unrolled thread

Bug#1055511: progress-linux-container: diversions need to be updated to deal with DEP17 P3

Started byLuca Boccassi <bluca@debian.org>
First post2023-11-07 16:50 +0100
Last post2023-12-22 12:40 +0100
Articles 4 — 3 participants

Back to article view | Back to linux.debian.bugs.dist


Contents

  Bug#1055511: progress-linux-container: diversions need to be updated to deal with DEP17 P3 Luca Boccassi <bluca@debian.org> - 2023-11-07 16:50 +0100
    Bug#1055511: progress-linux-container: diversions need to be updated to deal with DEP17 P3 Helmut Grohne <helmut@subdivi.de> - 2023-12-19 15:20 +0100
      Bug#1055511: progress-linux-container: diversions need to be updated to deal with DEP17 P3 Daniel Baumann <daniel.baumann@progress-linux.org> - 2023-12-19 16:00 +0100
    Bug#1055511: diversions of /sbin/halt and friends Helmut Grohne <helmut@subdivi.de> - 2023-12-22 12:40 +0100

#1174164 — Bug#1055511: progress-linux-container: diversions need to be updated to deal with DEP17 P3

FromLuca Boccassi <bluca@debian.org>
Date2023-11-07 16:50 +0100
SubjectBug#1055511: progress-linux-container: diversions need to be updated to deal with DEP17 P3
Message-ID<HxwuZ-3OBZ-3@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Package: progress-linux-container
Severity: serious
User: helmutg@debian.org
Usertags: dep17p3
Control: affects -1 + systemd-sysv

Dear Maintainer(s),

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.

For more details, see:

https://subdivi.de/~helmut/dep17.html
https://subdivi.de/~helmut/dumat.yaml

-- 
Kind regards,
Luca Boccassi

[toc] | [next] | [standalone]


#1179324

FromHelmut Grohne <helmut@subdivi.de>
Date2023-12-19 15:20 +0100
Message-ID<HMJ6V-eEwe-3@gated-at.bofh.it>
In reply to#1174164

[Multipart message — attachments visible in raw view] — view raw

Control: tags -1 + patch

On Wed, Nov 08, 2023 at 08:45:55PM +0100, Helmut Grohne wrote:
> I'm attaching a patch. I don't have high confidence, because it fails
> piuparts with left-over files. Given the mess in piuparts, I have no
> intentions to further test this. You may use the patch as a starting
> point.

I'm now glad I missed attaching the patch. The same patch for
molly-guard was horribly broken.

Based on the work on molly-guard, I'm ataching an updated patch and it
really is a copy of the one on bfh-container #1055509, so see there for
the why its done the way its done.

Also please remember to go for experimental first (just like bfh-container).

Helmut

[toc] | [prev] | [next] | [standalone]


#1179328

FromDaniel Baumann <daniel.baumann@progress-linux.org>
Date2023-12-19 16:00 +0100
Message-ID<HMJJD-eEII-1@gated-at.bofh.it>
In reply to#1179324
Hi Helmut

On 12/19/23 15:13, Helmut Grohne wrote:
> Based on the work on molly-guard, I'm ataching an updated patch and it
> really is a copy of the one on bfh-container #1055509, so see there for
> the why its done the way its done.

great, thanks!
I'll test it tomorrow and upload.

Regards,
Daniel

[toc] | [prev] | [next] | [standalone]


#1179757 — Bug#1055511: diversions of /sbin/halt and friends

FromHelmut Grohne <helmut@subdivi.de>
Date2023-12-22 12:40 +0100
SubjectBug#1055511: diversions of /sbin/halt and friends
Message-ID<HNM2J-fiIX-9@gated-at.bofh.it>
In reply to#1174164
Hello,

thanks to all of you Francois, Daniel and Michael for uploading my
changes to experimental.

Whilst I already tested the patches individually earlier, this gave me
the opportunity to test them in cooperation. In particular, the
versioned Conflicts issued by systemd-sysv now work as expected. In
performed a number of manual tests upgrading from bookworm to
experimental and replacing diverters for one another
(molly-guard/bfh-container/progress-linux-container) as well as
replacing divertees (systemd-sysv/sysvinit-core) and removing packages.
When doing this with apt, this all looks good despite systemd-sysv not
having added my patch for #1057220. This is expected as that patch
mitigates problems resulting from direct usage of dpkg. I also checked
the dumat report for these uploads and am generally happy. Given that
the current mitigation does make diverters not issue Breaks, molly-guard
continues to work with the current sysvinit-core that has not moved its
files yet.

My patch for progress-linux-container and bfh-container fails to remove
/usr/lib/container on package removal. This probably breaks piuparts. I
am attaching a followup patch. This defect is unrelated to the /usr-move
as far as I can tell.

I would prefer systemd-sysv to also address #1057220, but Michael
confirmed that he was not intentionally excluding it. Also the
systemd-ukify split leaves an unusual file loss scenario while upgrading
from bookworm-backports and simultaneously installing systemd-ukify (P1),
which Michael will likely mitigate by upgrading Breaks to Conflicts
(M7).

I also thank Marc for his works-for-me feedback regarding molly-guard.

Given all of this, I am happy with all of these changes moving to
unstable and trixie. Thanks for your patience.

Helmut

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web