Mailinglist Archive: opensuse-packaging (216 mails)
| < Previous | Next > |
Re: [opensuse-packaging] Re: newbie alert - why do I have to be root to run a build?
- From: Yamaban <foerster@xxxxxxxx>
- Date: Tue, 15 Mar 2011 02:31:39 +0100 (CET)
- Message-id: <alpine.LFD.2.02.1103150226240.8345@rhlx01.hs-esslingen.de>
On Tue, 15 Mar 2011 02:01, Cristian Rodríguez <crrodriguez@...> wrote:
Just an idea: Wouldn't it make sense to publish a working build environment with all the tools needed as a virtual machine?
Maybe via SUSE Studio? One for each supported OSS version?
With already 'installed' and activated repos for obs/system updates?
IMHO this woud it make easy for a newbie and even a more experienced,
but seldom packaging user to use OBS with all the needed tools without
contaminating his/her working system with packages not needed for daily
operation.
Just an Idea, but it could make life as a packager easier.
... Or does such an vitual machine image already exist, and was 'just'
not anounced loudly and clearly enough ? (like in the wiki under Packaging and under rpm-building)
--
Cheers, Yamaban out.
El 14/03/11 11:25, Marcus Rueckert escribió:
On 2011-03-14 15:19:36 +0100, Juergen Weigert wrote:
On Mar 14, 11 10:47:27 -0300, Cristian Rodríguez wrote:
Going through this step by step, when I do "osc build openSUSE_Factory",
I'm asked to su to root - why? (it seems unnecessary).
You need CAP_SYS_CHROOT , only root has that capability by default.
fakechroot(1) comes to mind. Would that help?
no we really need root permissions
And there is also no jail(2) implemented in linux, which may be useful
for this task.
Anyway, best advice is Adrian's . try building in KVM instead.
Just an idea: Wouldn't it make sense to publish a working build environment with all the tools needed as a virtual machine?
Maybe via SUSE Studio? One for each supported OSS version?
With already 'installed' and activated repos for obs/system updates?
IMHO this woud it make easy for a newbie and even a more experienced,
but seldom packaging user to use OBS with all the needed tools without
contaminating his/her working system with packages not needed for daily
operation.
Just an Idea, but it could make life as a packager easier.
... Or does such an vitual machine image already exist, and was 'just'
not anounced loudly and clearly enough ? (like in the wiki under Packaging and under rpm-building)
--
Cheers, Yamaban out.
| < Previous | Next > |