Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 220889 - Review Request: fakechroot - Gives a fake chroot environment
Summary: Review Request: fakechroot - Gives a fake chroot environment
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Mamoru TASAKA
QA Contact: Fedora Package Reviews List
URL:
Whiteboard:
Depends On:
Blocks: FE-ACCEPT
TreeView+ depends on / blocked
 
Reported: 2006-12-28 13:00 UTC by Axel Thimm
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-01-01 21:12:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Axel Thimm 2006-12-28 13:00:13 UTC
Spec URL: http://dl.atrpms.net/all/fakechroot.spec
SRPM URL: http://dl.atrpms.net/all/fakechroot-2.5-8.at.src.rpm
Description:
Gives a fake chroot environment.

Comment 1 Parag AN(पराग) 2006-12-28 15:12:37 UTC
Kindly remove .a and .la files from installation

Comment 2 Axel Thimm 2006-12-29 12:25:59 UTC
Spec URL: http://dl.atrpms.net/all/fakechroot.spec
SRPM URL: http://dl.atrpms.net/all/fakechroot-2.5-9.at.src.rpm

* Thu Dec 28 2006 Axel Thimm <Axel.Thimm> - 2.5-9
- Don't build static lib.
- Exclude libtool lib.


Comment 3 Axel Thimm 2006-12-29 18:12:41 UTC
%description is a bit terse, please assume the %description reads:

   fakechroot runs a command in an environment were is additionally possible to
   use the chroot(8) call without root privileges. This is useful for allowing 
   users to create their own chrooted environment with possibility to install
   another packages without need for root privileges.

E.g. this and fakeroot are useful

a) for mock and friends for students w/o root access, as well as
b) for hardening buildsystems (impossible to gain root privileges by injecting
   malicious packages into build hosts)

There is no technical dependency between fakeroot and fakechroot, but it makes
most sense to use both together for faking chroot calls and setting up faked
chroots.


Comment 4 Mamoru TASAKA 2006-12-31 18:53:57 UTC
Well, a very quick check:

* Please add a license documentation.
  Note: LICENSE documentation says that this is licensed under
  LGPL, not GPL.
* Can the files under test/ can be used for %check?
* What are other scripts under scripts/ directories?
* %{_libdir}/fakechroot/ is not owned by any packages.

Comment 5 Axel Thimm 2007-01-01 14:31:00 UTC
Spec URL: http://dl.atrpms.net/all/fakechroot.spec
SRPM URL: http://dl.atrpms.net/all/fakechroot-2.5-11.at.src.rpm

* Sun Dec 31 2006 Axel Thimm <Axel.Thimm> - 2.5-11
- Add %%{_libdir}/fakechroot to %%files.
- Fix license (is LGPL, not GPL).
- Add commented %%check (currently broken).
- Add ldd.fake and save/restoremode.sh to %%doc

* Fri Dec 29 2006 Axel Thimm <Axel.Thimm> - 2.5-10
- Extend the %%description a bit.



Comment 6 Mamoru TASAKA 2007-01-01 17:56:11 UTC
Well,

A. From http://fedoraproject.org/wiki/Packaging/Guidelines
=  Licensing -- is not LGPL and this is correct

* Use rpmlint
-------------------------------------------------
W: fakechroot doc-file-dependency /usr/share/doc/fakechroot-2.5/ldd.fake
/usr/bin/perl

-------------------------------------------------
   Well.. I understood first when I read the following.
-------------------------------------------------
doc-file-dependency :
An included file marked as %doc creates a possible additional dependency in
the package.  Usually, this is not wanted and may be caused by eg. example
scripts with executable bits set included in the package's documentation.
-------------------------------------------------

   For this package, 
-------------------------------------------------
[tasaka1@localhost ~]$ rpm -q --requires fakechroot
/bin/sh  
/usr/bin/perl  <- THIS
libc.so.6  
libc.so.6(GLIBC_2.0)  
libc.so.6(GLIBC_2.1.1)  
libc.so.6(GLIBC_2.1.3)  
libc.so.6(GLIBC_2.3.4)  
libc.so.6(GLIBC_2.4)  
libdl.so.2  
libdl.so.2(GLIBC_2.0)  
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rtld(GNU_HASH)  
--------------------------------------------------
    and /usr/bin/perl is actually not necessary.
    When I all changed the permission of %doc files
    to 0644,
--------------------------------------------------
[tasaka1@localhost i386]$ rpm -qp --requires fakechroot-2.5-11.1.i386.rpm 
/bin/sh  
libc.so.6  
libc.so.6(GLIBC_2.0)  
libc.so.6(GLIBC_2.1.1)  
libc.so.6(GLIBC_2.1.3)  
libc.so.6(GLIBC_2.3.4)  
libc.so.6(GLIBC_2.4)  
libdl.so.2  
libdl.so.2(GLIBC_2.0)  
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rtld(GNU_HASH)  
----------------------------------------------------
    and the dependency for /usr/bin/perl disappears.

    Change the permission of %doc files to 0644.
    (However, I think this is somewhat bug of rpmbuild?)

B. http://fedoraproject.org/wiki/Packaging/ReviewGuidelines
   = This is okay, except for written in A.

Please fix the issues in A. Other things are okay.
--------------------------------------------------------
   This package (fakechroot) is APPROVED by me.

Comment 7 Mamoru TASAKA 2007-01-01 18:01:47 UTC
(In reply to comment #6)
> A. From http://fedoraproject.org/wiki/Packaging/Guidelines
> =  Licensing -- is not LGPL and this is correct

I meant "Licensing -- is now LGPL and this is correct"....

Comment 8 Axel Thimm 2007-01-01 21:12:58 UTC
Thanks for the review! Final changelog entry:

* Mon Jan  1 2007 Axel Thimm <Axel.Thimm> - 2.5-12
- Remove executable bits from scripts in documentation.



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