All of lore.kernel.org
 help / color / mirror / Atom feed
From: Liu Jian <jian.liu@windriver.com>
To: "Burton, Ross" <ross.burton@intel.com>
Cc: OE-core <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 1/5] base-files: files will be over written when updating using rpm
Date: Fri, 21 Nov 2014 10:06:41 +0800	[thread overview]
Message-ID: <546E9E31.4060300@windriver.com> (raw)
In-Reply-To: <CAJTo0LaTqjSJ35Lq4hbTDeF0F0Y2iAbdUU4+1VE11mhKoGZrgg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1358 bytes --]


于 2014年11月21日 04:37, Burton, Ross 写道:
>
> On 14 November 2014 09:43, Jian Liu <jian.liu@windriver.com 
> <mailto:jian.liu@windriver.com>> wrote:
>
>     +CONFFILES_${PN} += "${sysconfdir}/motd
>     ${sysconfdir}/nsswitch.conf ${sysconfdir}/profile"
>
>
> I do have to wonder why we don't allow globs in CONFFILES and set 
> CONFFILES_${PN} to ${sysconfdir} by default...
>
> Ross
>
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.
But we find that not all files are necessary to handle. For example,
 >>>> base-files        /etc/motd

I'd expect the above to be changed...but not...

 >>>> libpam-runtime:        /etc/pam.d/common-account
 >>>>                     /etc/pam.d/common-auth
 >>>>               /etc/pam.d/common-password
 >>>>               /etc/pam.d/common-session
 >>>> /etc/pam.d/common-session-noninteractive

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.

This patch just handles files that we think should be protected currently.

-- 
Jian Liu
Email: jian.liu@windriver.com
Office Phone: 86-10-84778539


[-- Attachment #2: Type: text/html, Size: 2933 bytes --]

  reply	other threads:[~2014-11-21  2:08 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-14  9:43 [PATCH 0/6] Avoid config files being overwritten Jian Liu
2014-11-14  9:43 ` [PATCH 1/5] base-files: files will be over written when updating using rpm Jian Liu
2014-11-20 20:37   ` Burton, Ross
2014-11-21  2:06     ` Liu Jian [this message]
2014-11-21  2:23     ` ChenQi
2014-11-20 20:40   ` Burton, Ross
2014-11-14  9:43 ` [PATCH 2/5] initscripts: " Jian Liu
2014-11-14  9:43 ` [PATCH 3/5] logrotate: " Jian Liu
2014-11-19 17:54   ` Dan McGregor
2014-11-20  2:11     ` Liu Jian
2014-11-20 20:37     ` Burton, Ross
2014-11-14  9:43 ` [PATCH 4/5] libpam: " Jian Liu
2014-11-14  9:43 ` [PATCH 5/5] nfs-utils: " Jian Liu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=546E9E31.4060300@windriver.com \
    --to=jian.liu@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=ross.burton@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.