[Bug 291720] [REGRESSION] 66eb78377bf1 causes environment corruption on some machines
Date: Tue, 16 Dec 2025 17:06:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291720 --- Comment #6 from Dag-Erling Smørgrav <des@FreeBSD.org> --- (In reply to Cy Schubert from comment #5) Adding it to /etc/rc.subr ensures that every process in the system that doesn't explicitly clear its environment inherits it. Adding it to /etc/rc.conf is a weaker form of that which only takes effect after load_rc_conf is called, so you may still have trouble booting. Adding it to the setenv entry in /etc/login.conf should take care of login sessions, which usually clear their environment, and to anything using su(1). Adding it to /etc/profile should not be necessary. -- You are receiving this mail because: You are the assignee for the bug.