dnf interactive config file updates

Richard W.M. Jones rjones at redhat.com
Mon Apr 13 16:43:38 UTC 2015


On Mon, Apr 13, 2015 at 11:26:43AM -0400, Radek Holy wrote:
> 
> 
> ----- Original Message -----
> > From: "Kevin Fenzi" <kevin at scrye.com>
> > To: devel at lists.fedoraproject.org
> > Sent: Monday, April 13, 2015 5:01:45 PM
> > Subject: Re: dnf interactive config file updates
> > 
> > On Mon, 13 Apr 2015 15:45:41 +0100
> > "Richard W.M. Jones" <rjones at redhat.com> wrote:
> > 
> > > 
> > > I see that dnf has sprung apt-style configuration file messages:
> > > 
> > >   ----------------------------------------------------------------------
> > >   $ sudo dnf install mingw32-srvany
> > >   Using metadata from Mon Apr 13 13:56:00 2015 (1:43:07 hours old)
> > >   Package mingw32-srvany-1.0-15.20150115gitfd659e77.fc23.noarch is
> > > already installed, skipping. Dependencies resolved.
> > >   Nothing to do.
> > >   Configuration file '/etc/pam.d/fingerprint-auth'
> > >   lrwxrwxrwx. 1 root root  19 Feb 21
> > > 2012 /etc/pam.d/fingerprint-auth -> fingerprint-auth-ac -rw-r--r--. 1
> > > root root 701 May  9  2012 /etc/pam.d/fingerprint-auth.rpmnew
> > > 
> > >    ==> Package distributor has shipped an updated version.
> > >      What would you like to do about it ?  Your options are:
> > >       Y or I  : install the package maintainer's version
> > >       N or O  : keep your currently-installed version
> > >         D     : show the differences between the versions
> > >         M     : merge configuration files
> > >         Z     : background this process to examine the situation
> > >         S     : skip this file
> > >    The default action is to keep your current version.
> > >   *** aliases (Y/I/N/O/D/M/Z/S) [default=N] ?
> > >   ----------------------------------------------------------------------
> > > 
> > > In fact I _didn't_ change that file, so the message is wrong.
> > > 
> > > I suspect we'll end up with Debian interactive installs, which as a
> > > Debian user I find to be a regression.
> > > 
> > > - 'dnf -y install' doesn't suppress the message.
> > > 
> > > - In fact you cannot even kill it with ^C.  You have to killall -9
> > > dnf.
> > > 
> > > This happens on dozens of file now, every time I use dnf.  Make it go
> > > away!
> > 
> > I suspect this is caused by the 'rpmconf' plugin ?
> 
> Yes, correct.
> 
> > sudo dnf remove python3-dnf-plugins-extras-rpmconf
> > 
> > I agree it's behavior isn't good there. Bug(s) filed?
> 
> Yes, please. Against the DNF's community plugins (dnf-plugins-extras), please.
> 
> And can you please also immediately file a Bugzilla (if it does not exist) next time you hit a bug?

I almost always do.

But what's the bug here?  The feature itself or the fact that -y
doesn't make it go away?

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/


More information about the devel mailing list