[oe-commits] [openembedded-core] 05/12: libpam: define limits.conf as CONFFILES of package libpam-runtime

git at git.openembedded.org git at git.openembedded.org
Thu Mar 10 23:14:29 UTC 2016


rpurdie pushed a commit to branch master
in repository openembedded-core.

commit bdd7c1b088f24e54cf0be83324dd6ffe677af079
Author: Zhixiong Chi <Zhixiong.Chi at windriver.com>
AuthorDate: Wed Mar 9 17:19:40 2016 +0800

    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 <Zhixiong.Chi at windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-extended/pam/libpam_1.2.1.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-extended/pam/libpam_1.2.1.bb b/meta/recipes-extended/pam/libpam_1.2.1.bb
index 3e69f11..341ea24 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"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list