Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Rob Woolley <rob.woolley@windriver.com>
To: "Burton, Ross" <ross.burton@intel.com>
Cc: OE-core <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH v2 2/3] nfs-utils: Identify CONFFILES
Date: Tue, 10 Mar 2015 13:14:35 -0400	[thread overview]
Message-ID: <54FF267B.5000108@windriver.com> (raw)
In-Reply-To: <CAJTo0LYTFRQVdH9XFcUJ4_CLRoH0Fa8JeDCeKRohe_8zNxwdxA@mail.gmail.com>

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

Hi Ross,

My understanding is that they are used to help make NFS state-full. The 
"state" file is part of the extension to add Network Status Monitoring 
(NSM) to NFS.

In the RPM world, they need to label them as configuration files to 
avoid them getting overwritten during an upgrade.

The Debian approach removes them on a "purge" in the postrm stage and 
ignore them when doing an "upgrade" in the prerm stage.

So, technically they are not configuration files.  Would another 
approach such as removing them as packaged files and touching the files 
in a postinstall script be preferred?

Regards,
Rob

On 03/10/2015 12:05 PM, Burton, Ross wrote:
>
> On 9 March 2015 at 23:52, Rob Woolley <rob.woolley@windriver.com 
> <mailto:rob.woolley@windriver.com>> wrote:
>
>     +CONFFILES_${PN}-client += "${localstatedir}/lib/nfs/etab \
>     +                          ${localstatedir}/lib/nfs/rmtab \
>     +                          ${localstatedir}/lib/nfs/xtab \
>     +                          ${localstatedir}/lib/nfs/statd/state \
>     +                          ${sysconfdir}/nfsmount.conf"
>
>
> NFS puts configuration files in /var/lib?  Are files called "state" 
> really configuration files?
>
> Ross


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

  reply	other threads:[~2015-03-10 17:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-09 23:52 [PATCH v2 0/3] Identify existing configuration files Rob Woolley
2015-03-09 23:52 ` [PATCH v2 1/3] nfs-utils: Install nfsmount.conf Rob Woolley
2015-03-09 23:52 ` [PATCH v2 2/3] nfs-utils: Identify CONFFILES Rob Woolley
2015-03-10 16:05   ` Burton, Ross
2015-03-10 17:14     ` Rob Woolley [this message]
2015-03-09 23:52 ` [PATCH v2 3/3] logrotate: " Rob Woolley
2015-03-10 13:51 ` [PATCH v2 0/3] Identify existing configuration files Burton, Ross
2015-03-10 15:37   ` Rob Woolley

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=54FF267B.5000108@windriver.com \
    --to=rob.woolley@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox