Comment # 6 on bug 1203119 from
(In reply to Stefan Hundhammer from comment #4)
> AFAICS the combo box is disabled because there is only one policy available
> in this case:
> 
> https://github.com/yast/yast-installation/blob/master/src/lib/installation/
> widgets/lsm.rb#L112
> 
>       def init
>         self.value = settings.selected&.id.to_s
>         disable if items.size <= 1
>       end
> 
> Why there is only one I don't know.

Actually, this is the code for the "Selected Module" selector, no for the
"SELinux Mode" one.

The "SELinux Mode" is disabled because it is marked as not configurable, see
https://github.com/yast/yast-installation/blob/ce0223d21b268ff579025f1f8c500d7ca908b578/src/lib/installation/widgets/selinux_mode.rb#L44

The configurable setting comes from Y2Security::LSM::Config instance
(https://github.com/yast/yast-security/blob/a6a56535e9285f66804814daafe85d310786e140/src/lib/y2security/lsm/config.rb#L141),
which loads it from the Yast::ProductFeatures unless running in WSL. I.e., it
comes from the control file.

In MicroOS control file (master branch) it is set as configurable, see
https://github.com/yast/skelcd-control-MicroOS/blob/55c1370a0ba4b86c8c17f54ff4a9f6a0e41f22ad/control/control.MicroOS.xml#L90. 


Where can I check the control file for openSUSE Leap Micro?


You are receiving this mail because: