Skip to content

Ambiguous warning about SELinux in dscreate for non-root user #6086

@vashirov

Description

@vashirov

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

RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=2151944

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs triageThe issue will be triaged during scrum

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions