Bug 122620 - yum won't gracefully restart if interrupted during package install
Summary: yum won't gracefully restart if interrupted during package install
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-05-06 12:53 UTC by Tom Wood
Modified: 2014-01-21 22:49 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-07-26 13:26:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
The full transcript of the sudo yum and su - yum sessions (19.76 KB, text/plain)
2004-05-06 12:54 UTC, Tom Wood
no flags Details

Description Tom Wood 2004-05-06 12:53:06 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040422

Description of problem:
Running yum via sudo generated errors of the type 

warning: setexeccon(user_u:user_r:rpm_script_t) fails from context
"user_u:user_r:user_sudo_t": Invalid argument

which is a separate issue.  But when breaking out of this yum run,
switching user to root, and rerunning "yum -y update", yum states that
there are no actions to take.


Version-Release number of selected component (if applicable):
yum-2.0.7-0.20040416

How reproducible:
Always

Steps to Reproduce:
1. sudo yum -y update
2. Observe problem related to sudo'ing the yum update.
3. Press <ctrl>-c to break out of yum during package installation.
4. su -
5. yum -y update
6. Watch in amazement as there's nothing to do, even though the
previous yum job isn't finished.
    

Actual Results:  yum didn't finish.

Expected Results:  yum should have installed the rest of the packages.

Additional info:

Comment 1 Tom Wood 2004-05-06 12:54:54 UTC
Created attachment 100040 [details]
The full transcript of the sudo yum and su - yum sessions

Comment 2 Jeff Johnson 2004-05-07 21:07:45 UTC

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

Comment 3 Tom Wood 2004-05-07 22:24:17 UTC
This is not a duplicate of 122624.  This is a situation where yum
doesn't pick up gracefully when interrupted.  yum wasn't finished with
its previous run when interrupted.

Comment 4 Jeff Johnson 2004-07-26 13:26:35 UTC
Then this is a feature request, and the yum package will
be fixed when the maintainer decides if/when to add restartability
to yum.


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