Bug 1092612 - /usr/bin/ is listed before /usr/sbin
Summary: /usr/bin/ is listed before /usr/sbin
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: mock
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Clark Williams
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-29 14:54 UTC by Igor Gnatenko
Modified: 2014-05-16 10:48 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-05-16 10:48:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Igor Gnatenko 2014-04-29 14:54:17 UTC
Description of problem:


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


How reproducible:


Steps to Reproduce:
1.$ mock -r fedora-rawhide-x86_64 --rebuild --shell --no-cleanup-after --no-clean ./SRPMS/libclc-0.0.1-3.20140429git4341094.fc21.src.rpm 

Actual results:
ERROR: [Errno 1] Operation not permitted

ERROR: The most common cause for this error is trying to run /usr/sbin/mock as an unprivileged user.
ERROR: Check your path to make sure that /usr/bin/ is listed before /usr/sbin, or manually run /usr/bin/mock to see if that fixes this problem.


Expected results:
All ok the same with /usr/bin/mock

Additional info:
using /usr/bin/mock instead of mock works ok.

Comment 1 Ankur Sinha (FranciscoD) 2014-05-05 00:47:04 UTC
Ray pointed out that this could be caused by a gdm bug that has been fixed in this commit:

https://git.gnome.org/browse/gdm/commit/?id=c9bebed00008724600aef6c401f21245f7678e45

Comment 2 Miroslav Suchý 2014-05-16 10:41:44 UTC
I do not see this problem in KDE. Igor, can you confirm that this happen to you when do not use GDM e.g when you log in using plain terminal on VT != 1 ?

Comment 3 Igor Gnatenko 2014-05-16 10:48:32 UTC
(In reply to Miroslav Suchý from comment #2)
> I do not see this problem in KDE. Igor, can you confirm that this happen to
> you when do not use GDM e.g when you log in using plain terminal on VT != 1 ?

Yep. It works.


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