[Bug 266532] x11/lightdm: Login sessions do not respect login.conf

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 22 Dec 2023 18:15:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266532

--- Comment #16 from Guido Falsi <madpilot@FreeBSD.org> ---
(In reply to Ivan Rozhuk from comment #15)

> Port already add its own Xsession script, it distributed in ports tree.

And that's part of the problem. People could have their configuration around
that, and changing it one sided could break things.

And what if some user does not like these changes? What about POLA?

> You can CC me on any one can do this, this is very simple small scripts that have comments.

This is not the4e point. Not all users will report issues, not all issues will
be reported to desktop@. You also assume all people like doing things the way
you do, which is not the case.

> Whatever, enjoy with freezes :)

You assume my systems are behaving exactly like yours. Maybe these freezes and
other issues are specific to your machines?

The point is, this kind of customizations are just that and should not be
imposed as defaults by ports. We cannot assume everybody would like things done
in a certain way, or that some other people workloads would not be harmed by
such changes.

> install, env, su - is so hard to understand. )

The problem is such commands act during a complex process of user login via
display manager, which I don't know the details. The system already does it's
privilege changes, so, for example, the use of su looks inappropriate. Things
that need to run as the user should be ran in another script that is already
ran as the user.

But such review is beyond my knowledger about Xorg and its login process and I
simply cannot do it.


But The project has other committers. This PR is about a lightdm issue with
login.conf.

Your patches have a much wider scope, if you really want to pursue such changes
you should start a discussion on the x11@ mailing list.

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