Debian Patches

Status for util-linux/2.42.1-2

Patch Description Author Forwarded Bugs Origin Last update
mkswap-use-64k-pages-in-file-existing-test.patch mkswap: use 64k pages in file-existing test
Some systems run with kernels using page sizes other than 4K. The
file-existing test used a file of 10 pages at 4K. This would fail on
kernels with higher page sizes (here 16K) like this:

mkswap: error: swap area needs to be at least 160 KiB

Use 10 * 64K pages, hopefully allowing all kernels with 4K, 16K, 64K
pages to pass the tests.

Noticed on Debian loong64 kernel 7.0.9+deb14-loong64.
Chris Hofstaedtler <zeha@debian.org> invalid upstream 2026-06-04
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
Stop-using-Linux-crypto-API-in-hardlink.patch Stop using Linux crypto API in hardlink Chris Hofstaedtler <zeha@debian.org> no 2026-05-06
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

All known versions for source package 'util-linux'

Links