diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2020-05-03 01:18:44 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2020-05-03 12:21:11 +0000 |
commit | 6143f630f468b6d34597e01606024ee28a411ea3 (patch) | |
tree | 2c53c915819ecde3d8a1020c417ecdf406c52253 /modules/pam_namespace | |
parent | 97887fd27d83278d045f69759c9d45730c6e01c3 (diff) | |
download | pam-6143f630f468b6d34597e01606024ee28a411ea3.tar.gz pam-6143f630f468b6d34597e01606024ee28a411ea3.tar.bz2 pam-6143f630f468b6d34597e01606024ee28a411ea3.zip |
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")
Diffstat (limited to 'modules/pam_namespace')
-rw-r--r-- | modules/pam_namespace/Makefile.am | 6 |
1 files changed, 1 insertions, 5 deletions
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 |