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


Groups > linux.debian.bugs.rc > #383583 > unrolled thread

Bug#1095202: nfs-common: file loss in upgrade due to /usr-move (DEP17 P1)

Started byHelmut Grohne <helmut@subdivi.de>
First post2025-02-05 08:40 +0100
Last post2025-02-05 17:00 +0100
Articles 2 — 2 participants

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


Contents

  Bug#1095202: nfs-common: file loss in upgrade due to /usr-move (DEP17 P1) Helmut Grohne <helmut@subdivi.de> - 2025-02-05 08:40 +0100
    Bug#1095202: marked as done (nfs-common: file loss in upgrade due  to /usr-move (DEP17 P1)) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-02-05 17:00 +0100

#383583 — Bug#1095202: nfs-common: file loss in upgrade due to /usr-move (DEP17 P1)

FromHelmut Grohne <helmut@subdivi.de>
Date2025-02-05 08:40 +0100
SubjectBug#1095202: nfs-common: file loss in upgrade due to /usr-move (DEP17 P1)
Message-ID<KcIaR-ewCX-5@gated-at.bofh.it>

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

Package: nfs-common
Version: 1:2.8.2-2~exp1
Severity: serious
Justification: file loss in upgrade scenario
Tags: patch
User: helmutg@debian.org
Usertags: dep17p1

Hi Salvatore,

thanks for raising nfs-common ahead of upload and going via
experimental. Indeed, dumat flags
/usr/lib/systemd/system/nfs-blkmap.service as a file possibly lost in an
upgrade. To experience this loss, you should install nfs-kernel-server
from bookworm and then unpack nfs-common from experimental before
upgrading nfs-kernel-server.

I am proposing a composite mitigation. Upgrading Breaks+Replaces to
Conflicts mostly prevents concurrent unpacks except in rare
circumstances. Indeed, my testing reveals that this causes apt to
upgrade nfs-kernel-server before nfs-common in one of the relevant
scenarios. Rarely, dpkg may unpack nfs-common before nfs-kernel-server
despite the declared conflict. In this situation, a protective diversion
will prevent the file loss.

I am attaching a patch and my test cases for your convenience. If you
replace the package version with the one from the archive, you should
see it fail.

Helmut

[toc] | [next] | [standalone]


#383607 — Bug#1095202: marked as done (nfs-common: file loss in upgrade due to /usr-move (DEP17 P1))

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2025-02-05 17:00 +0100
SubjectBug#1095202: marked as done (nfs-common: file loss in upgrade due to /usr-move (DEP17 P1))
Message-ID<KcPYJ-eCKa-1@gated-at.bofh.it>
In reply to#383583

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

Your message dated Wed, 05 Feb 2025 15:49:46 +0000
with message-id <E1tfhes-007jn1-Dt@fasolo.debian.org>
and subject line Bug#1095202: fixed in nfs-utils 1:2.8.2-2
has caused the Debian Bug report #1095202,
regarding nfs-common: file loss in upgrade due to /usr-move (DEP17 P1)
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 owner@bugs.debian.org
immediately.)


-- 
1095202: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1095202
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [standalone]


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


csiph-web