Bug 1220375

Summary: yast2-users does not start the user management module
Product: [openSUSE] openSUSE Tumbleweed Reporter: hui <sturm-fr>
Component: YaST2Assignee: E-mail List <yast2-maintainers>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: aschnell, mvidner, piotrus3g
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: y2log tarball
nohup.out from the y2logs tarball

Description hui 2024-02-26 17:05:38 UTC
On latest snapshot openSUSE Tumbleweed 20240223 the yast2-users module no longer works. Several users are affected. Doesn't matter if X11 or Wayland is used.
https://forums.opensuse.org/t/cant-start-user-and-group-management-in-yast2/172697/5

- starting via YaST2 GUI->Users and Group management says "starting" but never opens the module
- starting YaST2 from terminal and clicking the User module does not yield any terminal output
- "/usr/bin/xdg-su -c /sbin/yast2 users" directly returns to the next command prompt after the password was given. No errors in terminal.
- "yast users" (ncurses) also returns to the next command prompt after the password was given. No errors in terminal.

No relevant informations logged in journal.

But /var/log/YaST2/y2log adds following lines when trying to open the Users module via YaST2 GUI:

2024-02-26 18:04:42 <1> laptopneu(5918) [Ruby] bin/y2start(<main>):22 y2base called with ["users", "qt", "-name", "YaST2", "-icon", "yast"]
2024-02-26 18:04:42 <1> laptopneu(5918) [ui-component] YUIComponentCreator.cc(createInternal):124 Creating UI component for ""
2024-02-26 18:04:42 <1> laptopneu(5918) [ui] YUI.cc(YUI):83 This is libyui 4.6.1
2024-02-26 18:04:42 <1> laptopneu(5918) [ui] YUI.cc(YUI):84 Creating UI with threads
2024-02-26 18:04:42 <1> laptopneu(5918) [qt-ui] YQUI.cc(YQUI):110 This is libyui-qt 4.6.1
2024-02-26 18:04:43 <2> laptopneu(5918) [qt-ui] YQUI.cc(qMessageHandler):656 <libqt-warning> QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
2024-02-26 18:04:43 <1> laptopneu(5918) [qt-styler] QY2Styler.cc(loadStyleSheet):158 Using style sheet "/usr/share/YaST2/theme/current/wizard/style.qss"
2024-02-26 18:04:43 <1> laptopneu(5918) [qt-ui] YQUI.cc(processCommandLineArgs):259 Qt argument: /usr/bin/ruby.ruby3.3
2024-02-26 18:04:43 <1> laptopneu(5918) [qt-ui] YQUI.cc(processCommandLineArgs):259 Qt argument: --encoding=utf-8
2024-02-26 18:04:43 <1> laptopneu(5918) [qt-ui] YQUI.cc(processCommandLineArgs):259 Qt argument: /usr/lib/YaST2/bin/y2start
2024-02-26 18:04:43 <1> laptopneu(5918) [qt-ui] YQUI.cc(processCommandLineArgs):259 Qt argument: users
2024-02-26 18:04:43 <1> laptopneu(5918) [qt-ui] YQUI.cc(processCommandLineArgs):259 Qt argument: qt
2024-02-26 18:04:43 <1> laptopneu(5918) [qt-ui] YQUI.cc(calcDefaultSize):412 Default size: 1344 x 756
2024-02-26 18:04:43 <1> laptopneu(5918) [qt-ui] YQApplication.cc(YQApplication):98 QIcon::themeName = 'breeze-dark'
2024-02-26 18:04:43 <1> laptopneu(5918) [qt-ui] YQApplication.cc(loadPredefinedQtTranslations):153 Selected language: de_DE
2024-02-26 18:04:43 <1> laptopneu(5918) [qt-ui] YQApplication.cc(loadPredefinedQtTranslations):173 Loaded translations for predefined Qt dialogs for de_DE
2024-02-26 18:04:43 <1> laptopneu(5918) [qt-ui] YQUI.cc(initUI):236 YQUI initialized. Thread ID: 0x0x7f9de00006c0
2024-02-26 18:04:43 <1> laptopneu(5918) [ui] YCP_UI.cc(SetApplicationTitle):1742 Setting application title to '"YaST2 - users @ laptopneu                                                     "'
2024-02-26 18:04:43 <1> laptopneu(5918) [Interpreter] bin/y2start:68 Calling YaST client users
2024-02-26 18:04:43 <1> laptopneu(5918) [Ruby] yast/wfm.rb(run_client):341 Call client /usr/share/YaST2/clients/users.rb
2024-02-26 18:04:43 <1> laptopneu(5918) [Ruby] clients/users.rb(main):37 ----------------------------------------
2024-02-26 18:04:43 <1> laptopneu(5918) [Ruby] clients/users.rb(main):38 Users module started
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] PkgModule.cc(instance):68 Redirecting ZYPP log to y2log
2024-02-26 18:04:43 <1> laptopneu(5918) [Ruby] modules/PackageCallbacks.rb(main):182 PackageCallbacks constructor
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2706 Pkg Builtin called: CallbackProcessStart
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2709 Pkg Builtin called: CallbackProcessProgress
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2712 Pkg Builtin called: CallbackProcessNextStage
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2715 Pkg Builtin called: CallbackProcessDone
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2721 Pkg Builtin called: CallbackStartProvide
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2724 Pkg Builtin called: CallbackProgressProvide
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2727 Pkg Builtin called: CallbackDoneProvide
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2730 Pkg Builtin called: CallbackStartPackage
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2736 Pkg Builtin called: CallbackProgressPackage
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2739 Pkg Builtin called: CallbackDonePackage
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2742 Pkg Builtin called: CallbackPkgGpgCheck
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2750 Pkg Builtin called: CallbackStartDeltaDownload
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2753 Pkg Builtin called: CallbackProgressDeltaDownload
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2756 Pkg Builtin called: CallbackProblemDeltaDownload
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2759 Pkg Builtin called: CallbackFinishDeltaDownload
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2763 Pkg Builtin called: CallbackStartDeltaApply
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2766 Pkg Builtin called: CallbackProgressDeltaApply
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2769 Pkg Builtin called: CallbackProblemDeltaApply
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2772 Pkg Builtin called: CallbackFinishDeltaApply
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2658 Pkg Builtin called: CallbackSourceCreateStart
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2661 Pkg Builtin called: CallbackSourceCreateProgress
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2664 Pkg Builtin called: CallbackSourceCreateError
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2667 Pkg Builtin called: CallbackSourceCreateEnd
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2670 Pkg Builtin called: CallbackSourceCreateInit
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2673 Pkg Builtin called: CallbackSourceCreateDestroy
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2682 Pkg Builtin called: CallbackSourceProbeStart
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2685 Pkg Builtin called: CallbackSourceProbeFailed
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2688 Pkg Builtin called: CallbackSourceProbeSucceeded
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2691 Pkg Builtin called: CallbackSourceProbeProgress
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2694 Pkg Builtin called: CallbackSourceProbeError
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2697 Pkg Builtin called: CallbackSourceProbeEnd
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2781 Pkg Builtin called: CallbackSourceReportStart
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2784 Pkg Builtin called: CallbackSourceReportProgress
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2787 Pkg Builtin called: CallbackSourceReportError
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2793 Pkg Builtin called: CallbackSourceReportEnd
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2799 Pkg Builtin called: CallbackSourceReportInit
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2802 Pkg Builtin called: CallbackSourceReportDestroy
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2810 Pkg Builtin called: CallbackProgressReportStart
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2816 Pkg Builtin called: CallbackProgressReportProgress
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2822 Pkg Builtin called: CallbackProgressReportEnd
2024-02-26 18:04:43 <1> laptopneu(5918) [Ruby] packages/file_conflict_callbacks.rb(create_delayed_progress_popup):73 Creating DelayedProgressPopup
2024-02-26 18:04:43 <1> laptopneu(5918) [Ruby] ui/delayed_progress_popup.rb(initialize):80 Created delayed progress popup
2024-02-26 18:04:43 <1> laptopneu(5918) [Ruby] packages/file_conflict_callbacks.rb(register_file_conflict_callbacks):54 Registering file conflict callbacks
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] packages/file_conflict_callbacks.rb:56 Pkg Builtin called: CallbackFileConflictStart
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] packages/file_conflict_callbacks.rb:57 Pkg Builtin called: CallbackFileConflictProgress
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] packages/file_conflict_callbacks.rb:59 Pkg Builtin called: CallbackFileConflictReport
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] packages/file_conflict_callbacks.rb:61 Pkg Builtin called: CallbackFileConflictFinish
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2852 Pkg Builtin called: CallbackAuthentication
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2864 Pkg Builtin called: CallbackAcceptUnsignedFile
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2870 Pkg Builtin called: CallbackAcceptUnknownGpgKey
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2879 Pkg Builtin called: CallbackImportGpgKey
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2885 Pkg Builtin called: CallbackAcceptVerificationFailed
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2891 Pkg Builtin called: CallbackTrustedKeyAdded
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2897 Pkg Builtin called: CallbackTrustedKeyRemoved
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2903 Pkg Builtin called: CallbackAcceptFileWithoutChecksum
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2909 Pkg Builtin called: CallbackAcceptWrongDigest
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2915 Pkg Builtin called: CallbackAcceptUnknownDigest
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2556 Pkg Builtin called: CallbackMediaChange
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2562 Pkg Builtin called: CallbackSourceChange
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2581 Pkg Builtin called: CallbackScriptStart
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2584 Pkg Builtin called: CallbackScriptProgress
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2587 Pkg Builtin called: CallbackScriptProblem
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2590 Pkg Builtin called: CallbackScriptFinish
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2592 Pkg Builtin called: CallbackMessage
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2600 Pkg Builtin called: CallbackStartScanDb
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2601 Pkg Builtin called: CallbackProgressScanDb
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2604 Pkg Builtin called: CallbackErrorScanDb
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2607 Pkg Builtin called: CallbackDoneScanDb
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2624 Pkg Builtin called: CallbackInitDownload
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2625 Pkg Builtin called: CallbackStartDownload
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2628 Pkg Builtin called: CallbackProgressDownload
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2634 Pkg Builtin called: CallbackDoneDownload
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2637 Pkg Builtin called: CallbackDestDownload
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2638 Pkg Builtin called: CallbackStartRefresh
2024-02-26 18:04:43 <1> laptopneu(5918) [Pkg] modules/PackageCallbacks.rb:2639 Pkg Builtin called: CallbackDoneRefresh
2024-02-26 18:04:43 <1> laptopneu(5918) [Y2Perl] Y2PerlComponent.cc(Y2PerlComponent):35 Creating Y2PerlComponent
2024-02-26 18:04:43 <1> laptopneu(5918) [Y2Perl] YPerl.cc(fixupLocale):151 Switching to the global locale
2024-02-26 18:04:43 <1> laptopneu(5918) [Y2Perl] YPerl.cc(fixupLocale):161 locale:  de_DE.UTF-8
2024-02-26 18:04:43 <1> laptopneu(5918) [Y2Perl] YPerl.cc(fixupLocale):162 codeset: UTF-8
2024-02-26 18:04:43 <2> laptopneu(5918) [-e] YaPI is deprecated, do not use it anymore! It will be removed soon.
2024-02-26 18:04:43 <1> laptopneu(5918) [ui] YUILoader.cc(deleteUI):236 Shutting down UI
2024-02-26 18:04:43 <1> laptopneu(5918) [qt-ui] YQUI.cc(~YQUI):302 Closing down Qt UI.
2024-02-26 18:04:43 <3> laptopneu(5918) [ui] YUI.cc(~YUI):96 shutdownThreads() was never called!
2024-02-26 18:04:43 <3> laptopneu(5918) [ui] YUI.cc(~YUI):97 shutting down now - this might segfault
Comment 1 Stefan Hundhammer 2024-02-26 17:33:39 UTC
I just updated my TW VM to the latest versions with 'sudo zypper dup' and tried this, and it worked fine for me.

So please move away any old y2log* files from /var/log/YaST2 and start this again with Y2DEBUG=1 and then attach y2logs generated with the supplied 'save_y2logs' script.

  xhost +
  sudo Y2DEBUG=1 yast2 users
  sudo save_y2logs


And as I am sure you found out, pasting any log file to Bugzilla only makes Bugzilla destroy all formatting with a result that is very hard to read.

But what we really need for YaST bug reports is the full y2logs tarball; 'save_y2logs' grabs some more information than just the lone /var/log/YaST/y2log.
Comment 2 hui 2024-02-26 17:53:02 UTC
Created attachment 873011 [details]
y2log tarball
Comment 3 hui 2024-02-26 17:59:32 UTC
(In reply to Stefan Hundhammer from comment #1)
> I just updated my TW VM to the latest versions with 'sudo zypper dup' and
> tried this, and it worked fine for me.
The problem does not occur in a VM (Virtualbox for me) but only on bare metal...
Comment 4 Stefan Hundhammer 2024-02-26 22:44:01 UTC
(In reply to hui from comment #3)
> The problem does not occur in a VM (Virtualbox for me) but only on bare metal...

That would  be *very* strange. It would be plausible for a kernel driver, but not for a YaST module.
Comment 5 Stefan Hundhammer 2024-02-27 14:20:53 UTC
From the y2logs tarball:


YaST users startup:

> 18:48:07  [Ruby] bin/y2start(<main>):22 y2base called with ["users", "ncurses", "-name", "YaST2", "-icon", "yast"]
...
...
> 18:48:07  [libycp] pathsearch.cc(find):307 trying /usr/share/YaST2/modules/Users.pm
> 18:48:07  [libycp] pathsearch.cc(find):310 ... success
> 18:48:07  [Y2Perl] Y2PerlComponent.cc(Y2PerlComponent):35 Creating Y2PerlComponent
> 18:48:07  [liby2] Y2ComponentBroker.cc(getNamespaceComponent):173 Component 0x55d5b865e7c0 used for namespace Users
> 18:48:07  [libycp] Import.cc(import):101 Component found: perl
> 18:48:07  [libycp] pathsearch.cc(find):307 trying /y2update/modules/Users.pm
> 18:48:07  [libycp] pathsearch.cc(find):307 trying /root/.yast2/modules/Users.pm
> 18:48:07  [libycp] pathsearch.cc(find):307 trying /usr/share/YaST2/modules/Users.pm
> 18:48:07  [libycp] pathsearch.cc(find):310 ... success
> 18:48:07  [Y2Perl] YPerl.cc(fixupLocale):151 Switching to the global locale
> 18:48:07  [Y2Perl] YPerl.cc(fixupLocale):161 locale:  de_DE.UTF-8
> 18:48:07  [Y2Perl] YPerl.cc(fixupLocale):162 codeset: UTF-8
> 18:48:07  [-e] YaPI is deprecated, do not use it anymore! It will be removed soon.


- NOTHING ?!? -


YaST shutdown:

> 18:48:07  [Pkg] Y2CCPkg.cc(~Y2CCPkg):64 ~Y2CCPkg
> 18:48:07  [Pkg] PkgModule.cc(destroy):101 Deleting PkgModule object...
> 18:48:07  [Pkg] Callbacks.cc(~CallbackHandler):1925 Deleting callback handler
> 18:48:07  [agent-system] SystemAgent.cc(remove_directory):99 Removing temporary file /tmp/YaST2-23967-tTOSkj
> 18:48:07  [ui] YUILoader.cc(deleteUI):236 Shutting down UI
> 18:48:07  [ncurses] YNCursesUI.cc(~YNCursesUI):126 Stop YNCursesUI
> 18:48:07  [ui] YUI.cc(~YUI):96 shutdownThreads() was never called!
> 18:48:07  [ui] YUI.cc(~YUI):97 shutting down now - this might segfault
> 18:48:07  [ui] YUI.cc(terminateUIThread):256 Sending shutdown message to UI thread
> 18:48:07  [ui] YUI.cc(uiThreadMainLoop):380 Shutting down UI main loop
> 18:48:07  [ui] YUI.cc(terminateUIThread):263 UI thread shut down correctly
> 18:48:07  [ncurses] NCurses.cc(~NCurses):145 Shutdown NCurses...
> 18:48:07  [ncurses] NCurses.cc(~NCurses):164 NCurses down
> 18:48:07  [Y2Ruby] binary/Y2RubyComponent.cc(~Y2RubyComponent):45 Destroying Y2RubyComponent
> 18:48:07  [Y2Ruby] binary/YRuby.cc(~YRuby):117 Shutting down ruby interpreter.
> 18:48:07  [Y2Perl] YPerl.cc(destroy):185 Shutting down embedded Perl interpreter.
Comment 6 Stefan Hundhammer 2024-02-27 14:33:09 UTC
Created attachment 873047 [details]
nohup.out from the y2logs tarball

%  ls -l nohup.out 
-rw-r--r-- 1 sh users 1629 26. Feb 18:04 nohup.out


It looks like there were Perl errors while trying to compile the Users.pm YaST module:

> Attempt to reload constant.pm aborted (#1)
>     (F) You tried to load a file with use or require that failed to
>     compile once already.  Perl will not try to compile this file again
>     unless you delete its entry from %INC.  See "require" in perlfunc and
>     "%INC" in perlvar.
> .    
> Compilation failed in require at
>         /usr/lib/perl5/5.38.2/x86_64-linux-thread-multi/Data/Dumper.pm line 20 (#2)
>     (F) Perl could not compile a file specified in a require statement.
>     Perl uses this generic message when none of the errors that it
>     encountered were severe enough to halt compilation immediately.
> .    
> BEGIN failed--compilation aborted at
>         /usr/lib/perl5/5.38.2/x86_64-linux-thread-multi/Data/Dumper.pm line 20 (#3)
>     (F) An untrapped exception was raised while executing a BEGIN
>     subroutine.  Compilation stops immediately and the interpreter is
>     exited.
> .    
> Compilation failed in require at /usr/share/YaST2/modules/Users.pm line 43 (#2)
> BEGIN failed--compilation aborted at /usr/share/YaST2/modules/Users.pm line 43 (#3)
> Compilation failed in require (#2)
> BEGIN failed--compilation aborted (#3)
> Uncaught exception from user code:
>         Attempt to reload constant.pm aborted.
>         Compilation failed in require at /usr/lib/perl5/5.38.2/x86_64-linux-thread-multi/Data/Dumper.pm line 20.
>         BEGIN failed--compilation aborted at /usr/lib/perl5/5.38.2/x86_64-linux-thread-multi/Data/Dumper.pm line 20.
>         Compilation failed in require at /usr/share/YaST2/modules/Users.pm line 43.
>         BEGIN failed--compilation aborted at /usr/share/YaST2/modules/Users.pm line 43.
>         Compilation failed in require.
>         BEGIN failed--compilation aborted.
Comment 7 Stefan Hundhammer 2024-02-27 14:37:11 UTC
It looks very much like the problems came from Perl system files:

> Compilation failed in require at
>   /usr/lib/perl5/5.38.2/x86_64-linux-thread-multi/Data/Dumper.pm line 20 (#2)
Comment 8 Stefan Hundhammer 2024-02-27 14:50:53 UTC
AFAICS Perl simply exits when it gets that compile error, and so the YaST UI doesn't get a chance to shut down its threads properly; that's why it warns "this might segfault". Luckily, it shuts down properly instead.
Comment 9 Stefan Hundhammer 2024-02-27 15:08:57 UTC
*** Bug 1220460 has been marked as a duplicate of this bug. ***
Comment 10 Stefan Hundhammer 2024-02-27 15:50:20 UTC
Finally, I found a way to reproduce this:

  LANG=de_DE.utf8 yast2 users

(as root)

And I also get the high CPU usage with the Zypp-Main process mentioned in bug #1220460.
Comment 11 Stefan Hundhammer 2024-02-27 15:52:21 UTC
With

  LANG=en_US.utf8 yast2 users

I don't get the problem.

@hui: Can you try that?
Comment 12 hui 2024-02-27 16:24:19 UTC
With "LANG=en_US.utf8 yast2 users" the user module starts. But with my german locale, the module wont start...
Comment 13 hui 2024-02-27 17:39:20 UTC
That seems the reason why my VB installation is not affected as i use englisch localization there. All bare metal installations have german localization…
Comment 14 Stefan Hundhammer 2024-02-27 19:03:34 UTC
OK, thanks; that's good to know. At least now we have a workaround, even if it's an inconvenient one.
Comment 15 Stefan Hundhammer 2024-02-28 14:46:01 UTC
In the case when I don't get this crash, I get those Perl warnings instead:

root@balrog-tw-dev:~ # LANG=en_DE.utf8 yast2 users

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = "en_DE.utf8",
	LC_ALL = (unset),
	LC_CTYPE = "en_US.utf8",
	LANG = "en_DE.utf8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Comment 16 Stefan Hundhammer 2024-02-28 16:08:17 UTC
It looks like our recent workaround for a Perl bug that messes up the locale environment of a process using an embedded Perl interpreter caused this: After reverting that change, 'yast2 users' doesn't crash anymore (with a Zypp-main process idle looping with 100% CPU usage).

The workaround:

  https://github.com/yast/yast-perl-bindings/pull/31
  for bug #1216689 which was a symptom of
  bug #1220195


Before I revert that workaround completely and reintroduce bug #1216689, I'll try to go for a little less aggressive fix.
Comment 17 Stefan Hundhammer 2024-03-06 14:25:24 UTC
PR to revert the last change that most likely caused this:

https://github.com/yast/yast-perl-bindings/pull/32


This will bring bug #1216689 back (reopening now) until there is a real fix for the locale problem.
Comment 18 Stefan Hundhammer 2024-03-06 15:25:24 UTC
SR to Factory / TW:

  https://build.opensuse.org/request/show/1155609

This will become available with yast2-perl-bindings-5.0.2.
Please reopen if that does not fix this problem.