Bug 1227742

Summary: Problem with sudo zypper while redirecting the output to a logfile.
Product: [openSUSE] openSUSE Distribution Reporter: Guenter Stoehr <g.stoehr>
Component: libzyppAssignee: E-mail List <zypp-maintainers>
Status: NEW --- QA Contact: E-mail List <qa-bugs>
Severity: Minor    
Priority: P5 - None    
Version: Leap 15.6   
Target Milestone: ---   
Hardware: Other   
OS: openSUSE Leap 15.5   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: See comment

Description Guenter Stoehr 2024-07-14 07:49:04 UTC
Created attachment 876043 [details]
See comment

After upgrading from Leap 15.5 to 15.6 I realized, that my zypper-update-script won't work any longer. I couldn't enter my choice of what zypper should do.
I analized the situation and found out, that zypper seems not to get the input any more.

Find attached a tar.gz-archive with 5 files:
1. zypper-su.sh        zypper rm eog as root: OK
2. zypper-su.log       the logfile of ./zypper-su.sh
3. zypper-sudo.sh      zypper rm eog as sudo: Not OK
4. zypper-sudo.log     the logfile of ./zypper-sudo.sh
5. zypper-su-sudo.log  the logfileof the complete session

If I omit the redirection to the logfile, zypper-sudo.sh works fine.