What | Removed | Added |
---|---|---|
CC | ancor@suse.com |
The main problem here is that the YaST code is conceived to work only on the inst-sys. I mean, it uses the so-called installation extensions to load dict-full dynamically. See this code: https://github.com/yast/yast-users/blob/29d0c407f6d15a89da7cfa856c9f9e1c65dbeef0/src/modules/UsersSimple.pm#L973 But that results in the following errors in the logs: [Ruby] modules/InstExtensionImage.rb:386 Calling: extend 'cracklib-dict-full.rpm' [bash] ShellCommand.cc(shellcommand):78 sh: extend: command not found [Ruby] modules/InstExtensionImage.rb:388 Returned: $["exit":127, "stderr":"sh: extend: command not found\n", "stdout":""] [Ruby] modules/InstExtensionImage.rb:392 'extend' failed! [Ruby] users/local_password.rb:97 loading cracklib failed, not used for pw check[Ruby] modules/InstExtensionImage.rb:418 Package cracklib-dict-full.rpm wasn't integrated We would need either to adapt YaST to recognize the situation and not try to use the installer extensions (i.e. using the 'extend' command) or to provide 'extend' in the live system with a different behavior when compared to the inst-sys (e.g. checking if something is there, instead of trying to load it temporarily.