Bug 49641 - up2date should report all operating system errors
Summary: up2date should report all operating system errors
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: up2date
Version: 4.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Adrian Likins
QA Contact: Jay Turner
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-07-22 16:57 UTC by filos2
Modified: 2015-01-07 23:48 UTC (History)
1 user (show)

(edit)
Clone Of:
(edit)
Last Closed: 2002-05-15 20:45:46 UTC


Attachments (Terms of Use)

Description filos2 2001-07-22 16:57:49 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.4.3-12 i686)

Description of problem:
When an installation fails due to an operating system error, up2date
doesn't report
what the error was: it just dies.

How reproducible:
Always

Steps to Reproduce:
1. chattr +i /bin/login (this makes the system more secure)
2. run up2date and upgrade to util-linux-2.10s-13.7i386.rpm

	

Actual Results:  up2date dies with no indication why

Expected Results:  up2date should have reported the operating system error
message:
"/bin/login could not be renamed to /bin/login-RPMDELETE"

Additional info:

Comment 1 Adrian Likins 2001-08-02 21:03:48 UTC
I'll take a look.

up2date should be made to at least reported that there was a 
an rpm error, and what that error was if possible. 

This could get interesting...

Comment 2 Adrian Likins 2002-05-15 20:45:40 UTC
current versions (7.3..) of the client should be better about this. The
librpm error reporting was improved, and up2date was modified to
make use of the extra info.

Comment 3 Josef Komenda 2002-07-16 15:25:06 UTC
Latest version messages errors to user. Closing


Note You need to log in before you can comment on or make changes to this bug.