Debian Patches

Status for util-linux/2.40.2-11

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/tests-mark-lsfd-tests-failing-in-sbuild.patch tests: mark lsfd mkfds-socketpair as failing in sbuild Chris Hofstaedtler <zeha@debian.org> no 2024-02-29
debian/tests-mark-fadvise-drop-as-known-failing-on-buildds.patch tests: mark fadvise/drop as known failing on buildds
buildds build on a tmpfs, but this is not visible inside the build environment.
Chris Hofstaedtler <zeha@debian.org> no 2024-04-02
debian/tests-Temporarily-mark-fincore-as-failing-in-unshare.patch tests: Temporarily mark fincore as failing in unshare
https://github.com/util-linux/util-linux/issues/3266

Debian bug #1086706
Chris Hofstaedtler <zeha@debian.org> no 2024-11-13
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
upstream-master/audit-arch.h-add-defines-for-m68k-sh.patch audit-arch.h: add defines for m68k, sh
John Paul Adrian Glaubitz points out that libseccomp needs to release 2.6.0,
too.

Upstream commit 5ebf0edb0a0531cba801c7791543c610725bf944.
Chris Hofstaedtler <zeha@debian.org> no 2024-04-09
upstream-master/fsck-warn-if-fsck.-type-not-found-and-device-is-specified.patch fsck: warn if fsck.<type> not found and device is specified
The fsck(8) command prints an error for certain 'required'
filesystems, such as extN, if the corresponding fsck.<type> helper is
not found. However, for other filesystems, it silently ignores the
device. While this behavior is acceptable for the -A option, if a user
explicitly specifies the device on the command line, it is probably a
good idea to be more verbose and issue a warning that the device will
be ignored. The warning is enabled only for interactive mode (only one
device specified or -s).

Note that some filesystems do not have an fsck utility, so caution is
needed when issuing such warnings to prevent the generation of a large
number of unwanted entries in system logs, etc."
Karel Zak <kzak@redhat.com> no 2024-02-08
upstream-master/libmount-Fix-atime-remount-for-new-API.patch libmount: Fix atime remount for new API
All atime settings are mutually exclusive, and the attr_set mask for
the mount_setattr() syscall cannot contain multiple MOUNT_ATTR_ atime
related options.

Unfortunately, during a remount, the list of options is composed of
both old and new options. In this case, libmount sets more atime
options to the mask. The correct behavior is to use the last atime
related option from the list.
Karel Zak <kzak@redhat.com> no 2024-05-14
upstream-master/swapoff-avoid-being-killed-by-OOM.patch swapoff: avoid being killed by OOM
Based on patch from dparalen <vetrisko@gmail.com>.
Karel Zak <kzak@redhat.com> no 2024-06-20
upstream-master/unshare-mount-binfmt_misc.patch unshare: mount binfmt_misc
add --mount-binfmt[=<dir>] to mount binfmt_misc filesystem,
this results in clearing inherited interpreters from the previous namespace
Laurent Vivier <laurent@vivier.eu> no 2024-06-19
upstream-master/unshare-load-binfmt_misc-interpreter.patch unshare: load binfmt_misc interpreter
add -l, --load-interp <file> to load a binfmt_misc interpreter at startup.

The interpreter is loaded from the initial fileystem if the 'F' flags is
provided, otherwise from inside the new namespace
This makes possible to start a chroot of another architecture without
being root.
Laurent Vivier <laurent@vivier.eu> no 2024-06-19
upstream-master/agetty-add-systemd-to-version-output.patch agetty: add "systemd" to --version output Karel Zak <kzak@redhat.com> no 2024-07-11
upstream-master/Treat-out-of-memory-as-error.patch Treat out of memory as error
Otherwise it might happen that a configured file location is not taken
into account. A NULL value would lead to default file location.
Tobias Stoeckmann <tobias@stoeckmann.org> no 2024-08-12
upstream-master/more-make-sure-we-have-data-on-stderr.patch more: make sure we have data on stderr
more(1) uses more_poll() to monitor data on stdin, stderr, and
signals. It is used before read_command(), but this function only
reads from stderr. Therefore, if any other non-stderr event occurs,
this function will wait on read(). In this case, more(1) will not
react to signals anymore. We need to ensure that more(1) only waits in
more_poll().

Try

 for x in {1..1000}; do echo "line $x"; done | more

to reproduce.
Karel Zak <kzak@redhat.com> no 2024-08-22
upstream-master/lscpu-optimize-query-virt-pci-device.patch lscpu: optimize query virt pci device
The lscpu command needs to traverse the /proc/bus/pci/devices file
three times to check for any PCI devices related to virtualization.
If there are many PCI devices on the machine, this can lead to
increased execution time for lscpu. It would be beneficial to
consolidate these queries into a single check to optimize the
execution time of lscpu.

Use time command to test on a machine with 13000 PCI devices:
before:
real 0m13.506s
user 0m0.028s
sys 0m13.409s
after:
real 0m5.834s
user 0m0.018s
sys 0m5.771s
Guixin Liu <kanie@linux.alibaba.com> no 2024-08-21
upstream-master/Optionally-execute-a-program-after-group-change.patch Optionally execute a program after group change
We accept a `-c` command option or possible second argument which is then
invoked through the user's shell after the group change, as by the `sg`
utility. The default is still running the shell itself.
=?utf-8?b?R8OhYm9yIE7DqW1ldGg=?= <homar@riseup.net> no 2024-08-29
upstream-master/logger-correctly-format-tv_usec.patch logger: correctly format tv_usec
tv_usec is an unspecified signed integer type.
The format string %u assumes an unsigned int, which is incorrect.
Especially on 32bit big-endian, where it can lead to invalid values.
=?utf-8?q?Thomas_Wei=C3=9Fschuh?= <thomas@t-8ch.de> no 2024-04-09

All known versions for source package 'util-linux'

Links