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


Groups > linux.debian.bugs.dist > #1174551

Bug#1055694: initramfs-tools: After updating coreutils cp: not replacing in console when running update-initramfs

From Thorsten Glaser <tg@evolvis.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1055694: initramfs-tools: After updating coreutils cp: not replacing in console when running update-initramfs
Date 2023-11-11 01:50 +0100
Message-ID <HyKmd-4yIl-1@gated-at.bofh.it> (permalink)
References <Hyv3P-4pBp-3@gated-at.bofh.it> <HyBVD-4tNe-5@gated-at.bofh.it> <Hyv3P-4pBp-3@gated-at.bofh.it> <HyBVD-4tNe-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


On Fri, 10 Nov 2023, Sven Joachim wrote:

>|   'cp -n' and 'mv -n' now exit with nonzero status if they skip their
>|   action because the destination exists, and likewise for 'cp -i',

Ouch! Nonzero? That’s harsh, and bad as it’s impossible to distinguish
between error and declining to copy/move.

There is a good example in diff(1) for how to handle this better:
use distinct errorlevels for each case.

Michael, could you perhaps throw that upstream?

bye,
//mirabilos
-- 
15:41⎜<Lo-lan-do:#fusionforge> Somebody write a testsuite for helloworld :-)

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1055694: initramfs-tools: After updating coreutils cp: not replacing in console when running update-initramfs Konomi <konomikitten@gmail.com> - 2023-11-10 09:30 +0100
  Bug#1055694: initramfs-tools: After updating coreutils cp: not replacing in console when running update-initramfs Sven Joachim <svenjoac@gmx.de> - 2023-11-10 16:50 +0100
    Bug#1055694: initramfs-tools: After updating coreutils cp: not replacing in console when running update-initramfs Thorsten Glaser <tg@evolvis.org> - 2023-11-11 01:50 +0100
      Bug#1055694: initramfs-tools: After updating coreutils cp: not replacing in console when running update-initramfs Sven Joachim <svenjoac@gmx.de> - 2023-11-11 08:40 +0100
  Bug#1055694: klibc-utils: Patch to fix cp warning "Mario Izquierdo (mariodebian)" <mariodebian@gmail.com> - 2023-12-07 10:50 +0100
    Bug#1055694: klibc-utils: Patch to fix cp warning Vincent Lefevre <vincent@vinc17.net> - 2023-12-07 11:40 +0100
      Bug#1055694: klibc-utils: Patch to fix cp warning Florent 'Skia' Jacquet <florent.jacquet@canonical.com> - 2023-12-13 11:00 +0100

csiph-web