This bug has been migrated to another issue tracking site. It has been closed here and may no longer be being monitored.

If you would like to get updates for this issue, or to participate in it, you may do so at Red Hat Issue Tracker .
Bug 2151944 - Ambiguous warning about SELinux in dscreate for non-root user
Summary: Ambiguous warning about SELinux in dscreate for non-root user
Keywords:
Status: CLOSED MIGRATED
Alias: None
Product: Red Hat Directory Server
Classification: Red Hat
Component: 389-ds-base
Version: 12.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: DS12.5
: dirsrv-12.5
Assignee: Viktor Ashirov
QA Contact: LDAP QA Team
Zuzana Zoubkova
URL:
Whiteboard: sync-to-jira
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-12-08 16:54 UTC by Viktor Ashirov
Modified: 2024-06-26 13:33 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-06-26 13:33:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github 389ds 389-ds-base issues 6086 0 None open Ambiguous warning about SELinux in dscreate for non-root user 2024-02-08 11:42:45 UTC
Red Hat Issue Tracker   DIRSRV-46 0 None None Red Hat Issue Tracker 2024-06-26 13:33:29 UTC
Red Hat Issue Tracker IDMDS-3987 0 None None None 2023-12-13 16:36:50 UTC

Description Viktor Ashirov 2022-12-08 16:54:29 UTC
Description of problem:
When an instance is created using dscreate under non-root user, there is a scary looking ambiguous warning:

> Selinux support will be disabled, continue? [yes]:

It's not clear to the user what exactly are the implications (system-wide disabling of SELinux?).

We should provide a better wording for this question, for example

> SELinux contexts for instance files will not be applied, continue? [yes]:

Or remove it completely, since there is no other choice and the implications are benign. 

Version-Release number of selected component (if applicable):
389-ds-base-2.1.5-4.module+el9dsrv+16995+8a75ed16.x86_64


How reproducible:
always

Steps to Reproduce:
$ mkdir -p bin
$ dscreate ds-root $HOME/test $HOME/bin
$ hash -r
$ dscreate interactive

Comment 4 Viktor Ashirov 2024-06-26 13:33:30 UTC
This BZ has been automatically migrated to Red Hat Issue Tracker https://issues.redhat.com/browse/DIRSRV-46. All future work related to this report will be managed there.

Due to differences in account names between systems, some fields were not replicated. Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information.

In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information.


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