Bug 896721 - Fedup-cli fails with OSError: [Errno 2] No such file or directory
Summary: Fedup-cli fails with OSError: [Errno 2] No such file or directory
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: fedup
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Will Woods
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-17 20:43 UTC by Jim Wilson
Modified: 2013-06-23 05:56 UTC (History)
2 users (show)

Fixed In Version: fedup-0.7.3-5.fc17
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-05-15 03:30:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Tail of fedupdebug.log (2.07 KB, application/octet-stream)
2013-01-17 20:43 UTC, Jim Wilson
no flags Details

Description Jim Wilson 2013-01-17 20:43:44 UTC
Created attachment 680513 [details]
Tail of fedupdebug.log

Description of problem:

"fedup-cli --network 18 --debuglog fedupdebug.log" ends badly with Python stack trace, duplicated in fedupdebug.log.  Tail of 7000-line log file attached later.

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

"fedup --version" hangs.  "rpm -q fedup" sez: fedup-0.7.2-1.fc17.noarch.  Does that help?

How reproducible:

On my Atom box, run fedup and it works.
On wife's identical box, run fedup and it barfs.

Steps to Reproduce:
1.  Damifino
  
Actual results:

Python barf.

Expected results:

Silent operation w.o. errors in log.  Reboot, wait a few hours and it works!

Comment 1 Will Woods 2013-01-24 02:55:59 UTC
    call(["selinuxenabled"]) ... 
    OSError: [Errno 2] No such file or directory

Looks like your system doesn't have the "selinuxenabled" command. If that's the case, do:

  yum install libselinux-utils

and the upgrade should be able to proceed.

There should be a fedup bugfix release that will run without the "selinuxenabled" command soon.

Does that fix the problem?

Comment 2 Jim Wilson 2013-01-24 15:30:02 UTC
Alas, libselinux-utils was installed on both machines:

$ rpm -q libselinux-utils
libselinux-utils-2.1.12-7.fc18.x86_64
$ which selinuxenabled
/usr/sbin/selinuxenabled

Identical (similar) results on either machine.

Comment 3 Jim Wilson 2013-01-24 16:20:59 UTC
Call off the hounds (at least for now).

On my machine, to run fedup-cli, I did a simple 'su' to escalate my privileges.  It worked because /usr/sbin was somehow in my path.

On my wife's machine, I used the same procedure, but /usr/sbin had gone missing from her path.

The 'which selinuxenabled' above was done as me, logged into her machine.  Logged in as her, it didn't work.

A simple 'su -' before 'fedup-cli ...' did the trick.  Fortunately, the packages were cached and except for 64 packages which must have changed in the interim, no tedious download was required.

Thanks for the hint, and please close this bug as bogus.

Comment 4 Will Woods 2013-01-24 17:51:32 UTC
Thanks for the info - and I'm glad you found a workaround.

Fedup commit 3bec5d4 should also fix this:

  https://github.com/wgwoods/fedup/commit/3bec5d4

It'll be in the next fedup build.

Comment 5 Fedora Update System 2013-01-31 14:46:43 UTC
fedup-0.7.3-0.git20130128.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/fedup-0.7.3-0.git20130128.fc17

Comment 6 Fedora Update System 2013-03-15 23:34:47 UTC
fedup-0.7.3-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/fedup-0.7.3-1.fc17

Comment 7 Fedora Update System 2013-03-17 00:54:42 UTC
Package fedup-0.7.3-1.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing fedup-0.7.3-1.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-3956/fedup-0.7.3-1.fc17
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2013-04-30 14:51:27 UTC
fedup-0.7.3-3.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/fedup-0.7.3-3.fc18

Comment 9 Fedora Update System 2013-04-30 14:55:18 UTC
fedup-0.7.3-3.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/fedup-0.7.3-3.fc17

Comment 10 Fedora Update System 2013-04-30 15:37:45 UTC
fedup-0.7.3-4.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/fedup-0.7.3-4.fc17

Comment 11 Fedora Update System 2013-04-30 15:38:29 UTC
fedup-0.7.3-4.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/fedup-0.7.3-4.fc18

Comment 12 Fedora Update System 2013-04-30 15:39:41 UTC
fedup-0.7.3-4.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/fedup-0.7.3-4.fc19

Comment 13 Fedora Update System 2013-05-15 03:30:02 UTC
fedup-0.7.3-4.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 14 Fedora Update System 2013-06-07 16:43:26 UTC
fedup-0.7.3-5.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/fedup-0.7.3-5.fc17

Comment 15 Fedora Update System 2013-06-08 03:34:45 UTC
fedup-0.7.3-4.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 16 Fedora Update System 2013-06-23 05:56:39 UTC
fedup-0.7.3-5.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.


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