unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: 宋文武 <iyzsong@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>, "Adam Pribyl" <pribyl@lowlevel.cz>
Cc: guix-devel@gnu.org
Subject: Re: Few notes to 0.8
Date: Sat, 29 Nov 2014 11:57:25 +0000	[thread overview]
Message-ID: <87r3wm1aoq.fsf@gmail.com> (raw)
In-Reply-To: <87ppc7106v.fsf@gnu.org>

Ludovic Courtès <ludo@gnu.org> writes:

> Adam Pribyl <pribyl@lowlevel.cz> 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 ‘dhcp-client-service’?  What does
> ‘ps aux | grep dhc’ 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 ‘mount’ command, and I would use ‘swapon’, 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’s because ‘root’ is not created with ‘useradd’, 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 ‘packages’ field
> of ‘operating-system’, and run ‘guix system reconfigure’.
>
> 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’m not sure exactly how to do it.  I think the priority should be
> to make the “regular” service mechanism be more usable for 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 ‘users’ field, and then run ‘reconfigure’.
>
> ‘useradd’ should work as well, but user accounts created that way are
> not under Guix control.
>
> What do you mean by “build directory” here?
>
> Thanks,
> Ludo’.

  reply	other threads:[~2014-11-29 11:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-28 11:41 Few notes to 0.8 Adam Pribyl
2014-11-28 21:31 ` Ludovic Courtès
2014-11-29 11:57   ` 宋文武 [this message]
2014-11-29 20:45     ` Ludovic Courtès
2014-11-30 11:05       ` 宋文武
2014-11-30 11:34         ` Services and access to the global configuration Ludovic Courtès
2014-11-29 21:06     ` Few notes to 0.8 Alex Kost

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r3wm1aoq.fsf@gmail.com \
    --to=iyzsong@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=ludo@gnu.org \
    --cc=pribyl@lowlevel.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).