Debian Patches

Status for util-linux/2.41-5

Patch Description Author Forwarded Bugs Origin Last update
debian/man-getopt-examples.patch util-linux: getopt(1) should point to where examples are on a Debian system

Debian BTS #913049
Matthew Vernon <matthew@debian.org> no 2018-11-06
debian/verbose-tests.patch verbose-tests
Enable verbose tests and print content of failing tests output file.
Andreas Henriksson <andreas@fatal.se> no 2014-07-30
debian/hardlink-tests-known-failed.patch hardlink tests: set known failed
sha256 cannot be initialized on some archs / buildds.
Chris Hofstaedtler <zeha@debian.org> no 2022-04-12
debian/lsfd-usrbin.patch Install lsfd into /usr/bin Chris Hofstaedtler <zeha@debian.org> no 2022-04-14
debian/sensible-pager.patch Use sensible-pager Chris Hofstaedtler <zeha@debian.org> no 2022-07-14
debian/login-support-LOG_OK_LOGINS.patch login: support LOG_OK_LOGINS Chris Hofstaedtler <zeha@debian.org> no 2024-08-05
debian/login-do-not-print-motd-done-by-PAM.patch login: do not print motd, done by PAM Chris Hofstaedtler <zeha@debian.org> no 2024-08-05
debian/login-turn-off-btmp-utmp-lastlog-writing.patch login: turn off btmp, utmp, lastlog writing
Should be done by PAM instead. login from src:shadow had turned it off, especially with --enable-logind.
Chris Hofstaedtler <zeha@debian.org> no 2024-08-05
debian/salsa-ci-skip-tests.patch Skip fadvise/drop test in Salsa CI Chris Hofstaedtler <zeha@debian.org> no 2025-02-16
upstream-stable/misc-never-include-wchar.h.patch misc: never include wchar.h
We have a portable "widechar.h" that follows --disable-widechar and
provides portability. It is a bug to directly include libc's wchar.h
or wctype.h.

(cherry picked from commit 5c0888dde3cc296d06b8243dcc78248ff90526e5)
Karel Zak <kzak@redhat.com> no 2025-03-20
upstream-stable/libmount-fix-no-canonicalize-regression.patch libmount: fix --no-canonicalize regression
(cherry picked from commit 7dbfe31a83f45d5aef2b508697e9511c569ffbc8)
Karel Zak <kzak@redhat.com> no 2025-03-24
upstream-stable/lsns-fix-undefined-reference-to-add_namespace_for_nsfd-34.patch lsns: fix undefined reference to add_namespace_for_nsfd #3483
Fixes:

sys-utils/lsns-lsns.o: In function `read_process':
lsns.c:(.text+0x9e8): undefined reference to `add_namespace_for_nsfd'
collect2: error: ld returned 1 exit status

(cherry picked from commit 2ced43400f35f7bd45b29364e04166a63a06e16a)
Thomas Devoogdt <thomas.devoogdt@barco.com> no 2025-03-25
upstream-stable/lsns-enhance-compilation-without-USE_NS_GET_API.patch lsns: enhance compilation without USE_NS_GET_API
- Move add_namespace_for_nsfd() declaration to the #ifdef block
(based on c62ed3d58602fd29fe12085f7caf03761ed91b81)
Karel Zak <kzak@redhat.com> no 2025-04-01
upstream-stable/Fix-typo-in-blkdiscard-docs.patch Fix typo in blkdiscard docs
(cherry picked from commit 7d181e8f1ecdeca764b62f1daf0bb13cec349e7e)
pls-no-hack <107148611+pls-no-hack@users.noreply.github.com> no 2025-03-28
upstream-stable/lsfd-fix-the-description-for-PACKET.PROTOCOL-column.patch lsfd: fix the description for PACKET.PROTOCOL column
(cherry picked from commit df3b38fab56001537364302479b33cb104ef7411)
Masatake YAMATO <yamato@redhat.com> no 2025-01-06
upstream-stable/tests-test_mkfds-mapped-packet-socket-add-a-new-parameter.patch tests: (test_mkfds::mapped-packet-socket) add a new parameter, protocol

(cherry picked from commit a6584a456835bbef703d7aae1f51d4e07177f8cb)
Masatake YAMATO <yamato@redhat.com> no 2025-01-06
upstream-stable/lsfd-bug-fix-scan-the-protocol-field-of-proc-net-packet-a.patch lsfd: (bug fix) scan the protocol field of /proc/net/packet as a hex number

(cherry picked from commit 0da7e8201aa7b9b2c5d0e901c0ccfd6f3bdc54d3)
Masatake YAMATO <yamato@redhat.com> no 2025-01-06
upstream-stable/include-cctype-fix-string-comparison.patch include/cctype: fix string comparison
Reimplement c_strcasecmp() and c_strncasecmp() to be libc compatible
and fix c_strncasecmp() to avoid \0 misinterpretation. The original
implementation was pretty stupid (sorry).

(cherry picked from commit 259157b0c1a00806ff75188325e40ba10adf12ce)
Karel Zak <kzak@redhat.com> no 2025-04-02
upstream-stable/libblkid-avoid-strcasecmp-for-ASCII-only-strings.patch libblkid: avoid strcasecmp() for ASCII-only strings
Use cctype.h for locale-independent string comparison and to avoid
tricky string conversions like in tr_TR locales.

(cherry picked from commit 7eb663503c77d739f2cc80d78ee9d380b11b6eb9)
Karel Zak <kzak@redhat.com> no 2025-04-01
upstream-stable/libfdisk-avoid-strcasecmp-for-ASCII-only-strings.patch libfdisk: avoid strcasecmp() for ASCII-only strings
Use cctype.h for locale-independent string comparison and to avoid
tricky string conversions like in tr_TR locales.

(cherry picked from commit 8ec0c305e9f6ab904119201a13873faedb30da57)
Karel Zak <kzak@redhat.com> no 2025-04-01
upstream-stable/lsblk-avoid-strcasecmp-for-ASCII-only-strings.patch lsblk: avoid strcasecmp() for ASCII-only strings
Use cctype.h for locale-independent string comparison and to avoid
tricky string conversions like in tr_TR locales.

(cherry picked from commit b5ae9e8d0234738f381c56aa797aeba81a05d587)
Karel Zak <kzak@redhat.com> no 2025-04-01
upstream-stable/libmount-avoid-strcasecmp-for-ASCII-only-strings.patch libmount: avoid strcasecmp() for ASCII-only strings
Use cctype.h for locale-independent string comparison and to avoid
tricky string conversions like in tr_TR locales.

(cherry picked from commit ea694f8b91b82474c018dac2250b03cb00685b26)
Karel Zak <kzak@redhat.com> no 2025-04-01
upstream-stable/fdisk-partx-avoid-strcasecmp-for-ASCII-only-strings.patch fdisk,partx: avoid strcasecmp() for ASCII-only strings
Use cctype.h for locale-independent string comparison and to avoid
tricky string conversions like in tr_TR locales.

(cherry picked from commit 7efdcd75f041fa1cb9a7c05e22dea3567d48bf9e)
Karel Zak <kzak@redhat.com> no 2025-04-01
upstream-stable/treewide-avoid-strcasecmp-for-ASCII-only-strings.patch treewide: avoid strcasecmp() for ASCII-only strings
Use cctype.h for locale-independent string comparison and to avoid
tricky string conversions like in tr_TR locales.

(cherry picked from commit 107293a68206f24e531fd906e8114b578911bb7a)
Karel Zak <kzak@redhat.com> no 2025-04-01
upstream-stable/more-fix-implicit-previous-shell_line-execution-3508.patch more: fix implicit previous shell_line execution #3508
run_shell() will implicitly execute the previous ctl->shell_line
not only if the function was indirectly invoked by the '.' command
but also by a subsequent '!' command.

(cherry picked from commit b6f9362988dbe5427d52b31ac3add37a7ddb6b12)
cgoesche <cgoesc2@wgu.edu> no 2025-04-05
upstream-stable/more-fix-broken-command-command-key.patch more: fix broken ':!command' command key
(cherry picked from commit 3f3bb6f9103daaf7a8f47ebe57cbe90bac852e6e)
cgoesche <cgoesc2@wgu.edu> no 2025-04-05
upstream-stable/cfdisk-fix-memory-leak-and-possible-NULL-dereference-gcc-.patch cfdisk: fix memory leak and possible NULL dereference [gcc-analyzer]
(cherry picked from commit 33ca468b67d34dead8fb8b41dc9f328971e5fe70)
Karel Zak <kzak@redhat.com> no 2025-03-25
upstream-stable/treewide-fix-optional-arguments-usage.patch treewide: fix optional arguments usage
In some parts of the code, the optional argument handling is missing
for cases where the argument starts with '='. This is particularly
important for short options with optional arguments, as suggested by
our man pages. The libc getopt_long() handles this for long options,
but for short options, it's our responsibility.

Note that some argument parsing functions (mostly colormode_or_err())
already implement this, as they are usually used with optional
arguments.

(cherry picked from commit c4a24f5301ec9779a0492dd110824c2ce813f3eb)
Karel Zak <kzak@redhat.com> no 2025-04-07
upstream-stable/findmnt-fix-k-option-parsing-regression.patch findmnt: fix -k option parsing regression
It's a really bad idea to change any existing short option to support
optional arguments.

(cherry picked from commit 0ecaef693ea60aab709e79dd4a8eb2865ec08967)
Karel Zak <kzak@redhat.com> no 2025-04-07

All known versions for source package 'util-linux'

Links