From: Zhixiong Chi Date: Wed, 9 Mar 2016 09:19:40 +0000 (+0800) Subject: libpam: define limits.conf as CONFFILES of package libpam-runtime X-Git-Tag: 2016-4~502 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=bdd7c1b088f24e54cf0be83324dd6ffe677af079;p=openembedded-core.git 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 --- 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"