From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?B?5a6L5paH5q2m?= Subject: Re: Few notes to 0.8 Date: Sat, 29 Nov 2014 11:57:25 +0000 Message-ID: <87r3wm1aoq.fsf@gmail.com> References: <87ppc7106v.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36744) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xugeu-0004JP-VM for guix-devel@gnu.org; Sat, 29 Nov 2014 06:57:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xugen-0000Ri-I1 for guix-devel@gnu.org; Sat, 29 Nov 2014 06:57:52 -0500 In-Reply-To: <87ppc7106v.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ludovic =?utf-8?Q?Court=C3=A8s?= , Adam Pribyl Cc: guix-devel@gnu.org Ludovic Court=C3=A8s writes: > Adam Pribyl skribis: > >> I have now, with the help of people from this list, running >> installation, with more or less complete config.scm. Guix gets better >> with every version. > > Thanks for the detailed feedback, as usual! > >> 1. even thou networking and lsh-service are configured, networking >> does not start, "deco status networking" prints it is running and is >> e.g. PID 186, but there is no such process... weird as it should >> respawn. > > Are you using =E2=80=98dhcp-client-service=E2=80=99? What does > =E2=80=98ps aux | grep dhc=E2=80=99 show? > >> 2. during boot the system twice sets the console font, each time to a >> different one (this is not always reproducible). Minor. > > Hmm, you mean on the same tty? Yeah, I have issue too, solved by: (initrd (lambda (fs . args) (apply base-initrd fs #:extra-modules '("i915") args))) To get fbcon in initrd before udev-service and console-font-service. I think the 'Console' lines of `dmesg' tell the reason. > >> 3. fstab is not "used", I am not sure how to mount additional file >> systems and swap. > > Right. I used the =E2=80=98mount=E2=80=99 command, and I would use =E2= =80=98swapon=E2=80=99, but yes, > it would be useful to be able to populate /etc/fstab so one can easily > mount a pre-defined file system. > >> 4. I do not have e.g. /root/.guix-profile/sbin in PATH by default, not >> sure why. > > I see, that=E2=80=99s because =E2=80=98root=E2=80=99 is not created with = =E2=80=98useradd=E2=80=99, so it does > not get .bashrc from the Shadow skeletons. > >> 5. still strugglig in how to install a package for global use, >> probably only thru a "guix system reconfigure" otherwise every user >> has to do a "guix package -i" to get the app into his profile. > > To install a package for global use, just add it to the =E2=80=98packages= =E2=80=99 field > of =E2=80=98operating-system=E2=80=99, and run =E2=80=98guix system recon= figure=E2=80=99. > > I find it more convenient to have most packages managed in my user > account. > >> 6. I am still not able to add any service myself, I just put it in my config.scm: (define (console-layout-service layout) (with-monad %store-monad (return (service (document "Setup keyboard layout for console") (provision '(console-layout)) (start #~(lambda _ (system* (string-append #kbd "/bin/loadkeys") #$layout))) (stop #~(const #t)) (respawn? #f))))) > > You mean to add a service definition? > >> if there is at least something like rc.local available, it would be >> fine to have a last resort to start anything upon boot. > > Yeah I=E2=80=99m not sure exactly how to do it. I think the priority sho= uld be > to make the =E2=80=9Cregular=E2=80=9D service mechanism be more usable fo= r non > experts. Any plan for user services? Get guix build a dmd.conf for user should be really cool. > >> 7. Not sure how to properly add a user (again guix system reconfigure >> would help), as useradd makes the usuall unix user, but is missing >> some other things like a build directory... > > Yes, the =E2=80=98users=E2=80=99 field, and then run =E2=80=98reconfigure= =E2=80=99. > > =E2=80=98useradd=E2=80=99 should work as well, but user accounts created = that way are > not under Guix control. > > What do you mean by =E2=80=9Cbuild directory=E2=80=9D here? > > Thanks, > Ludo=E2=80=99.