On 2024-08-20 09:17, -pj via openSUSE Users wrote:
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):
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?
/etc/environment file exists and is used in Leap. On TW it has a different location, "/usr/etc/environment", but will also use "/etc/environment" if it exists.
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?
It is not "query format", but "query file" man rpm: -f, --file FILE Query package owning FILE. Ie, query the rpm that owns the given file and path. -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)