[Bug 266532] x11/lightdm: Login sessions do not respect login.conf
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 266532] x11/lightdm: Login sessions do not respect login.conf"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 24 Dec 2023 06:00:43 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266532 --- Comment #20 from Daniel Tameling <tamelingdaniel@gmail.com> --- Thanks for taking care of this. I tested this and it still doesn't use the setusercontext function. The reason for this is that the corresponding check fail during configure. From my config.log: configure:17573: checking for setusercontext configure:17573: clang -o conftest -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fstack-protector-strong conftest.c -L/usr/local/lib >&5 ld: error: undefined symbol: setusercontext >>> referenced by conftest.c >>> /tmp/conftest-408de2.o:(main) clang: error: linker command failed with exit code 1 (use -v to see invocation) configure needs to add -lutil so that the library with the symbol gets linked in. This flag also needs to get added to the Makefile. There are also some trailing whitespace issues with the posted patch. You might want to clean this up before committing. -- You are receiving this mail because: You are the assignee for the bug.