Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Dec 2025 17:06:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 291720] [REGRESSION] 66eb78377bf1 causes environment corruption on some machines
Message-ID:  <bug-291720-227-aZczMx7XwR@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-291720-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-291720-227-aZczMx7XwR>