]> code.ossystems Code Review - openembedded-core.git/commitdiff
libpam: define limits.conf as CONFFILES of package libpam-runtime
authorZhixiong Chi <Zhixiong.Chi@windriver.com>
Wed, 9 Mar 2016 09:19:40 +0000 (17:19 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 10 Mar 2016 23:06:16 +0000 (23:06 +0000)
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@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/pam/libpam_1.2.1.bb

index 3e69f117fec771ed2e48f8f5ddaf699351a9d764..341ea241117dcff8dbd139cba4900aa93ff39f41 100644 (file)
@@ -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"