- Don't ship symlink /usr/lib/environment.d/99-environment.conf

anymore. /etc/environment is owned and parsed (among other config files) by
  pam_env(8), which is included by 'systemd-user' PAM service anyway.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1332
This commit is contained in:
Franck Bui 2022-12-02 14:11:46 +00:00 committed by Git OBS Bridge
parent 5f2746d0b4
commit 593c7fc59d
3 changed files with 12 additions and 1 deletions

View File

@ -209,7 +209,6 @@
%{_datadir}/zsh/site-functions/_systemd-tmpfiles
%{_datadir}/zsh/site-functions/_timedatectl
%endif
%{_environmentdir}/99-environment.conf
%{_journalcatalogdir}/systemd.be.catalog
%{_journalcatalogdir}/systemd.be@latin.catalog
%{_journalcatalogdir}/systemd.bg.catalog

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Dec 2 14:06:08 UTC 2022 - Franck Bui <fbui@suse.com>
- Don't ship symlink /usr/lib/environment.d/99-environment.conf
anymore. /etc/environment is owned and parsed (among other config files) by
pam_env(8), which is included by 'systemd-user' PAM service anyway.
-------------------------------------------------------------------
Fri Nov 25 16:37:18 UTC 2022 - Franck Bui <fbui@suse.com>

View File

@ -823,6 +823,11 @@ ln -s ../../../etc/sysctl.conf %{buildroot}%{_sysctldir}/99-sysctl.conf
# SUSE (bsc#1006978).
rm -f %{buildroot}%{_sysusersdir}/basic.conf
# systemd-user PAM module relies on pam_env(8) to import the environment defined
# in /etc/environment (which is part of the environment configuration files of
# pam_env(8) anyways).
rm -f %{buildroot}%{_environmentdir}/99-environment.conf
# Remove README file in init.d as (SUSE) rpm requires executable files in this
# directory... oh well.
rm -f %{buildroot}/etc/init.d/README