summaryrefslogtreecommitdiff
path: root/gnu/services
Commit message (Collapse)AuthorAge
* services: Add descriptions.Ludovic Courtès2020-05-08
| | | | | | | | | | | | | * gnu/services/dbus.scm (polkit-service-type)[description]: New field. * gnu/services/dict.scm (dicod-service-type)[description]: New field. * gnu/services/dns.scm (knot-service-type)[description]: New field. * gnu/services/networking.scm (dhcpd-service-type)[description]: New field. * gnu/services/shepherd.scm (shepherd-root-service-type)[description]: New field. * gnu/services/xorg.scm (slim-service-type)[description]: New field. (screen-locker-service-type)[description]: New field. * gnu/system/pam.scm (pam-root-service-type)[description]: New field. * gnu/system/shadow.scm (account-service-type)[description]: New field.
* Revert "services: syslog: Simplify 'start' method."Ludovic Courtès2020-05-07
| | | | | | | | | | | | | | This reverts commit 4c0cc7bed3de2c0e2d3a6e95b88693941e839eec. Fixes <https://bugs.gnu.org/41116>. Reported by Alex Sassmannshausen <alex@komputilo.eu>. The problem is that reconfiguring on a system running Shepherd < 0.8.0 would lead to an error, due to #:file-creation-mask not being supported. The error is rather harmless: it prevents service upgrade but the system itself is upgraded. We can reinstate that commit eventually, once #:file-creation-mask has become widespread.
* services: Do not use symbolic links in PulseAudio variables.Marius Bakke2020-05-06
| | | | | | | | | | This addresses <https://bugs.gnu.org/40837> by making these configuration files more easily accessible within the WebKitGTK sandbox. * gnu/services/sound.scm (pulseaudio-environment): Move below PULSEAUDIO-CONF-ENTRY. Instantiate PULSE_CONFIG and PULSE_CLIENTCONFIG entries directly instead of referring to /etc/pulse. (pulseaudio-etc): Do not create /etc/pulse/client.conf and /etc/pulse/daemon.conf.
* services: rottlog: Append '.gz' to rotated file.Brice Waegeneire2020-05-06
| | | | | | Fixes <https://issues.guix.info/issue/40945>. * gnu/services/admin.scm (%default-rotations): Add option 'storefile'.
* services: For "sddm" pam service, include "limits.conf".Giacomo Leidi2020-05-05
| | | | | | | * gnu/services/base.scm (pam-limits-service-type): For "sddm" pam service, include "limits.conf". Signed-off-by: Marius Bakke <mbakke@fastmail.com>
* gnu: Add AutoSSH service.pinoaffe2020-05-05
| | | | | | | | | * gnu/services/ssh.scm (<autossh-configuration>): New record type. (autossh-service-type): New variable. (autossh-service-activation, autossh-file-name): New procedures. * doc/guix.texi (Networking Services): Document this. Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
* services: syslog: Simplify 'start' method.Diego Nicola Barbato2020-05-02
| | | | | | | | | | | This is a followup to d7113bb655ff80a868a9e624c913f9d23e6c63ad and e3358a831e7d5d9e8dc614340e49ea5aeb11a7ff. * gnu/services/base.scm (syslog-service-type): Change 'start' method to set umask using the #:file-creation-mask parameter of 'make-forkexec-constructor' introduced in version 0.8.0 of the Shepherd. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* services: dnsmasq: Support the --address flag.Pierre Langlois2020-05-02
| | | | | | | | | | | | Introduce a new `addresses' field that translates to passing `--address=' multiple times to dnsmasq. * gnu/services/dns.scm (<dnsmasq-configuration>): Add an addresses field. (dnsmasq-shepherd-service): Match the addresses field and translate it to multiple '--address=' flags. * doc/guix.texi (DNS Services): Document it. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
* file-systems: mount the PID cgroup filesystem.Jakub Kądziołka2020-04-27
| | | | | | | * gnu/system/file-systems.scm (%control-groups): Add "pids". * gnu/services/docker.scm (docker-shepherd-service): Resolve a TODO. This has allowed me to make a specific configuration of nsjail work.
* services: Add udev-rules-service helper.Brice Waegeneire2020-04-22
| | | | | | | | | * doc/guix.texi (Base services): Add documentation for 'udev-rules-service'. Replace examples of 'udev-service-type' extension with 'udev-rules-service'. * gnu/services/base.scm (udev-rules-service): New procedure. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: shepherd: Update to 0.8.0.Ludovic Courtès2020-04-21
| | | | | | * gnu/packages/admin.scm (shepherd): Update to 0.8.0. * gnu/services/shepherd.scm (shepherd-configuration-file): Use 'default-pid-file-timeout' instead of fiddling with '%pid-file-timeout'.
* services: dovecot: 'stop' method returns #f upon success.Ludovic Courtès2020-04-21
| | | | | | | * gnu/services/mail.scm (dovecot-shepherd-service)[stop]: Use 'invoke' instead of 'make-forkexec-constructor'. Previously, the 'stop' method would return the PID of the "dovecot stop" process, which would be interpreted as a failure to stop the service.
* services: Don't use the deprecated 'make-forkexec-constructor' call.Ludovic Courtès2020-04-21
| | | | | | | | | | Passing 'make-forkexec-constructor' a string or several string arguments has been deprecated since dmd 0.1. * gnu/services/base.scm (rngd-service-type): In 'start' method, pass a list as the first argument to 'make-forkexec-constructor'. * gnu/services/desktop.scm (bluetooth-shepherd-service): Likewise. * gnu/services/spice.scm (spice-vdagent-shepherd-service): Likewise.
* services: Add 'simulated-wifi-service-type'.Ludovic Courtès2020-04-19
| | | | | | | * gnu/services/networking.scm (simulated-wifi-shepherd-services): New procedure. (simulated-wifi-service-type): New variable. * doc/guix.texi (Networking Services): Document it.
* services: Add 'hostapd-service-type'.Ludovic Courtès2020-04-19
| | | | | | | | | * gnu/services/networking.scm (<hostapd-configuration>): New record type. (hostapd-configuration-file, hostapd-shepherd-services): New procedures. (hostapd-service-type): New variable. * doc/guix.texi (Networking Services): Document it.
* services: sddm: Have sddm provision xorg-server.Efraim Flashner2020-04-19
| | | | | * gnu/services/sddm.scm (sddm-shepherd-service)[shepherd-service]: Have sddm provision 'xorg-server like the other display managers.
* services: Move 'user-processes' to (gnu services shepherd).Ludovic Courtès2020-04-17
| | | | | | | * gnu/services/base.scm (%do-not-kill-file) (user-processes-shepherd-service, user-processes-service-type): Move to... * gnu/services/shepherd.scm: ... here.
* Merge branch 'version-1.1.0'Ludovic Courtès2020-04-15
|\
| * services: shepherd: Increase the PID file timeout to 30s.Ludovic Courtès2020-04-15
| | | | | | | | | | | | | | | | | | | | | | | | When running the installation image off a DVD, early I/O operations are extremely slow, to the point that something like dbus-daemon would need ~20s to start. This change works around the issue. Fixes <https://bugs.gnu.org/40572>. Reported by Florian Pelz <pelzflorian@pelzflorian.de>. * gnu/services/shepherd.scm (shepherd-configuration-file): Set %pid-file-timeout to 30.
| * services: kernel-module-loader: Clean up.Florian Pelz2020-04-12
| | | | | | | | | | | | | | | | Suggested by Efraim Flashner <efraim@flashner.co.il>. See <https://lists.gnu.org/archive/html/bug-guix/2020-04/msg00237.html>. * gnu/services/linux.scm (kernel-module-loader-shepherd-service): Remove unneeded 'respawn?' field.
| * services: gnome: Fix ‘gnome’ field name.Tobias Geerinckx-Rice2020-04-10
| | | | | | | | | | | | | | | | To match its own documentation & other similar services. * gnu/services/desktop.scm (gnome-desktop-configuration)[gnome-package]: Rename to… [gnome]: …this.
* | services: libvirt-configuration: Fix grammar of "allows to select" to "allowsVagrant Cascadian2020-04-12
| | | | | | | | | | | | selecting". * gnu/services/virtualization (libvirt-configuration): Fix grammar.
* | services: gnome: Fix ‘gnome’ field name.Tobias Geerinckx-Rice2020-04-10
|/ | | | | | | | To match its own documentation & other similar services. * gnu/services/desktop.scm (gnome-desktop-configuration)[gnome-package]: Rename to… [gnome]: …this.
* services/web: Fix ordering of default-nginx-config.Florian Pelz2020-04-08
| | | | | | | Fixes an error message '"load_module" directive is specified too late'. * gnu/services/web.scm (default-nginx-config): Emit load_module before global directives.
* services: guix: Add 'set-http-proxy' action.Ludovic Courtès2020-04-07
| | | | | | | | | | | | | | Fixes <https://bugs.gnu.org/25569>. Reported by Divan Santana <divan@santanas.co.za>. * gnu/services/base.scm (shepherd-set-http-proxy-action): New procedure. (guix-shepherd-service): Add 'actions' field. Change 'start' to a lambda; check the value of the "http_proxy" environment variable and add "http_proxy" and "https_proxy" to #:environment-variables as a function of that. * gnu/tests/base.scm (run-basic-test)["guix-daemon set-http-proxy action", "guix-daemon set-http-proxy action, clear"]: New tests. * doc/guix.texi (Base Services): Document it.
* services: syslog: Create log files as non-world-readable.Ludovic Courtès2020-04-06
| | | | | | | | | | Partly fixes <https://bugs.gnu.org/40405>. Reported by Diego Nicola Barbato <dnbarbato@posteo.de>. * gnu/services/base.scm (syslog-service-type): Change 'start' method to set umask to #o137 before spawning syslogd. * gnu/tests/base.scm (run-basic-test)["/var/log/messages is not world-readable"]: New test.
* services: Add 'rottlog-service-type' to '%base-services'.Ludovic Courtès2020-04-06
| | | | | | | * gnu/services/base.scm (%base-services): Add an instance of ROTTLOG-SERVICE-TYPE. * doc/guix.texi (Log Rotation): Mention that it's part of %BASE-SERVICES and change example.
* services/web: Add missing ungexp for mumi shepherd services.Ricardo Wurmus2020-04-06
| | | | | | This is a follow-up to commit f00f52a1fb5ac08f8059dffcd60d36adcda06603. * gnu/services/web.scm (mumi-shepherd-services): Ungexp variables.
* services/web: Add default values to all mumi-configuration fields.Ricardo Wurmus2020-04-06
| | | | | | | This is a follow-up to commit f00f52a1fb5ac08f8059dffcd60d36adcda06603. * gnu/services/web.scm (<mumi-configuration>)[sender,smtp]: Add default values.
* gnu: mumi: Update to 0.0.0-12.bb2fe92.Ricardo Wurmus2020-04-06
| | | | | | | | | | | | | * gnu/packages/mail.scm (mumi): Update to 0.0.0-12.bb2fe92. [inputs]: Add guile-gcrypt, guile-redis, guile-webutils, mailutils. * gnu/services/web.scm (<mumi-configuration>): New record type. (mumi-configuration, mumi-configuration?, mumi-configuration-mumi, mumi-configuration-mailer?, mumi-configuration-sender, mumi-configuration-smtp): New procedures. (mumi-shepherd-services): Accept configuration; adjust start commands; add Shepherd service for mumi mailer. (mumi-service-type): Pass default configuration. * doc/guix.texi (Web Services): Update documentation.
* gnu: Add kernel-module-loader-service.Brice Waegeneire2020-04-05
| | | | | | | | | | | | | | | * doc/guix.texi (Linux Services): Add a new subsection and document the new service and its configuration. * gnu/services/linux.scm (kernel-module-loader-service-type): New type. (kernel-module-loader-shepherd-service): New procedure. * gnu/tests/linux-modules.scm (module-loader-program): Procedure removed. (modules-loaded?-program): New procedure. (run-loadable-kernel-modules-test): 'module-loader-program' procedure replaced by the new one. [os]: Use 'kernel-module-loader-service'. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
* services: murmur: Add missing newline in murmur-configuration.Simon Mages2020-04-02
| | | | | | | * gnu/services/telephony.scm (default-murmur-config): Add newline after "max-user-bandwidth". Signed-off-by: Marius Bakke <mbakke@fastmail.com>
* services: mate: Provide all the polkit actions.Ludovic Courtès2020-04-02
| | | | | * gnu/services/desktop.scm (mate-polkit-extension): New procedure. (mate-desktop-service-type): Use it when extending POLKIT-SERVICE-TYPE.
* services: shepherd: Mark '.go' derivations as non-substitutable.Ludovic Courtès2020-03-29
| | | | * gnu/services/shepherd.scm (scm->go): Pass #:options to 'computed-file'.
* services: gdm: Add gdm user to 'video' supplementary group.Florian Pelz2020-03-29
| | | | | | | This makes it possible to use gdm with the 'uvesafb' kernel module. See <https://lists.gnu.org/archive/html/guix-devel/2020-03/msg00389.html>. * gnu/services/xorg.scm (%gdm-accounts): Set supplementary groups.
* services/nfs: Replace nfs-version with nfs-versions.Ricardo Wurmus2020-03-27
| | | | | | | | | | | | Instead of accepting a string for just one protocol version accept a list of supported versions. * gnu/services/nfs.scm (<nfs-configuration>)[nfs-version]: Remove field and replace... [nfs-versions]: ...with this new field. (nfs-shepherd-services): Pass as many "--nfs-version" options as there are supported versions. * doc/guix.texi (Network File System): Document nfs-versions.
* services/nfs: Mount nfsd pseudo file system.Ricardo Wurmus2020-03-25
| | | | | * gnu/services/nfs.scm (nfs-shepherd-services): Add shepherd-service providing /proc/fs/nfsd and make other shepherd services require it.
* services: console-font: Fix docstring.Ludovic Courtès2020-03-23
| | | | | * gnu/services/base.scm (console-font-service-type): Use quasiquote and unquote appropriately in docstring.
* services: Add fontconfig-file-system-service.Efraim Flashner2020-03-22
| | | | | | * gnu/services/desktop.scm (%fontconfig-file-system, fontconfig-file-system-service): New variables. (%desktop-services): Add fontconfig-file-system-service.
* services: nfs: Remove unnecessary "mount" invocation.Ludovic Courtès2020-03-16
| | | | | | * gnu/services/nfs.scm (%nfs-activation): Remove unnecessary "mount" invocation (/proc/fs/nfsd is automatically mounted, somehow). Remove unnecessary 'mkdir-p' call.
* services: nfs: Move activation snippet out of line.Ludovic Courtès2020-03-16
| | | | | * gnu/services/nfs.scm (%nfs-activation): New variable. (nfs-service-type)[extensions]: Refer to %NFS-ACTIVATION.
* tests: opensmtpd: Check /var/spool/mail instead of /var/mail.Ludovic Courtès2020-03-16
| | | | | | | | | The test had been failing since the upgrade to 6.6.3p1 in commit 2dbfd8eec43b602d23cee3fdd2842cc333e36c24. * gnu/services/mail.scm (opensmtpd-activation): Create /var/spool/mail. * gnu/tests/mail.scm (run-opensmtpd-test): Check /var/spool/mail instead of /var/mail.
* services: dhcpd: Use 'invoke/quiet' when validating the config file.Ludovic Courtès2020-03-16
| | | | | | | This avoids the lengthy copyright/config message from dhcpd. * gnu/services/networking.scm (dhcpd-activation): Use 'invoke/quiet' instead of 'invoke'.
* services/web: Export nginx-configuration-global-directives.Ricardo Wurmus2020-03-16
| | | | | | | This is a follow-up to commit b420e6deb96e0760f12e3d941b76e690c4235e47. * gnu/services/web.scm (nginx-configuration-global-directives): Export procedure.
* services: nginx: Fix broken default configuration.Tobias Geerinckx-Rice2020-03-16
| | | | | | * gnu/services/web.scm (nginx-configuration): Emit an empty events{} block by default. * doc/guix.texi (Web Services): Document it.
* services/web: nginx-configuration: Add support for global directives.Ricardo Wurmus2020-03-15
| | | | | | | * gnu/services/web.scm (<nginx-configuration>)[global-directives]: Add field. (emit-global-directive): New procedure. (default-nginx-config): Use it. * doc/guix.texi (Web Services): Document it.
* services/web: Remove empty events directive from default-nginx-config.Ricardo Wurmus2020-03-15
| | | | * gnu/services/web.scm (default-nginx-config): Remove empty events directive.
* services: mumi-service-type: Update to latest version of mumi.Ricardo Wurmus2020-03-12
| | | | | * gnu/services/web.scm (%mumi-activation): Create /var/mumi/db. (mumi-shepherd-services): Add service for mumi worker.
* services: cuirass: Allow passing extra command line options.Christopher Baines2020-03-08
| | | | | | | | | | | This is so that the options supported by the service configuration don't have to always be changed. Generally though all options should be explicitly supported and documented, so this is mostly to facilitate experimentation. * gnu/services/cuirass.scm (<cuirass-configuration>): Add an extra-options field. (cuirass-shepherd-service): Pass the extra options to the shepherd servvices. * doc/guix.texi (Continuous Integration): Document it.
* services: guix-data-service: Allow passing extra options.Christopher Baines2020-03-08
| | | | | | | | | | | | This is so that the options supported by the service configuration don't have to always be changed. Generally though all options should be explicitly supported and documented, so this is mostly to facilitate experimentation. * gnu/services/guix.scm (<guix-data-service-configuration>): Add extra-options and extra-process-jobs-options to the record type. (guix-data-service-shepherd-services): Handle these new configuration record fields. * doc/guix.texi (Guix Data Service): Document these new options.