On 08-19-2024 06:15AM, Carlos E. R. wrote:
On 2024-08-19 08:43, Felix Miata wrote:
-pj composed on 2024-08-19 01:08 (UTC-0500):
'/etc/environment' directory does not exist by default either so this very well could be the case.
All my openSUSE installations, regardless of primary DE, or whether Leap or TW or Slowroll, have a file named /etc/environment, currently containing:
INITRD_IN_POSTTRANS=1 SKIP_REGENERATE_INITRD_ALL=1
rpm on TW reports /etc/environment is not owned by any package, so optional according to admin desire.
cer@Telcontar:~> cat /etc/environment # # This file is parsed by pam_env module # # Syntax: simple "KEY=VAL" pairs on seperate lines # ALSA_CONFIG_PATH=/etc/alsa-pulse.conf SDL_AUDIODRIVER=pulse cer@Telcontar:~>
Looks like /etc/environment is default with LEAP due to the commented out messages?
cer@Telcontar:~> rpm -qf /etc/environment pam-1.3.0-150000.6.66.1.x86_64 cer@Telcontar:~>
This above rpm -qf (--query format) shows "pam env module" is parsing the environment? Can you explain a bit more about this please? Why did you not follow with 'QUERYFMT' format string?
cer@Telcontar:~> l /etc/environment -rw-r--r-- 1 root root 157 Sep 24 2010 /etc/environment cer@Telcontar:~>