Bug 641936

Summary: zypper does not handle disk full condition gracefully
Product: [openSUSE] openSUSE 11.4 Reporter: Cristian Rodriguez <crrodriguez>
Component: libzyppAssignee: E-mail List <zypp-maintainers>
Status: VERIFIED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Minor    
Priority: P5 - None CC: bwiedemann, crrodriguez, dheidler
Version: Factory   
Target Milestone: ---   
Hardware: All   
OS: openSUSE 11.3   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: No
Marketing QA Status: --- IT Deployment: ---

Description Cristian Rodriguez 2010-09-27 04:31:10 UTC
How to reproduce:

# zypper -R /dev/full in top 

Expected result:
Target initialization failed:
Hard disk Full

Actual result:
Target initialization failed:
Rpm Exception

User need a clue about what's going on.
Comment 1 Bernhard Wiedemann 2011-02-20 21:21:24 UTC
zypper -R /dev/full in top
still does return "Rpm Exception" on current Factory.
Comment 2 Dominik Heidler 2011-04-18 07:49:05 UTC
The -R option describes the root directory, but /dev/full is a device.

zypper would try to find the rpm database at /dev/full/var/lib/rpm which results in an rpm exception.
Comment 3 Dominik Heidler 2011-04-26 15:24:04 UTC
This is a duplicate of bnc#299813

*** This bug has been marked as a duplicate of bug 299813 ***