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 895256 - ipa selinuxusermap-mod seealso must be unicode error
Summary: ipa selinuxusermap-mod seealso must be unicode error
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: ipa
Version: 7.0
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: rc
: ---
Assignee: Rob Crittenden
QA Contact: IDM QE LIST
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-14 22:54 UTC by Scott Poore
Modified: 2014-06-18 00:03 UTC (History)
2 users (show)

Fixed In Version: ipa-3.2.1-1.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 12:45:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Scott Poore 2013-01-14 22:54:32 UTC
Description of problem:

[root@rhel6-4 ~]# ipa selinuxusermap-mod test1 --addattr=seealso=ipaUniqueID=ff7c56cc-5e8c-11e2-842c-525400640004,cn=hbac,dc=testrelm,dc=com
ipa: ERROR: invalid 'seealso': must be Unicode text


Version-Release number of selected component (if applicable):
ipa-server-3.0.0-21.el6.x86_64

How reproducible:
always


Steps to Reproduce:
1.  Install RHEL6.4 IPA server
2.  ipa selinuxusermap-add --desc=test1 --selinuxuser="unconfined_u:s0-s0:c0.c1023" test1
3.  ipa hbacrule-find allow_all --all --raw|grep dn:
4.  ipa selinuxusermap-mod test1 --addattr=seealso=ipaUniqueID=ff7c56cc-5e8c-11e2-842c-525400640004,cn=hbac,dc=testrelm,dc=com
  
Actual results:

error as shown above.

Expected results:

No error but adds/sets attr.

Additional info:

[Mon Jan 14 16:53:32 2013] [error] ipa: INFO: admin: selinuxusermap_mod(u'test1', addattr=(u'seealso=ipaUniqueID=ff7c56cc-5e8c-11e2-842c-525400640004,cn=hbac,dc=testrelm,dc=com',), rights=False, all=False, raw=False, version=u'2.46'): ConversionError

Comment 2 Rob Crittenden 2013-01-15 02:39:49 UTC
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/3349

Comment 7 Scott Poore 2013-08-22 18:18:19 UTC
Verified.

Version ::

ipa-server-3.3.0-7.el7.x86_64

Manual Test Results ::

[root@rhel7-1 ~]# ipa selinuxusermap-add --desc=test1 --selinuxuser="unconfined_u:s0-s0:c0.c1023" test1
------------------------------
Added SELinux User Map "test1"
------------------------------
  Rule name: test1
  SELinux User: unconfined_u:s0-s0:c0.c1023
  Description: test1
  Enabled: TRUE

[root@rhel7-1 ~]# ipa hbacrule-find allow_all --all --raw|grep dn:
  dn: ipaUniqueID=562716d2-0aa0-11e3-9073-0000c0a87a47,cn=hbac,dc=testrelm,dc=com

[root@rhel7-1 ~]# ipa selinuxusermap-mod test1 --addattr=seealso=ipaUniqueID=562716d2-0aa0-11e3-9073-0000c0a87a47,cn=hbac,dc=testrelm,dc=com
---------------------------------
Modified SELinux User Map "test1"
---------------------------------
  Rule name: test1
  SELinux User: unconfined_u:s0-s0:c0.c1023
  HBAC Rule: allow_all
  Description: test1
  Enabled: TRUE

Comment 8 Ludek Smid 2014-06-13 12:45:36 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


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