changing mock directory

Enrico Scholz enrico.scholz at informatik.tu-chemnitz.de
Fri Jul 29 17:47:58 UTC 2005


skvidal at phy.duke.edu (seth vidal) writes:

>> * execute mock in an own namespace; so you do not have to care about
>>   unmounting
>> * do the mounting nativly (call 'mount(2)' instead of exec(2) the 'mount'
>>   command)
>
>
>> * for all other commands, do just an 'execv(argv[1], argv+1)' in
>>   mock-helpers main() routine
>> 
>> Patches for the first two points are existing already.
>
> where?

http://ensc.de/fedora/mock-namespace.diff

(the native mounting was done for a new usecase for environments without
CAP_MKNOD only; but proc-/devpts-mounting can be done similarly as it is
not more than a

| mount("none", destpath, "proc", 0, 0)
)



Enrico

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 480 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-maintainers/attachments/20050729/101449ec/attachment.sig>


More information about the Fedora-maintainers mailing list