On Sat, Sep 24, 2005, Matthias Kurz wrote:

>   OpenPKG CVS Repository
>   http://cvs.openpkg.org/
>   ____________________________________________________________________________
> 
>   Server: cvs.openpkg.org                  Name:   Matthias Kurz
>   Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
>   Module: openpkg-src                      Date:   24-Sep-2005 14:12:30
>   Branch: HEAD                             Handle: 2005092413122700
> 
>   Modified files:
>     openpkg-src/openpkg     HISTORY openpkg.spec
> 
>   Log:
>     more IRIX 6.x support

I saw activity, so i released what i have.

There is a tunable parameter (man systune) that should be checked:
"restricted_chown" should be 1, else builds have to be done as root.
When restricted_chown is not set, then the rpm command that is executed
in the bootstrap phase is able to change the ownership of the files
to the maintenance user - and has no longer the permission to access
the files. A binary bootstrap package is created, but it is corrupted.

Maybe one should also check the setting of ncargs, i remember that
this caused problems in the past, because the default is quite low.

One nasty problem remains here. The  "rpm --qf" command in aux.wrapbin.sh
under "fixating OpenPKG instance filesystem hierarchy" outputs only
exactly 4096 bytes. Maxbe there is a missing flush() or so. It does not
happen under Solaris.
This problem causes that not all file permissions are corrected after
initial installation of the binary package. A workaround is to install
it a second time using the generated openpkg-*.rpm with the command
"%prefix/bin/openpkg rpm --force -Uvh openpkg-*.rpm".
Maybe i look into this again, later. Currently i have more important
things to do.


   (mk)

-- 
Matthias Kurz; Fuldastr. 3; D-28199 Bremen; VOICE +49 421 53 600 47
  >> Im prämotorischen Cortex kann jeder ein Held sein. (bdw) <<
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   openpkg-dev@openpkg.org

Reply via email to