Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • genhomedircon creating the wrong MLS label

    Posted on

    I Want my users homedir to have mls label s0 but it's getting set to s1

    The file ./modules/active/file_contexts.template looks correct:
    HOME_DIR/.+ system_u:object_r:user_home_t:s0

    But when I run genhomedir the contexts/files/file_contexts.homedirs ends up with this:
    /home/myuser -d myuser_u:object_r:user_home_dir_t:s1-s31:c0.c31
    Should be
    /home/myuser -d myuser_u:object_r:user_home_dir_t:s0-s31:c0.c31

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat