From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manolis Ragkousis Subject: Re: [GSoC] Porting GuixSD to GNU Hurd draft Date: Thu, 24 Mar 2016 15:55:31 +0200 Message-ID: <56F3F1D3.6000203@gmail.com> References: <20160206113802.GA17867@thebird.nl> <87mvre2eyz.fsf@gnu.org> <56BC7496.8020409@gmail.com> <8760x5gpif.fsf@inria.fr> <20160302101227.GF2815@var.bordeaux.inria.fr> <87a8mgefcy.fsf@gnu.org> <20160302220654.GC3037@var.home> <56EFE480.6020007@gmail.com> <878u19wbvt.fsf@gnu.org> <20160323165550.2708.70954@thinkbox.jade-hamburg.de> <874mbw2eoi.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: <874mbw2eoi.fsf@gnu.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-hurd-bounces+gnu-bug-hurd=m.gmane.org@gnu.org Sender: bug-hurd-bounces+gnu-bug-hurd=m.gmane.org@gnu.org To: =?UTF-8?Q?Ludovic_Court=c3=a8s?= , Justus Winter <4winter@informatik.uni-hamburg.de> Cc: guix-devel@gnu.org, bug-hurd@gnu.org, Samuel Thibault List-Id: guix-devel.gnu.org Hey On 03/24/16 15:22, Ludovic Courtès wrote: > So, let’s say PID isolation will be optional, and we can always adjust > later on. Sounds good? > > Manolis, make sure to read about how the various Hurd servers provides > these parts of POSIX personality: file systems, UIDs, PIDs, networking, > and so on. Already started. :-) > As far as code integration code, I think we won’t bother syncing this > work with nix-daemon; guix-daemon has already diverged, and for instance > it does not have OS X sandbox support. > > You’ll have to arrange to have the Hurd-specific bits in a separate > file, so that ‘#ifdef HURD’ are not scattered all over the place. > > This is C(++) as you know. WDYT, Manolis? I have to start studying the daemon's code more. From what I know the part that handles builds is in libstore/build.cc. I will start there. I think I can do it. >>> The main question is whether you should implement build isolation in >>> guix-daemon, in which case that would leave little time for the GuixSD >>> parts. I think I would rather let you focus on the GuixSD stuff as you >>> wrote, but I’d like to hear what the Hurd folks think. >> >> I consider isolation more important. > > OK. Isolation first it is then. > So, Manolis, what about reframing the agenda such that porting > guix-daemon to GNU/Hurd comes first (I’d consider it roughly half of the > programming effort), followed by GuixSD stuff? > Current objectives then: 1) Achieve build isolation in the daemon on the Hurd. 2) Modify Guix so it can produce a working image, while isolating any cases of Linux assumptions. 3) Boot to GuixSD Ludo, Justus do you agree with this? Manolis