Bug 749979

Summary: Su broken in mock shell
Product: [Fedora] Fedora Reporter: Susi Lehtola <susi.lehtola>
Component: mockAssignee: Clark Williams <williams>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: bochecha, mebrown, williams
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 749722 Environment:
Last Closed: 2011-10-29 15:39:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 749722    
Bug Blocks:    

Description Susi Lehtola 2011-10-29 11:17:50 UTC
+++ This bug was initially created as a clone of Bug #749722 +++
Description of problem:
The update notice says:
  Hopefully doing this doesn't break existing usage of --chroot and
  --shell but if it does please report it as a BZ so we can fix it.

There you go, the update breaks my existing usage of --shell. :)

**

I often debug failed builds in a mock chroot. However, I can no more go into the chroot, since su asks for the chroot root password:

<mock-chroot>[mockbuild@flxray1 /]$ su - mockbuild
Password: 

$ rpm -q mock
mock-1.1.16-1.fc15.noarch

Comment 1 Clark Williams 2011-10-29 15:39:04 UTC
this is the same as 749722

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