Your message dated Fri, 11 Apr 2025 14:48:55 +0000
with message-id <[email protected]>
and subject line Bug#1102512: fixed in debianutils 5.22
has caused the Debian Bug report #1102512,
regarding run-parts - fails on non-existing directories
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 [email protected]
immediately.)


-- 
1102512: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1102512
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: debianutils
Version: 5.21
Severity: important
X-Debbugs-Cc: [email protected]

run-parts tries to implement the UAPI Configuration Files Spec, but it
fails on non-existing directories.  This is a bit not helpful, as one of
the reasons for this spec is to allow /etc to be empty.

diff -urN debianutils-5.21.orig/run-parts.c debianutils-5.21/run-parts.c
--- debianutils-5.21.orig/run-parts.c   2024-11-15 15:42:16.000000000 +0100
+++ debianutils-5.21/run-parts.c        2025-04-09 22:04:44.163743807 +0200
@@ -506,8 +506,7 @@
   for (int i = 0; dirnames[i] != NULL; i++) {
     DIR *dirfd = opendir(dirnames[i]);
     if (!dirfd) {
-      error("failed to opendir %s: %s", dirnames[i], strerror(errno));
-      exit(1);
+      continue;
     }
     struct dirent *dp;
     while ((dp = readdir(dirfd)) != NULL) {

Bastian

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (700, 'testing'), (500, 'proposed-updates'), (500, 'unstable'), 
(500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.13-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
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-6

debianutils recommends no packages.

debianutils suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: debianutils
Source-Version: 5.22
Done: Ileana Dumitrescu <[email protected]>

We believe that the bug you reported is fixed in the latest version of
debianutils, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ileana Dumitrescu <[email protected]> (supplier of updated 
debianutils package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 11 Apr 2025 17:00:11 +0300
Source: debianutils
Architecture: source
Version: 5.22
Distribution: unstable
Urgency: medium
Maintainer: Ileana Dumitrescu <[email protected]>
Changed-By: Ileana Dumitrescu <[email protected]>
Closes: 1102512
Changes:
 debianutils (5.22) unstable; urgency=medium
 .
   [Bastian Blank]
   * run-parts: Fix failing on empty directories (Closes: #1102512).
 .
   [Ileana Dumitrescu]
   * d/tests/run-parts.test: Extend testing of run-parts.
   * d/control: Bump standards version from 4.7.0 to 4.7.2.
   * acinclude.m4: Bump DEBIANUTILS_VERSION from 5.21 to 5.22.
Checksums-Sha1:
 24521e74b8829e4f28032dc3bd46786e4040d2ce 1631 debianutils_5.22.dsc
 3ab86029ce45113fae2885684d5def746ad7cfb6 82004 debianutils_5.22.tar.xz
 b6c3451582114218c1a5617edfc5d99c8822b8ff 6352 debianutils_5.22_amd64.buildinfo
Checksums-Sha256:
 58033821bf0671e5f9941d6af7dc63362c84131741c7dc93813fb400eead5bd4 1631 
debianutils_5.22.dsc
 043569241cdd893cc45e00f917c94c123d0c24143895d91c4d08c6c567e35155 82004 
debianutils_5.22.tar.xz
 93fd7999d0322b1b1526043a7bad82eccc42b5aad978d156996e60743814268a 6352 
debianutils_5.22_amd64.buildinfo
Files:
 a4cf9130cfe4a45a00d1b5cf6d40a78b 1631 utils required debianutils_5.22.dsc
 78b8ca26db77f0d40041ab5831bbd35d 82004 utils required debianutils_5.22.tar.xz
 487d4506eb6260cd51aa9098dbb4c931 6352 utils required 
debianutils_5.22_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE+ibKeEvhiJJ/IrmfZXDqARRvc1QFAmf5Ia4ACgkQZXDqARRv
c1Sz6Q//Xb9Ytk5+Y8ehcyPh6feA3OcT3V3pWe9gLF2sNr7iCU5oyq6gy1kzdJXL
zuQYyO/C5YsGwmWOWKOARCNSRtBTcvwnSySyAUMHW3YrZmjsvqXscuzIUTnOVrqa
iBggr+hlhEJlnufwW3PFVOEASAFFJ0fExaRI5xrIhbusDmD9EVt0eUlzPoz9oZDI
UI9nc4iR6sZH2euk/0zB2FTi0Kv9D+ddjjrTkqqSVq/cAlyZc5M/6lf4erYf0Dpl
QNq2QfP9g3NBpSHzG+N9VDns3p7wilZ8eGjymEQNH0M10LDLk7N0IiluVSp1E+Q+
7g1gZVNoegzT1QsgCvy8HpEB9hU30NUcdsptNR2djJZdTBtyRDHHQDiljcyC3z2X
4iuCTrqkdKIYfSHG16exhCPBwsYnM5G0w3Fp6hdPpHmbIr9Ej/Gj90BsLjwMkvib
4lAPiI5lEN6FNMLf0CS8rk5JI+ANxPe1z3mwp1FKkiWZnPGFYWiOuClvANTWnEeF
HKdBThPkqs54dG3RCQ4NSugaFijCcflKQ49cdUm0vKdbVTICaL1gInmcHmhc8+au
h0DRV5EP37sztTFXUZXxssVcUO5/GmFTimmZcYFCHI0xGPnENv5MPdxfCOW/QWKU
Sq99EvSTQDxu9E6wlJUUcCsx4eBvjIj07nhEq2PIjfqbCUjUygk=
=6cYq
-----END PGP SIGNATURE-----

Attachment: pgpibY9zF_vSO.pgp
Description: PGP signature


--- End Message ---

Reply via email to