https://bugzilla.novell.com/show_bug.cgi?id=436963 Summary: zypper takes EOF from stdin as "Yes" Product: openSUSE 11.1 Version: Beta 3 Platform: All OS/Version: Linux Status: NEW Severity: Major Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: max@novell.com QAContact: qa@suse.de Found By: Development When running zypper with stdin being /dev/null, it skips over the "Continue?" question interpreting the EOF as if the user had given the default answer. This situation can easily happen when the list of packages to install or uninstall comes out of a pipe and is passed to zypper via xargs, e.g.: $ rpm -qa | grep kde | xargs zypper rm In this case the user has no chance to verify the actual list of pacages zypper wants to remove and refine the call if he is not pleased with it. I think EOF on stdin when a safety question was asked should at least lead the zypper process to exit immediately with a meaningful error message instead of assuming that the default answer was given. A better and more user friendly alternative would be that if the process has a controlling tty, zypper opens /dev/tty and reads the user input from there. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.