|
Bugzilla – Full Text Bug Listing |
| Summary: | yast cli opens curses UI and pipes output to the log | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | David Mulder <david.mulder> |
| Component: | YaST2 | Assignee: | E-mail List <yast2-maintainers> |
| Status: | RESOLVED FIXED | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | gboiko, jreidinger, maint-coord |
| Version: | Current | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | Debug output from running `yast samba-client help` | ||
If I pre-install all the dependencies, then the command runs as expected, but the output all ends up in the logs. If I don't pre-install dependencies, then the GUI hangs (showing nothing) for a few moments while dependencies get installed, then completes the command as expected (but still output goes to the logs). OK, I found what cause that regression. Autologin module checks if package is installed during import, where command line is not yet set: https://github.com/yast/yast-pam/commit/94edceac8013cdd6d7b58424538cdf5c7d2cbed4 IIRC my commit that Josef found in comment #2 was a fix for not enabling auto-login for XDM because XDM does not support that. What it does is it checks if any of the display managers that support that is or will be installed or if any package provides the "autologin-support" capability. fixed by https://github.com/yast/yast-pam/pull/24 and https://github.com/yast/yast-pam/pull/23 thanks for report. Do you think it is worth maintenance update? (In reply to Josef Reidinger from comment #4) > fixed by https://github.com/yast/yast-pam/pull/24 and > https://github.com/yast/yast-pam/pull/23 thanks for report. > > Do you think it is worth maintenance update? I think we can have an update for that, at least for the products under general support that are affected. (In reply to Gustavo Pichorim Boiko from comment #5) > (In reply to Josef Reidinger from comment #4) > > fixed by https://github.com/yast/yast-pam/pull/24 and > > https://github.com/yast/yast-pam/pull/23 thanks for report. > > > > Do you think it is worth maintenance update? > > I think we can have an update for that, at least for the products under > general support that are affected. OK, MR send as 228733 SUSE-RU-2020:3337-1: An update that has one recommended fix can now be installed. Category: recommended (moderate) Bug References: 1177632 CVE References: JIRA References: Sources used: SUSE Linux Enterprise Module for Basesystem 15-SP2 (src): yast2-pam-4.2.5-3.3.2 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination. openSUSE-RU-2020:1973-1: An update that has one recommended fix can now be installed. Category: recommended (moderate) Bug References: 1177632 CVE References: JIRA References: Sources used: openSUSE Leap 15.2 (src): yast2-pam-4.2.5-lp152.2.3.1 |
Created attachment 842578 [details] Debug output from running `yast samba-client help` When attempting to use the cli for samba-client, the ncurses gui briefly opens, then closes, and there is no command line output. Inspecting the log shows that the cli output is being output to the log (due to the GUI running). This could possibly be due to it requesting a package install and it not being handled properly as a cli command.