Bug 1227742 - Problem with sudo zypper while redirecting the output to a logfile.
Summary: Problem with sudo zypper while redirecting the output to a logfile.
Status: NEW
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: libzypp (show other bugs)
Version: Leap 15.6
Hardware: Other openSUSE Leap 15.5
: P5 - None : Minor (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-14 07:49 UTC by Guenter Stoehr
Modified: 2024-07-14 07:49 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
See comment (660 bytes, application/gzip)
2024-07-14 07:49 UTC, Guenter Stoehr
Details

Note You need to log in before you can comment on or make changes to this bug.
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.