[PLUG] centos4.3 rpmbuild not working as normal user

Wil Cooley wcooley at nakedape.cc
Mon Aug 7 17:54:30 UTC 2006


On Mon, 2006-08-07 at 10:49 -0700, Galen Seitz wrote:
> Paul Heinlein <heinlein at madboa.com> wrote:
> 
> > On Mon, 7 Aug 2006, Galen Seitz wrote:
> > 
> > > Paul Heinlein <heinlein at madboa.com> wrote:
> > > 
> > > > Do you still have /var/tmp/rpm-tmp.92486 lying around your 
> > > > filesystem? If so, do the contents look like the script that 
> > > > produced the root-invoked output:
> > > 
> > > The files in /var/tmp are being removed and I don't know how to 
> > > prevent that.
> > 
> > I don't think rpmbuild provides an option for keeping temp files. What 
> > I've typically done is pressed Ctrl-c shortly after the temp script 
> > begins its execution run. The temp file won't be cleaned up if 
> > rpmbuild is killed that way.
> 
> Okay, I caught it with a Ctrl-c.  I had to change to a full build in order
> to catch it.  So the tmp file is empty.  That would explain the failure,
> but now why is the file empty?

I'm guessing you tried 'df /var/tmp'?  Also, I think if you put 'exit 1'
in the appropriate section the tmp file will not be removed (not
verifying this time :)

Wil
-- 
Wil Cooley <wcooley at nakedape.cc>
Naked Ape Consulting, Ltd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.pdxlinux.org/pipermail/plug/attachments/20060807/bd8525c7/attachment.asc>


More information about the PLUG mailing list