<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<div class="moz-cite-prefix">于 2014年11月21日 04:37, Burton, Ross 写道:<br>
</div>
<blockquote
cite="mid:CAJTo0LaTqjSJ35Lq4hbTDeF0F0Y2iAbdUU4+1VE11mhKoGZrgg@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div class="gmail_extra"><br>
<div class="gmail_quote">On 14 November 2014 09:43, Jian Liu <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:jian.liu@windriver.com" target="_blank">jian.liu@windriver.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div id=":50s" class="a3s" style="overflow:hidden">+CONFFILES_${PN}
+= "${sysconfdir}/motd ${sysconfdir}/nsswitch.conf
${sysconfdir}/profile"</div>
</blockquote>
<div><br>
</div>
<div>I do have to wonder why we don't allow globs in
CONFFILES and set CONFFILES_${PN} to ${sysconfdir} by
default...</div>
<div><br>
</div>
<div>Ross</div>
</div>
<br>
</div>
</div>
</blockquote>
We wanted to deal with all editable files including config
files(maybe under /etc), scripts files and so on. Because they may
be changed sometime.<br>
But we find that not all files are necessary to handle. For example,<br>
>>>> base-files /etc/motd
<br>
<br>
I'd expect the above to be changed...but not...
<br>
<br>
>>>> libpam-runtime: /etc/pam.d/common-account
<br>
>>>> /etc/pam.d/common-auth
<br>
>>>> /etc/pam.d/common-password
<br>
>>>> /etc/pam.d/common-session
<br>
>>>>
/etc/pam.d/common-session-noninteractive
<br>
<br>
The key thing for conf files is, is this an action a system
administrator is likely to do? for motd yes it is.. for pam
configurations, not likely.. the operating system developer is the
one who would make these changes.
<br>
<br>
This patch just handles files that we think should be protected
currently.<br>
<pre class="moz-signature" cols="72">--
Jian Liu
Email: <a class="moz-txt-link-abbreviated" href="mailto:jian.liu@windriver.com">jian.liu@windriver.com</a>
Office Phone: 86-10-84778539</pre>
</body>
</html>