From bdd7c1b088f24e54cf0be83324dd6ffe677af079 Mon Sep 17 00:00:00 2001 From: Zhixiong Chi Date: Wed, 9 Mar 2016 17:19:40 +0800 Subject: libpam: define limits.conf as CONFFILES of package libpam-runtime Based as security reason, the system must limit users to simultaneous system logins, or a site-defined number. To avoid overwriting the /etc/security/limits.conf file after upgrading this rpm package, we will define the file as CONFFILES of package libpam-runtime. Signed-off-by: Zhixiong Chi Signed-off-by: Richard Purdie --- meta/recipes-extended/pam/libpam_1.2.1.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-extended') diff --git a/meta/recipes-extended/pam/libpam_1.2.1.bb b/meta/recipes-extended/pam/libpam_1.2.1.bb index 3e69f117fe..341ea24111 100644 --- a/meta/recipes-extended/pam/libpam_1.2.1.bb +++ b/meta/recipes-extended/pam/libpam_1.2.1.bb @@ -168,3 +168,4 @@ CONFFILES_${PN}-runtime += "${sysconfdir}/pam.d/common-auth" CONFFILES_${PN}-runtime += "${sysconfdir}/pam.d/common-password" CONFFILES_${PN}-runtime += "${sysconfdir}/pam.d/common-session-noninteractive" CONFFILES_${PN}-runtime += "${sysconfdir}/pam.d/common-account" +CONFFILES_${PN}-runtime += "${sysconfdir}/security/limits.conf" -- cgit 1.2.3-korg