RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2040619 - Changing default pac type to 'nfs:NONE and MS-PAC' doesnot display error 'ipa: ERROR: no modifications to be performed'
Summary: Changing default pac type to 'nfs:NONE and MS-PAC' doesnot display error 'ipa...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: ipa
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Florence Blanc-Renaud
QA Contact: ipa-qe
URL:
Whiteboard:
Depends On: 2031825
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-14 09:43 UTC by Florence Blanc-Renaud
Modified: 2022-05-17 13:00 UTC (History)
6 users (show)

Fixed In Version: ipa-4.9.8-2.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2031825
Environment:
Last Closed: 2022-05-17 12:44:20 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FREEIPA-7705 0 None None None 2022-01-14 09:45:02 UTC
Red Hat Issue Tracker RHELPLAN-108163 0 None None None 2022-01-14 09:45:12 UTC
Red Hat Product Errata RHBA-2022:2387 0 None None None 2022-05-17 12:44:43 UTC

Description Florence Blanc-Renaud 2022-01-14 09:43:26 UTC
The issue is also seen on RHEL 9.0 with ipa-server-4.9.8-1.el9.x86_64

+++ This bug was initially created as a clone of Bug #2031825 +++

Description of problem: Changing default pac type to 'nfs:NONE and MS-PAC' doesnot display warning 'ipa: ERROR: no modifications to be performed'

Version-Release number of selected component (if applicable):
ipa-server-4.9.8-1.module+el8.6.0+13485+f71eb528.x86_64

How reproducible: Always


Steps to Reproduce:
1. ipa config-show
2. ipa config-mod --pac-type=nfs:NONE --pac-type=MS-PAC

Actual results:
[root@server ~]# ipa config-mod --pac-type=nfs:NONE --pac-type=MS-PAC
  Default PAC types: MS-PAC, nfs:NONE
[root@server ~]# echo $?
0

Expected results:
"ipa: ERROR: no modifications to be performed"


Additional info:

--- Additional comment from Florence Blanc-Renaud on 2021-12-14 21:56:34 UTC ---

Easy to reproduce, and linked to the modifications related to Sid generation in ipa config-mod. I’ll work on a fix.

--- Additional comment from Florence Blanc-Renaud on 2021-12-15 09:04:18 UTC ---

Upstream ticket:
https://pagure.io/freeipa/issue/9063

--- Additional comment from Rob Crittenden on 2022-01-13 19:21:56 UTC ---

Fixed upstream
master:
https://pagure.io/freeipa/c/327e0232038d6ffaedcc72408cdbd8dd541a1f66
https://pagure.io/freeipa/c/325415bb66542455212b0613a79f3cc1c19c42a8

--- Additional comment from Florence Blanc-Renaud on 2022-01-14 08:51:23 UTC ---

Fixed upstream
ipa-4-9:
https://pagure.io/freeipa/c/b9c42fed9b6f60801f908c368d0d97a2a69f7bb2
https://pagure.io/freeipa/c/cd735099e86304294217147ed578ac902fcf3dd3

Comment 5 Mohammad Rizwan 2022-02-10 10:38:14 UTC
2022-02-10T09:48:31+0000 [ip-10-0-201-64.rhos-] ====================================== Final Report =======================================
2022-02-10T09:48:31+0000 [ip-10-0-201-64.rhos-]             Test Date: Thu Feb 10 04:48:31 AM EST 2022         
2022-02-10T09:48:31+0000 [ip-10-0-201-64.rhos-]                Total : [89]       
2022-02-10T09:48:31+0000 [ip-10-0-201-64.rhos-]                Passed: [89]        
2022-02-10T09:48:31+0000 [ip-10-0-201-64.rhos-]                Failed: [0]        
2022-02-10T09:48:31+0000 [ip-10-0-201-64.rhos-]            Unfinished: [0]  
2022-02-10T09:48:31+0000 [ip-10-0-201-64.rhos-]                Abort : [0]       
2022-02-10T09:48:31+0000 [ip-10-0-201-64.rhos-]  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
2022-02-10T09:48:31+0000 [ip-10-0-201-64.rhos-]  +-----------------------------[RPMs & OS: [RedHat - x86_64]-----------------------------+
2022-02-10T09:48:31+0000 [ip-10-0-201-64.rhos-] |       ipa-client-4.9.8-2.el9.x86_64
2022-02-10T09:48:31+0000 [ip-10-0-201-64.rhos-] |       ipa-client-common-4.9.8-2.el9.noarch
2022-02-10T09:48:31+0000 [ip-10-0-201-64.rhos-] |       ipa-server-4.9.8-2.el9.x86_64
2022-02-10T09:48:31+0000 [ip-10-0-201-64.rhos-] |       ipa-server-common-4.9.8-2.el9.noarch
2022-02-10T09:48:31+0000 [ip-10-0-201-64.rhos-] |       ipa-server-dns-4.9.8-2.el9.noarch
2022-02-10T09:48:31+0000 [ip-10-0-201-64.rhos-] |       sssd-ipa-2.6.2-2.el9.x86_64
2022-02-10T09:48:31+0000 [ip-10-0-201-64.rhos-] ------------------------------------------------------------------------------------------
2022-02-10T09:48:31+0000 [ip-10-0-201-64.rhos-]  +-----------------------------------------------------------------------------------------+
2022-02-10T09:48:31+0000 [ip-10-0-201-64.rhos-]      Test:[/ipa-server/rhel80/ipa-config/root]: [ Pass(89/89): 100% ] 
2022-02-10T09:48:31+0000 [ip-10-0-201-64.rhos-]  +-----------------------------------------------------------------------------------------+
2022-02-10T09:48:31+0000 [ip-10-0-201-64.rhos-]  +----------------------------------------------------------------------+
2022-02-10T09:48:31+0000 [ip-10-0-201-64.rhos-]                     Fail / unfinished / ABORT [ Fail(0/89): 0% ]
2022-02-10T09:48:31+0000 [ip-10-0-201-64.rhos-]  +----------------------------------------------------------------------+
2022-02-10T09:48:31+0000 [ip-10-0-201-64.rhos-] =========================== end of report [/tmp/rhts.report.20271.txt]===============================
2022-02-10T09:48:31+0000 [ip-10-0-201-64.rhos-] original rlJournalPrintText body saved as [/tmp/rhts.original.32323.txt]

Automation passed. Hence mrking the bug as verified.

http://idm-artifacts.usersys.redhat.com/freeipa/Nightly/RHEL9.0/2022-02-04/tier-1/bash-ipa-config/33//runner.log (Job is red because of failure in restraint which is unrelated to this bug.)

Comment 8 errata-xmlrpc 2022-05-17 12:44:20 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (new packages: ipa), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:2387


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