From 6143f630f468b6d34597e01606024ee28a411ea3 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Sun, 3 May 2020 01:18:44 +0000 Subject: pam_namespace: cleanup pam_namespace.service installation * modules/pam_namespace/Makefile.am (service_DATA): New variable. (install-data-local): Remove all commands related to servicedir. (uninstall-local): Remove. Fixes: 59812d1cf ("pam_namespace: secure tmp-inst directories") --- modules/pam_namespace/Makefile.am | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'modules/pam_namespace') diff --git a/modules/pam_namespace/Makefile.am b/modules/pam_namespace/Makefile.am index eecc4137..15e2b6d8 100644 --- a/modules/pam_namespace/Makefile.am +++ b/modules/pam_namespace/Makefile.am @@ -34,17 +34,13 @@ pam_namespace_la_LIBADD = $(top_builddir)/libpam/libpam.la @LIBSELINUX@ dist_secureconf_DATA = namespace.conf dist_secureconf_SCRIPTS = namespace.init +service_DATA = pam_namespace.service install-data-local: mkdir -p $(DESTDIR)$(namespaceddir) - mkdir -p $(DESTDIR)$(servicedir) - $(INSTALL_DATA) pam_namespace.service $(DESTDIR)$(servicedir) sbin_SCRIPTS = pam_namespace_helper -uninstall-local: - -rm $(DESTDIR)$(servicedir)/pam_namespace.service - if ENABLE_REGENERATE_MAN dist_noinst_DATA = README -include $(top_srcdir)/Make.xml.rules -- cgit v1.2.3