all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: 宋文武 <iyzsong@member.fsf.org>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH 8/9] services: Add sddm service.
Date: Sat, 03 Sep 2016 15:32:36 +0200	[thread overview]
Message-ID: <87wpitm7m3.fsf@gnu.org> (raw)
In-Reply-To: <87zinqsd2a.fsf@member.fsf.org> ("宋文武"'s message of "Fri, 02 Sep 2016 20:26:05 +0800")

Hi!

iyzsong@member.fsf.org (宋文武) skribis:

> [...]
>> +
>> +(define (sddm-activation config)
>> +  "Return the activation gexp for CONFIG."
>> +  #~(begin
>> +      (symlink #$(sddm-configuration-file config) "/etc/sddm.conf")))
>
> I don't know the behavior of activation when reconfigure services,

‘guix system reconfigure’ runs the new system’s activation script.

> but this `symlink' call will fail when the file already exists.

Indeed.

> And to put files to /etc, it's better to extend the `etc-service-type'.

Agreed.

However, it’s even better to avoid populating /etc altogether; ideally
/etc should contain only global configuration files, such as
nsswitch.conf.

Could you instead pass the configuration file via a command-line option
or environment variable?

> Oh, finally we get a modern display manager, thanks!

Seconded.  Thank you!

Ludo’.

  reply	other threads:[~2016-09-03 13:32 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-01 15:57 [PATCH 1/9] system: vm: Remove -net user flag David Craven
2016-09-01 15:57 ` [PATCH 2/9] activation: Allow /var/lib to be a home directory David Craven
2016-09-02 11:54   ` 宋文武
2016-09-02 15:31     ` Vincent Legoll
2016-09-02 17:13       ` ng0
2016-09-02 17:19         ` David Craven
2016-09-03 13:24   ` Ludovic Courtès
2016-09-01 15:57 ` [PATCH 3/9] services: Export initrc David Craven
2016-09-03 13:34   ` Ludovic Courtès
2016-09-03 13:34     ` David Craven
2016-09-03 17:33       ` David Craven
2016-09-05  8:40       ` Ludovic Courtès
2016-09-01 15:57 ` [PATCH 4/9] services: syslog: Use syslog-configuration David Craven
2016-09-02 12:31   ` Ludovic Courtès
2016-09-01 15:57 ` [PATCH 5/9] gnu: Add prefix to license imports in (gnu packages display-managers) David Craven
2016-09-02 12:27   ` Ludovic Courtès
2016-09-01 15:57 ` [PATCH 6/9] gnu: Add greenisland David Craven
2016-09-02 13:20   ` Ludovic Courtès
2016-09-03 17:03     ` David Craven
2016-09-05  8:43       ` Ludovic Courtès
2016-09-05 11:44         ` David Craven
2016-09-07  6:50   ` Mark H Weaver
2016-09-01 15:57 ` [PATCH 7/9] gnu: Add sddm David Craven
2016-09-02 12:26   ` Ludovic Courtès
2016-09-01 15:57 ` [PATCH 8/9] services: Add sddm service David Craven
2016-09-02 12:26   ` 宋文武
2016-09-03 13:32     ` Ludovic Courtès [this message]
2016-09-03 13:34       ` David Craven
2016-09-03 13:36         ` David Craven
2016-09-05  8:39           ` Ludovic Courtès
2016-09-05  8:38         ` Ludovic Courtès
2016-09-01 15:57 ` [PATCH 9/9] gnu: Add weston David Craven
2016-09-01 16:00   ` David Craven
2016-09-03 13:29   ` Ludovic Courtès
2016-09-04 14:01     ` David Craven
2016-09-05 21:15       ` Ludovic Courtès
2016-09-06 16:03         ` David Craven
2016-09-07  6:45   ` Mark H Weaver
2016-09-07  7:08     ` David Craven
2016-09-02 11:19 ` [PATCH 1/9] system: vm: Remove -net user flag ng0
2016-09-02 12:24   ` David Craven
2016-09-02 12:58     ` ng0
2016-09-02 13:00       ` David Craven
2016-09-03 13:39     ` Ludovic Courtès
2016-09-03 13:44       ` David Craven
2016-09-05  8:41         ` Ludovic Courtès
2016-09-02 15:37 ` Leo Famulari

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

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

  git send-email \
    --in-reply-to=87wpitm7m3.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=iyzsong@member.fsf.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.