Bug 528687 - Allow febootstrap-run to be called by root
Allow febootstrap-run to be called by root
Status: CLOSED UPSTREAM
Product: Fedora
Classification: Fedora
Component: febootstrap (Show other bugs)
rawhide
All Linux
low Severity medium
: ---
: ---
Assigned To: Richard W.M. Jones
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-10-13 07:38 EDT by Alexey Torkhov
Modified: 2009-10-13 09:48 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-10-13 09:48:35 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
patch (736 bytes, patch)
2009-10-13 07:38 EDT, Alexey Torkhov
no flags Details | Diff

  None (edit)
Description Alexey Torkhov 2009-10-13 07:38:18 EDT
Description of problem:
If febootstrap-run called by root on dir that was created by febootstrap, it shows an error: "febootstrap-run: ...: not a root filesystem"

Attached patch, or similar would resolve the problem.

Version-Release number of selected component (if applicable):
febootstrap-2.4-1.fc12.noarch
Comment 1 Alexey Torkhov 2009-10-13 07:38:48 EDT
Created attachment 364575 [details]
patch
Comment 2 Alexey Torkhov 2009-10-13 07:59:14 EDT
There are bug 525778, but my patch is contains better patch as it disables fakeroot run and allows to do 32-on-64 install (with setarch).

Which is not possible without root run according to man page.
Comment 3 Richard W.M. Jones 2009-10-13 08:53:53 EDT
Interesting if you could document how to do 32-on-64
installs somewhere.

I pushed the patch here:

http://git.et.redhat.com/?p=febootstrap.git;a=commit;h=e0948419331d56c8f95fdeba2bca12ed5b5f1270

Any comments on bug 528685?
Comment 4 Richard W.M. Jones 2009-10-13 08:54:20 EDT
(In reply to comment #3)
> Any comments on bug ------?  

I mean, bug 528577.
Comment 5 Alexey Torkhov 2009-10-13 09:22:12 EDT
(In reply to comment #3)
> Interesting if you could document how to do 32-on-64
> installs somewhere.

Command like this works for me from root:
LANG=C i386 febootstrap fedora-11 fedora-test -u updates-released-f11 -i bash

From user or without LANG=C it fails with various errors.
Comment 6 Richard W.M. Jones 2009-10-13 09:48:35 EDT
OK this is upstream, closing now.

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