Skip to content

Commit

Permalink
Drop pam_console leftovers
Browse files Browse the repository at this point in the history
pam_console was dropped in Fedora 39:
https://fedoraproject.org/wiki/Changes/RemovePamConsole

Since the files have no use anymore, drop them altogether.

Card ID: CCT-990
  • Loading branch information
ptoscano committed Jan 15, 2025
1 parent 86974a6 commit d9e0ecc
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 18 deletions.
5 changes: 0 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -241,11 +241,6 @@ install-files: dbus-install install-conf install-plugins
install -d $(DESTDIR)/$(PREFIX)/lib/sysusers.d
install -m 644 etc-conf/rhsm-sysuser.conf $(DESTDIR)/$(PREFIX)/lib/sysusers.d/rhsm.conf

if [ -f /etc/redhat-release ]; then \
install -m 644 etc-conf/subscription-manager.pam $(DESTDIR)/etc/pam.d/subscription-manager; \
install -m 644 etc-conf/subscription-manager.console $(DESTDIR)/etc/security/console.apps/subscription-manager; \
fi; \

install -m 755 bin/rhsmcertd $(DESTDIR)/$(PREFIX)/bin/rhsmcertd

.PHONY: check
Expand Down
3 changes: 0 additions & 3 deletions etc-conf/subscription-manager.console

This file was deleted.

4 changes: 0 additions & 4 deletions etc-conf/subscription-manager.pam

This file was deleted.

6 changes: 0 additions & 6 deletions subscription-manager.spec
Original file line number Diff line number Diff line change
Expand Up @@ -456,12 +456,6 @@ find %{buildroot} -name \*.py* -exec touch -r %{SOURCE0} '{}' \;
%{_sbindir}/rcrhsm-facts
%{_sbindir}/rcrhsmcertd

%else

# PAM config
%{_sysconfdir}/pam.d/subscription-manager
%{_sysconfdir}/security/console.apps/subscription-manager

%endif

%dir %{python_sitearch}/rhsmlib/candlepin
Expand Down

0 comments on commit d9e0ecc

Please sign in to comment.