Package: debianutils Version: 5.23.1 Severity: normal X-Debbugs-Cc: michel.dec...@orange.com
Dear Maintainer, Since version 5.23.1, the 'run-parts --list' command produces an error message on standard output when the directory passed as argument does not exist / is not readable. This is different from the previous version 5.21, which produced error messages on the error output. As an example, consider this script extract : for x in $(run-parts --list /foo) ; do echo "PART: $x" ; done Using 5.21 version on an environment where directory /foo is missing, the script produces an error on stderr and nothing on stdout, as expected : $ for x in $(run-parts --list /foo) ; do echo "PART: $x" ; done run-parts: failed to open directory /foo: No such file or directory However, using 5.23.1 version on the same environment, the output is : $ for x in $(run-parts --list /foo) ; do echo "PARTS: $x" ; done PART: run-parts: PART: Skipping PART: "/foo"; PART: failed PART: to PART: opendir: PART: No PART: such PART: file PART: or PART: directory and nothing is printed on stderr. With the new version 5.23.1, I expected an error message on stderr and nothing on stdout, as in the previous version. -- System Information: Debian Release: trixie/sid APT prefers testing-security APT policy: (500, 'testing-security'), (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 6.12.17-amd64 (SMP w/3 CPU threads; PREEMPT) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages debianutils depends on: ii libc6 2.41-4 debianutils recommends no packages. debianutils suggests no packages. -- no debconf information