Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kmscon for openSUSE:Factory checked in at 2026-08-24 15:44:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kmscon (Old) and /work/SRC/openSUSE:Factory/.kmscon.new.1258 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kmscon" Mon Aug 24 15:44:20 2026 rev:14 rq:1373369 version:10.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/kmscon/kmscon.changes 2026-07-07 21:09:40.015705410 +0200 +++ /work/SRC/openSUSE:Factory/.kmscon.new.1258/kmscon.changes 2026-08-24 15:44:26.894485226 +0200 @@ -1,0 +2,72 @@ +Fri Aug 21 07:50:06 UTC 2026 - Fabian Vogt <[email protected]> + +- Update to version 10.0.2: + * Prepare v10.0.2 + * text: invert color for full block cursor + * video: Restore shl_export macros + * video: remove stride for glyph buffers. + * fonts: use replacement char macro + * docs: Add psf font support in Readme and man pages + * font_psf: add gz support + * font_psf: Add psf font format support + * issue_network: fix msghdr initialization with musl + * dbus: silence DBUS_ERROR_SERVICE_UNKNOWN errors + * video: merge video_ops and video_module into video_ops + * video: remove VIDEO_CALL macro + * video: remove video_get_displays, and use the common for each to list displays + * video: refactor, replace hook and event with simple callbacks + * video: remove unused VIDEO_SLEEP / VIDEO_WAKE_UP + * freetype: Fix top if it may crop the glyph for bitmap fonts + * text: fix cursor outside of the screen + * bbulk: fix mouse software cursor when rotated. + * bbulk: Fix mouse soft cursor + * terminal: reset blink timer when typing + * text: Add cursor style support + * freetype: Fix underline on space + * misc: Fix modifiers check for keyboard shortcut + * input: Fix mouse button order + * seat: Fix segfault in uterm_monitor_set_dev_data() + * 8x16: Add bold and underline support + * 8x16: Add scaling support to 8x16 font + * docs: Add man page for --issue, and reorder terminal options + * Revert "service: Revert to agetty for showing issue." + * term: don't open pty when there are no screen + * docs/meson: simplify man pages files names + * tests/meson: fix formatting + * Add an editorconfig file + * Remove trailing blank lines + * issue: consume oversized escape parameters + * issue: handle unavailable network addresses + * ci: delete manual install of libtsm + * asciinema/meson: add missing dependency on libtsm + * meson: fix libtsm subproject version to match dependency bump + * meson: fix libtsm subproject version to match dependency bump + * meson: format all the files + * ci: enforce correct meson formatting + * COPYING: include the OFL-1.1 license for unifont + * issue: Add \a and \A support + * issue: Handle \4 and \6 + * issue: Add network to display IP address + * issue: add a generic get_parameter() + * issue: use a switch case for all escape code + * workflows: Fix clang check + * kmscon: drop kmscon_ prefix for the main sources. + * uterm: move the uterm static library to its own directory + * misc: create misc static library with the remaining files + * issue: Add a test program + * COPYING: Update path to hash-table implementation + * COPYING: Remove reference to third-party dbus-loop code + * COPYING: Remove most third-party source references + * docs: Update links to the vte and hterm projects + * docs: Use HTTPS in external links + * drm: retry modeset for connected offline displays + * drm: preserve display state on failed modesets + * docs: Add missing blink configuration option to kmscon.conf.example + * conf: Add a blink option + * terminal: add asciicast playback +- Add patch to fix crash on exit: + * 0001-seat-Fix-use-after-free-in-kmscon_seat_remove_video.patch +- Add revert to switch to agetty again for now: + * 0001-Reapply-service-Revert-to-agetty-for-showing-issue.patch + +------------------------------------------------------------------- Old: ---- kmscon-10.0.1.obscpio New: ---- 0001-Reapply-service-Revert-to-agetty-for-showing-issue.patch 0001-seat-Fix-use-after-free-in-kmscon_seat_remove_video.patch kmscon-10.0.2.obscpio ----------(New B)---------- New:- Add revert to switch to agetty again for now: * 0001-Reapply-service-Revert-to-agetty-for-showing-issue.patch New:- Add patch to fix crash on exit: * 0001-seat-Fix-use-after-free-in-kmscon_seat_remove_video.patch - Add revert to switch to agetty again for now: ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kmscon.spec ++++++ --- /var/tmp/diff_new_pack.HRIQc8/_old 2026-08-24 15:44:27.919521790 +0200 +++ /var/tmp/diff_new_pack.HRIQc8/_new 2026-08-24 15:44:27.920521826 +0200 @@ -18,13 +18,17 @@ Name: kmscon -Version: 10.0.1 +Version: 10.0.2 Release: 0 Summary: Linux KMS/DRM based virtual Console Emulator License: MIT Group: System/Console URL: https://github.com/kmscon/kmscon Source: %{name}-%{version}.tar.xz +# PATCH-FIX-UPSTREAM +Patch1: 0001-seat-Fix-use-after-free-in-kmscon_seat_remove_video.patch +# PATCH-FIX-DOWNSTREAM +Patch100: 0001-Reapply-service-Revert-to-agetty-for-showing-issue.patch BuildRequires: docbook-xsl-stylesheets BuildRequires: meson BuildRequires: pkg-config @@ -99,6 +103,7 @@ %{_bindir}/%{name}-launch-gui %dir %{_libdir}/kmscon/ %{_libdir}/kmscon/mod-freetype.so +%{_libdir}/kmscon/mod-psf.so %{_libdir}/kmscon/mod-unifont.so %{_mandir}/man1/kmscon.1%{?ext_man} %{_mandir}/man5/kmscon.conf.5%{?ext_man} ++++++ 0001-Reapply-service-Revert-to-agetty-for-showing-issue.patch ++++++ >From 7f30562947a83f5e10fc8f6e5eb8c9b04927b8e6 Mon Sep 17 00:00:00 2001 From: Fabian Vogt <[email protected]> Date: Fri, 21 Aug 2026 15:02:23 +0200 Subject: [PATCH] Reapply "service: Revert to agetty for showing issue." This reverts commit e3c2721fa3612ad937b437601a7500da3ebb0cfe. It's not feature complete and also needs SELinux policy changes to work: https://github.com/kmscon/kmscon/issues/407 https://github.com/fedora-selinux/selinux-policy/issues/3368 --- docs/man/kmscon.1.xml.in | 2 +- scripts/systemd/kmscon.service.in | 2 +- scripts/systemd/[email protected] | 2 +- src/config.c | 7 +++---- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/docs/man/kmscon.1.xml.in b/docs/man/kmscon.1.xml.in index 09d630ef7625..496dcb229b94 100644 --- a/docs/man/kmscon.1.xml.in +++ b/docs/man/kmscon.1.xml.in @@ -245,7 +245,7 @@ <listitem> <para>Display issue files before the login prompt. Use --no-issue to let the login process handle it. - (default: on)</para> + (default: off)</para> </listitem> </varlistentry> diff --git a/scripts/systemd/kmscon.service.in b/scripts/systemd/kmscon.service.in index 9b169f0e63ad..f15747d2c3b2 100644 --- a/scripts/systemd/kmscon.service.in +++ b/scripts/systemd/kmscon.service.in @@ -7,7 +7,7 @@ After=rc-local.service [Service] @PAM_CFG@ -ExecStart=kmscon +ExecStart=kmscon --login -- /sbin/agetty -8 -o '-p -- \\u' --noclear -- - $$TERM [Install] WantedBy=multi-user.target diff --git a/scripts/systemd/[email protected] b/scripts/systemd/[email protected] index cd59fdb4b488..9762fc130c54 100644 --- a/scripts/systemd/[email protected] +++ b/scripts/systemd/[email protected] @@ -39,7 +39,7 @@ ConditionPathExists=/dev/tty0 [Service] @PAM_CFG@ -ExecStart=kmscon --vt=%I --no-switchvt +ExecStart=kmscon --vt=%I --no-switchvt --login -- /sbin/agetty -8 -o '-p -- \\u' --noclear -- - $$TERM UtmpIdentifier=%I TTYPath=/dev/%I TTYReset=yes diff --git a/src/config.c b/src/config.c index ca2d66711f87..ab41967a82d6 100644 --- a/src/config.c +++ b/src/config.c @@ -99,10 +99,9 @@ static void print_help() "\t --reset-env [on]\n" "\t Reset environment before running child\n" "\t process\n" - "\t --issue [on]\n" + "\t --issue [off]\n" "\t Display issue files before the\n" - "\t login prompt. Use --no-issue to\n" - "\t let the login process handle it.\n" + "\t login prompt.\n" "\t --issue-path <path> [" ISSUE_DEFAULT_PATH "]\n" "\t Colon-separated list of issue\n" "\t files and directories to read\n" @@ -738,7 +737,7 @@ int kmscon_conf_new(struct conf_ctx **out) CONF_OPTION_BOOL(0, "session-control", &conf->session_control, false), /* Terminal Options */ - CONF_OPTION_BOOL(0, "issue", &conf->issue, true), + CONF_OPTION_BOOL(0, "issue", &conf->issue, false), CONF_OPTION_STRING(0, "issue-path", &conf->issue_path, ISSUE_DEFAULT_PATH), CONF_OPTION_STRING(0, "asciicast", &conf->asciicast, NULL), CONF_OPTION_BOOL(0, "asciicast-loop", &conf->asciicast_loop, false), -- 2.55.0 ++++++ 0001-seat-Fix-use-after-free-in-kmscon_seat_remove_video.patch ++++++ >From 789b29e1a272ebdd97aae7abcaa221308dbda0f5 Mon Sep 17 00:00:00 2001 From: Jocelyn Falempe <[email protected]> Date: Fri, 21 Aug 2026 09:38:43 +0200 Subject: [PATCH] seat: Fix use after free in kmscon_seat_remove_video() As the display is removed from the list during traversal, use the safe variant Signed-off-by: Jocelyn Falempe <[email protected]> --- src/seat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/seat.c b/src/seat.c index 299620a34600..ea0b9b088421 100644 --- a/src/seat.c +++ b/src/seat.c @@ -1015,7 +1015,7 @@ static void kmscon_seat_remove_video(struct kmscon_seat *seat, void *data) { struct kmscon_video *vid = data; struct kmscon_display *d; - struct shl_dlist *iter; + struct shl_dlist *iter, *tmp; if (!seat || !vid) return; @@ -1026,7 +1026,7 @@ static void kmscon_seat_remove_video(struct kmscon_seat *seat, void *data) shl_dlist_unlink(&vid->list); if (vid->video) { - shl_dlist_for_each(iter, &seat->displays) + shl_dlist_for_each_safe(iter, tmp, &seat->displays) { d = shl_dlist_entry(iter, struct kmscon_display, list); if (display_video(d->disp) == vid->video) -- 2.55.0 ++++++ _service ++++++ --- /var/tmp/diff_new_pack.HRIQc8/_old 2026-08-24 15:44:27.992524394 +0200 +++ /var/tmp/diff_new_pack.HRIQc8/_new 2026-08-24 15:44:27.996524537 +0200 @@ -2,7 +2,7 @@ <service mode="manual" name="obs_scm"> <param name="url">https://github.com/kmscon/kmscon.git</param> <param name="scm">git</param> - <param name="revision">v10.0.1</param> + <param name="revision">v10.0.2</param> <param name="changesgenerate">enable</param> <param name="versionformat">@PARENT_TAG@+git@TAG_OFFSET@</param> <param name="versionrewrite-pattern">v(.*?)(\+git0)?$</param> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.HRIQc8/_old 2026-08-24 15:44:28.029525714 +0200 +++ /var/tmp/diff_new_pack.HRIQc8/_new 2026-08-24 15:44:28.035525928 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/kmscon/kmscon.git</param> - <param name="changesrevision">c9d0e23336c6bb7645a1f5f48a4a82f1d5a589d9</param></service></servicedata> + <param name="changesrevision">baa2bcc5bde55318dcfbff0dd0090271e1f88674</param></service></servicedata> (No newline at EOF) ++++++ kmscon-10.0.1.obscpio -> kmscon-10.0.2.obscpio ++++++ ++++ 24329 lines of diff (skipped) ++++++ kmscon.obsinfo ++++++ --- /var/tmp/diff_new_pack.HRIQc8/_old 2026-08-24 15:44:28.527543479 +0200 +++ /var/tmp/diff_new_pack.HRIQc8/_new 2026-08-24 15:44:28.533543693 +0200 @@ -1,5 +1,5 @@ name: kmscon -version: 10.0.1 -mtime: 1782999847 -commit: c9d0e23336c6bb7645a1f5f48a4a82f1d5a589d9 +version: 10.0.2 +mtime: 1787243346 +commit: baa2bcc5bde55318dcfbff0dd0090271e1f88674
