From nobody Sat Feb 17 17:17:14 2024 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Tcb8C4c57z5BYjB for ; Sat, 17 Feb 2024 17:17:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Tcb8C1Dn9z4v70 for ; Sat, 17 Feb 2024 17:17:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708190235; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=YxXx7T/ND1GngbzQV79Twooe0FOJG1zhsZzi+zpbR3Q=; b=HvHSiyLya4dhGCwt6dXlcEuvJ2CcA8C6Gnx9TwHv4TtNVSaWXwOmAKmDu1ZtIUh/GFqG03 OLPfFOeMh/SwBu00MM1zS2SYgEQ4VnyIeiJDjZls03IDDpbStkECdSqKHGQrI5KcaLSqE6 Jk/wi326/oi5rDlxcklxitDBlntMSleQaXwfz/0eBtOcS9ouDtiZx3Bc2r4VjDnD9KZLaK kW1qhTDtdQ0ETf8R8nMYiJl2sYQuHkQ+RL/fmU+T5/lC3VUTbUTmdp6df7A4VJbbKTAOsd XEhBdJ1D9ZEeTLMRbOdg0kIsazf1tOtwWVQaetDX5mNul+RN0sO9EI0nH6euGw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708190235; a=rsa-sha256; cv=none; b=LVKDQmzrFM6yp5S/KrrUr4lBh9gulfRfyhkNinyoj/y82tTBGOoPr/+a6vC+YQr1pMygCe PVVjoc4tOqvvq8ENWstrJ7kbpryHQUIOKtCWzLaoBb0N79nzTTqCoL3HXf6GMMXxHE+Lju O5sFqKu8DrTt8ALWAybf76afbeyJRhs+vrnRIk8PkAgldarhWFLPsRcVhDFpkR8uxPOABJ XeAVTG+3Pi6dd02jFPwn4pPsNhBk6vGHzA6SNnxGlh8eRjDaYgDjk+DkDiEv4bDGswQipw pKqevsq4T3hIY7UKeMO1AzBcwwZIdVfs5GC0ocliF0nOfcZmgd+UqspZhGMk1w== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Tcb8C0B48zH8y for ; Sat, 17 Feb 2024 17:17:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 41HHHEYe074238 for ; Sat, 17 Feb 2024 17:17:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41HHHENS074235 for ports-bugs@FreeBSD.org; Sat, 17 Feb 2024 17:17:14 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 277114] x11/lightdm: fix tty counting in patch-src_x-server.c Date: Sat, 17 Feb 2024 17:17:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dan.kotowski@a9development.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: desktop@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277114 Bug ID: 277114 Summary: x11/lightdm: fix tty counting in patch-src_x-server.c Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: desktop@FreeBSD.org Reporter: dan.kotowski@a9development.com Assignee: desktop@FreeBSD.org Flags: maintainer-feedback?(desktop@FreeBSD.org) In patch-src_x-server.c we currently pass "ttyv%d", but we count TTYs in he= x, not decimal and so it should be: + tty_text =3D g_strdup_printf ("/dev/ttyv%x", vt - 1); This bug was identified in 221452, but the accepted patches bandage over the issue rather than fixing the root cause, which is the counting. This patch was suggested and actually resolves the bug: https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D236106&action=3Ddiff However, it is also possible that these are base32 numbers rather than base= 16 and points here: https://github.com/swaywm/wlroots/pull/1945 With this fixed, it may again be possible to pull back in val's consolekit2 patch as well: https://github.com/valpackett/ConsoleKit2/commit/18a058576d118dec428d81c7e2= e3369d9ec939d0.patch --=20 You are receiving this mail because: You are the assignee for the bug.=