Ticket was cloned from Red Hat Bugzilla (product Fedora): Bug 1732524
Description of problem: When "ipa-client-samba --uninstall" is uninstalled twice, it crashes Version-Release number of selected component (if applicable): freeipa-client-samba-4.8.0-1.fc30.x86_64 How reproducible: Always Steps to Reproduce: 1. ipa-client-samba -U 2. ipa-client-samba -U --uninstall 3. ipa-client-samba -U --uninstall Actual results: Traceback (most recent call last): File "/usr/sbin/ipa-client-samba", line 15, in <module> sys.exit(ipa_client_samba.run()) File "/usr/lib/python3.7/site-packages/ipaclient/install/ipa_client_samba.py", line 524, in run uninstall(fstore, statestore, options) File "/usr/lib/python3.7/site-packages/ipaclient/install/ipa_client_samba.py", line 437, in uninstall fstore.restore_file(paths.SMB_CONF) File "/usr/lib/python3.7/site-packages/ipalib/install/sysrestore.py", line 201, in restore_file raise ValueError("No such file name in the index") ValueError: No such file name in the index Expected results: Samba domain member is not configured yet Additional info:
Metadata Update from @fcami: - Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1732524
Metadata Update from @fcami: - Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/3435
master:
ipa-4-8:
Metadata Update from @frenaud: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
Metadata Update from @frenaud: - Issue set to the milestone: FreeIPA 4.8.1
Login to comment on this ticket.