[systemd-devel] [PATCH] tmpfiles.d: only copy /etc/pam.d if PAM is present
Zbigniew Jędrzejewski-Szmek
zbyszek at in.waw.pl
Tue Mar 3 09:56:37 PST 2015
On Tue, Mar 03, 2015 at 11:37:52AM +0000, Ross Burton wrote:
> If HAVE_PAM isn't set then don't attempt to copy /etc/pam.d from the factory, as
> it doesn't get installed.
Applied.
Zbyszek
> Signed-off-by: Ross Burton <ross.burton at intel.com>
> ---
> tmpfiles.d/etc.conf.m4 | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/tmpfiles.d/etc.conf.m4 b/tmpfiles.d/etc.conf.m4
> index 9b0e080..ab5cd16 100644
> --- a/tmpfiles.d/etc.conf.m4
> +++ b/tmpfiles.d/etc.conf.m4
> @@ -14,4 +14,6 @@ m4_ifdef(`ENABLE_RESOLVED',
> L /etc/resolv.conf - - - - ../run/systemd/resolve/resolv.conf
> )m4_dnl
> C /etc/nsswitch.conf - - - -
> +m4_ifdef(`HAVE_PAM',
> C /etc/pam.d - - - -
> +)m4_dnl
> --
> 1.7.10.4
>
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
More information about the systemd-devel
mailing list