Old 7th May 2010, 21:29
omonte omonte is offline
Junior Member
Join Date: May 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default rpm build howto

Hello, this is my first try at building rpms. All the documentation out there states to build rpms as a regular user and not root. Now I know why they suggest that, however I'm running into a problem because I need to run the user/groupadd commands during the rpm build process and therefore my rpm build is failing, because I don't have root access. So, apart from running the rpm build as root is there any other way (through the spec file?) to get around this? Thanks.
Reply With Quote
Sponsored Links
Old 8th May 2010, 13:43
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts

Chapter four on http://www.howtoforge.com/virtual-us...dora-12-x86_64 should give you the idea. Please run
and add your regular user.
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Old 10th May 2010, 12:38
topdog topdog is offline
Senior Member
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 154 Times in 151 Posts

You should not be making changes to the system during the rpm build process, the changes should be made during installation of the rpm.
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
rpm build ERROR!! with Fedora 12 - Perfect server ISPConfig3 j.smith19810808 HOWTO-Related Questions 11 30th March 2010 15:30
Courier-imap rpm build failure bholt Installation/Configuration 2 24th September 2009 18:10
Howto build RHEL Workstation MultiOS from CentOS / Scientific Linux defcon3 Suggest HOWTO 0 9th September 2009 17:37
CentOS 4 - Zlib upgrade HowTo cryptic Tips/Tricks/Mods 7 3rd May 2008 22:14
Postfix + VDA patch (doesn't build RPM on server) VelhaChica Server Operation 5 18th October 2007 17:50

All times are GMT +2. The time now is 04:42.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.