[Bug 276507] [PATCH] x11/ly: set login class

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 21 Jan 2024 20:53:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276507

            Bug ID: 276507
           Summary: [PATCH] x11/ly: set login class
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: bapt@FreeBSD.org
          Reporter: robin.haberkorn@googlemail.com
          Assignee: bapt@FreeBSD.org
             Flags: maintainer-feedback?(bapt@FreeBSD.org)

Created attachment 247825
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=247825&action=edit
Ports tree patch

Ly logins where not setting the login class correctly (as established by
/etc/login.conf and chpass).

This is fixed by this patch, which calls setusercontext() instead of setuid()
and setgid().

I also opened an upstream ticket for this issue, but so far got no response
(https://github.com/fairyglade/ly/issues/572). It's questionable whether all of
the FreeBSD-specific stuff will ever be upstreamed. I also do not see who is
responsible for the project at all.

I attached a ports tree patch. It applies both on main and 2024Q1.

-- 
You are receiving this mail because:
You are the assignee for the bug.