f21 runs dnf check on every shell startup

2014-12-09 Thread Neal Becker
After fedup f20-f21, on every shell startup I see:

Repository google-chrome is listed more than once in the configuration

I don't want this check run on each shell start.  For one thing, I believe it 
is 
causing sometimes long delays.  How do I turn it off?

-- 
-- Those who don't understand recursion are doomed to repeat it

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: f21 runs dnf check on every shell startup

2014-12-09 Thread Matthew Miller
On Tue, Dec 09, 2014 at 07:06:52AM -0500, Neal Becker wrote:
 After fedup f20-f21, on every shell startup I see:
 Repository google-chrome is listed more than once in the configuration
 I don't want this check run on each shell start.  For one thing, I believe it 
 is 
 causing sometimes long delays.  How do I turn it off?

If you remove PackageKit-command-not-found, does it go away?

-- 
Matthew Miller
mat...@fedoraproject.org
Fedora Project Leader
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: f21 runs dnf check on every shell startup

2014-12-09 Thread Neal Becker
Matthew Miller wrote:

 On Tue, Dec 09, 2014 at 07:06:52AM -0500, Neal Becker wrote:
 After fedup f20-f21, on every shell startup I see:
 Repository google-chrome is listed more than once in the configuration
 I don't want this check run on each shell start.  For one thing, I
 believe it is
 causing sometimes long delays.  How do I turn it off?
 
 If you remove PackageKit-command-not-found, does it go away?
 

No, it isn't installed

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: f21 runs dnf check on every shell startup

2014-12-09 Thread Jan Zelený
On 9. 12. 2014 at 07:06:52, Neal Becker wrote:
 After fedup f20-f21, on every shell startup I see:
 
 Repository google-chrome is listed more than once in the configuration
 
 I don't want this check run on each shell start.  For one thing, I believe
 it is causing sometimes long delays.  How do I turn it off?

Sounds like it's caused by dnf bash completion script. Adding Igor into the 
loop, as he is the author of that script.

Jan
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: f21 runs dnf check on every shell startup

2014-12-09 Thread Neal Becker
which log should I be looking at?  What log entries would be relevant?

On Tue, Dec 9, 2014 at 9:14 AM, Igor Gnatenko 
ignatenkobr...@fedoraproject.org wrote:

 On Dec 9, 2014 3:47 PM, Jan Zelený jzel...@redhat.com wrote:
 
  On 9. 12. 2014 at 07:06:52, Neal Becker wrote:
   After fedup f20-f21, on every shell startup I see:
  
   Repository google-chrome is listed more than once in the configuration
  
   I don't want this check run on each shell start.  For one thing, I
 believe
   it is causing sometimes long delays.  How do I turn it off?
 
  Sounds like it's caused by dnf bash completion script. Adding Igor into
 the
  loop, as he is the author of that script.
 I'll check. Can you provide debug log?
 
  Jan
 --
 -Igor Gnatenko




-- 
*Those who don't understand recursion are doomed to repeat it*
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: f21 runs dnf check on every shell startup

2014-12-09 Thread Neal Becker
I'm sorry, I'm confused.
The problem is that it seems with every shell startup, some dnf command is
run (perhaps check-update?).  I did not run the command.  I don't want it
to run - sometimes it slows shell startup.

What command did you want me to run to diagnose this?

On Tue, Dec 9, 2014 at 9:31 AM, Igor Gnatenko 
ignatenkobr...@fedoraproject.org wrote:

 dnf with debuglevel=10... Paste dnf.log

 -Igor Gnatenko
 On Dec 9, 2014 5:23 PM, Neal Becker ndbeck...@gmail.com wrote:

 which log should I be looking at?  What log entries would be relevant?

 On Tue, Dec 9, 2014 at 9:14 AM, Igor Gnatenko 
 ignatenkobr...@fedoraproject.org wrote:

 On Dec 9, 2014 3:47 PM, Jan Zelený jzel...@redhat.com wrote:
 
  On 9. 12. 2014 at 07:06:52, Neal Becker wrote:
   After fedup f20-f21, on every shell startup I see:
  
   Repository google-chrome is listed more than once in the
 configuration
  
   I don't want this check run on each shell start.  For one thing, I
 believe
   it is causing sometimes long delays.  How do I turn it off?
 
  Sounds like it's caused by dnf bash completion script. Adding Igor
 into the
  loop, as he is the author of that script.
 I'll check. Can you provide debug log?
 
  Jan
 --
 -Igor Gnatenko




 --
 *Those who don't understand recursion are doomed to repeat it*




-- 
*Those who don't understand recursion are doomed to repeat it*
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: f21 runs dnf check on every shell startup

2014-12-09 Thread Jan Zelený
On 9. 12. 2014 at 18:52:29, Igor Gnatenko wrote:
 On Tue, Dec 9, 2014 at 5:34 PM, Neal Becker ndbeck...@gmail.com wrote:
  I'm sorry, I'm confused.
  The problem is that it seems with every shell startup, some dnf command is
  run (perhaps check-update?).  I did not run the command.  I don't want it
  to run - sometimes it slows shell startup.
 
 You mean GNOME shell startup? or what startup?

IIUIC that would be bash startup. Is is possible that the bash completion 
script does some preloading at that time?

Jan
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: f21 runs dnf check on every shell startup

2014-12-09 Thread Neal Becker
Thanks for the hint!

bash -x
...

 complete -D -F _completion_loader
 [[ -d /etc/bash_completion.d ]]
 [[ -r /etc/bash_completion.d ]]
 [[ -x /etc/bash_completion.d ]]
+ LC_ALL=C
+ command ls /etc/bash_completion.d
+ ls /etc/bash_completion.d
 for i in '$(LC_ALL=C command ls $BASH_COMPLETION_COMPAT_DIR)'
 i=/etc/bash_completion.d/dnf-completion.bash
 [[ dnf-completion.bash !=
@(@(#*#|*@(~|.@(bak|orig|rej|swp|dpkg*|rpm@(orig|new|save|Makefile*|@())
]]
 [[ -f /etc/bash_completion.d/dnf-completion.bash ]]
 [[ -r /etc/bash_completion.d/dnf-completion.bash ]]
 . /etc/bash_completion.d/dnf-completion.bash
+++ dnf help
+++ sed -e 's/\(  \)\+.*$//g' -e '/^$/d' -e '/^[A-Z ]/d' -e /:/d
Repository google-chrome is listed more than once in the configuration

And there is the message!

I have seen sometimes long hangs trying to ssh into the machine.  After
printing 'last login...' and before getting this message and a bash
prompt.  I'm just guessing this is what is causing sometimes long delay.

On Tue, Dec 9, 2014 at 10:11 AM, Igor Gnatenko i.gnatenko.br...@gmail.com
wrote:

 If we're talking about bash startup, so there nothing what takes long time.

 bash should load functions from dnf-completion.bash and should not
 execute something.

 I think would be good to get logs from command `bash -x`

 On Tue, Dec 9, 2014 at 6:06 PM, Jan Zelený jzel...@redhat.com wrote:
  On 9. 12. 2014 at 18:52:29, Igor Gnatenko wrote:
  On Tue, Dec 9, 2014 at 5:34 PM, Neal Becker ndbeck...@gmail.com
 wrote:
   I'm sorry, I'm confused.
   The problem is that it seems with every shell startup, some dnf
 command is
   run (perhaps check-update?).  I did not run the command.  I don't
 want it
   to run - sometimes it slows shell startup.
 
  You mean GNOME shell startup? or what startup?
 
  IIUIC that would be bash startup. Is is possible that the bash completion
  script does some preloading at that time?
 
  Jan



 --
 -Igor Gnatenko




-- 
*Those who don't understand recursion are doomed to repeat it*
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org