Bug 1126405 - Inform user when adding existing item in lockdown whitelist (Command, Context, Uid, User)
Summary: Inform user when adding existing item in lockdown whitelist (Command, Context...
Alias: None
Product: Fedora
Classification: Fedora
Component: firewalld
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Thomas Woerner
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: 1017034
TreeView+ depends on / blocked
Reported: 2014-08-04 11:01 UTC by Jakub Jelen
Modified: 2014-08-04 13:28 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2014-08-04 13:28:09 UTC

Attachments (Terms of Use)

Description Jakub Jelen 2014-08-04 11:01:44 UTC
Description of problem:
There is no warning or error when user tries to add new command to lockdown whitelist and this command is there already present.

This method should fail or at least warn user that this item is already in this list.

Version-Release number of selected component (if applicable):
git upstream

How reproducible:

Steps to Reproduce:
1. firewall-cmd --add-lockdown-whitelist-command=/bin/bash
2. firewall-cmd --add-lockdown-whitelist-command=/bin/bash

Actual results:

Expected results:
warn or fail

Additional info:
This is applicable for all Command, Context, User and Uid whitelists.

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