Does /etc/environment still work after the latest update?

I once found /etc/environment was renamed to /etc/environment.rpmfile or something after a recent update, and even after renaming the file back to /etc/environment, environment variables still do not take effect.

On 2023-01-05 13:14, Fusion Future wrote:
I once found /etc/environment was renamed to /etc/environment.rpmfile or something after a recent update, and even after renaming the file back to /etc/environment, environment variables still do not take effect.
What distro? My guess: that file has been decommissioned, nothing uses it anymore in your distro. -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)

On 05.01.2023 15:14, Fusion Future wrote:
I once found /etc/environment was renamed to /etc/environment.rpmfile or something after a recent update,
Update of what? "Or something" is not particularly helpful, there are a lot of different .rpmsomething suffixes and each has own reason. How difficult is it to simply paste file name?
and even after renaming the file back to /etc/environment, environment variables still do not take effect.

On 2023-01-05 13:14, Fusion Future wrote:
I once found /etc/environment was renamed to /etc/environment.rpmfile or something after a recent update, and even after renaming the file back to /etc/environment, environment variables still do not take effect.
Probably moved to /usr/etc -- /bengan

The change was introduced in https://build.opensuse.org/package/rdiff/openSUSE:Factory/pam?linkrev=base&r... if anyone is interested
participants (4)
-
Andrei Borzenkov
-
Bengt Gördén
-
Carlos E. R.
-
Fusion Future