Bug 1244532 - Disabling dnf-langpacks plugin doesn't work
Summary: Disabling dnf-langpacks plugin doesn't work
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf-langpacks
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Parag Nemade
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-19 18:57 UTC by Jonathan Kamens
Modified: 2015-07-29 01:48 UTC (History)
1 user (show)

Fixed In Version: dnf-langpacks-0.12.0-2.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-07-29 01:48:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jonathan Kamens 2015-07-19 18:57:37 UTC
I changed "enabled=1" to "enabled=0" in /etc/dnf/plugins/langpacks.conf, but it's still enabled; I still get the messages I complained about in bug 1244531.

I have to actually specify "--disableplugin=langpacks" on the command line to make it shut up.

Please fix this.

Comment 1 Parag Nemade 2015-07-20 03:10:52 UTC
There is nothing to fix here. All installed plugins are by default enabled and the only way to disable installed plugins is as you mentioned above.

This is by design of dnf development.

Comment 2 Jonathan Kamens 2015-07-20 11:19:52 UTC
So, the thing is, if the langpacks plugging is printing messages to dnf's output even when I have set enabled=0 in the config file for it, then either (a) the "enabled=0" isn't actually working, or (b) the plugging is generating output despite the enabled=0, which means IT'S IGNORING ENABLED=0 BECAUSE A PLUGIN WITH ENABLED=0 SET SHOULDN'T GENERATE ANY OUTPUT.

So there is a bug here.

I would GLADLY solve this problem by uninstalling dnf-langpacks completely, since I have no need for it, but I can't even do THAT because system-config-language depends on it.

Comment 3 Parag Nemade 2015-07-20 12:03:02 UTC
May I know what problem do you see then?

1) enabled=0 is not working?? If that is the case then after discussing with dnf developers I will remove it but note again all plugins are by default enabled and only way to disable any plugin is to remove it or use --disableplugin=<plugin_name>

2) OR you see extra messages from langpacks plugin when you do any dnf operation??

Comment 4 Fedora Update System 2015-07-21 15:20:57 UTC
dnf-langpacks-0.12.0-2.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/dnf-langpacks-0.12.0-2.fc22

Comment 5 Parag Nemade 2015-07-21 17:17:27 UTC
Jonathan,
  I have submitted new update now that removed that "enabled=" config item from langpacks.conf file. Now it will not confuse you. 
  Second, extra info messages are now debug messages. Please test and give karma accordingly.

Comment 6 Fedora Update System 2015-07-29 01:48:44 UTC
dnf-langpacks-0.12.0-2.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.