summary refs log tree commit diff
path: root/gnu/services
AgeCommit message (Collapse)Author
2019-12-29services: dhcp-client: Ignore interfaces that cannot be activated.Brice Waegeneire
Fixes <https://bugs.gnu.org/38524>. * gnu/services/networking.scm (dhcp-client-service-type): Filter interfaces that cannot be activated. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-12-21services: Add Mumi service.Ludovic Courtès
* gnu/services/web.scm (%mumi-activation, %mumi-accounts): New variables. (mumi-shepherd-services): New procedure. (mumi-service-type): New variable. * doc/guix.texi (Web Services): Document it.
2019-12-08services: mcron: Add description.Robert Vollmert
* gnu/services/mcron.scm (mcron-service-type): Add description. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-12-04services: Add GNOME Keyring service.Leo Prikler
* gnu/services/desktop.scm: (<gnome-keyring-configuration>): New record type. (pam-gnome-keyring): New procedure. (gnome-keyring-service-type): New variable. * doc/guix.texi (Desktop Services): Document it. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-12-04services: SSH services: Provide 'ssh' and 'sshd' Shepherd services.Leo Famulari
* gnu/services/ssh.scm (lsh-shepherd-service, dropbear-shepherd-service, openssh-sheperd-service): Add 'ssh' and 'sshd' to provision.
2019-11-30services: Add polkit-wheel-service to %desktop-services.Leo Prikler
* gnu/services/desktop.scm: (%desktop-services): Add polkit-wheel-service. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-11-30services: Add polkit-wheel-service.Leo Prikler
* gnu/services/desktop.scm: (polkit-wheel): New variable. (polkit-wheel-service): New service. * doc/guix.texi: Document polkit-wheel-service. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-11-28services: Add pam-mount.Guillaume Le Vaillant
* gnu/services/pam-mount.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. * doc/guix.texi (PAM Mount Service): New subsection. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-11-28services: nginx: Add description.Ludovic Courtès
* gnu/services/web.scm (nginx-service-type)[description]: New field.
2019-11-20services: sysctl: Make service one-shot.Efraim Flashner
* gnu/services/sysctl.scm (sysctl-shepherd-service): Adjust shepherd service to use the 'one-shot?' keyword. Remove 'stop' command. Remove 'respawn' option.
2019-11-13services: dbus: Simplify 'dbus-uuidgen' invocation.Ludovic Courtès
* gnu/services/dbus.scm (dbus-activation): Use the "--ensure" option of 'dbus-uuidgen' instead of forking and redirecting ports.
2019-11-13services: dbus: Log to syslog.Ludovic Courtès
* gnu/services/dbus.scm (dbus-shepherd-service): Add 'syslogd' to 'requirement'. Pass the "--syslog-only" command-line option.
2019-11-13services: dbus: Add description.Ludovic Courtès
* gnu/services/dbus.scm (dbus-root-service-type)[description]: New field.
2019-11-11services: Add pagekite-service-type.Alex Griffin
* gnu/services/networking.scm (pagekite-service-type): New service type. (<pagekite-configuration>): New record type. (pagekite-shepherd-service): New procedure. * doc/guix.texi (Networking Services): Document it.
2019-11-11services: Add knot-resolver-service-type.宋文武
* gnu/services/dns.scm (<knot-resolver-configuration>): New record type. (knot-resolver-activation, knot-resolver-shpherd-services): New procedures. (%knot-resolver-accounts, %kresd.conf, knot-resolver-service-type): New variables. * doc/guix.texi (DNS Services): Document it.
2019-11-09services: hpcguix-web: Delete lock files during activation.Ludovic Courtès
* gnu/services/web.scm (%hpcguix-web-activation): Delete ".lock" files from HOME-DIR.
2019-11-09services: hpcguix-web: Explicitly import (guix build utils).Ludovic Courtès
* gnu/services/web.scm (%hpcguix-web-activation): Add explicit 'with-imported-modules'.
2019-11-08services: mpd: Connect to the user's PulseAudio socket.Robert Smith
* gnu/services/audio.scm (mpd-shepherd-service): Set the XDG_RUNTIME_DIR environment variable. Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2019-11-07services: Make it possible to include dynamic modules in nginx.Florian Pelz
* gnu/services/web.scm (<nginx-configuration>): Add modules field. (nginx-configuration-modules): New field accessor. (emit-load-module): New procedure. (default-nginx-config): Add support for the modules field. * doc/guix.texi (NGINX): Document it.
2019-11-05services: libvirtd: Provide ip binary at runtime.Miguel Ángel Arruga Vivas
* gnu/services/virtualization.scm (libvirt-shepherd-service): Add sbin to the PATH variable, as ip binary is installed there. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-11-05services: patchwork: Fix typo.Efraim Flashner
* gnu/services.web.scm (define-gexp-compiler): Use 'enable-rest-api?' where appropriate in place of 'enable-xmlrpc?'
2019-11-03gnu: zabbix-agentd: Update to 4.4.1.Oleg Pykhalov
* gnu/packages/monitoring.scm (zabbix-agentd): Update to 4.4.1. * gnu/services/monitoring.scm (%zabbix-front-end-configuration-nginx): Add listen record field.
2019-11-02services: dbus: Remove non-existent directories from 'system-local.conf'.Ludovic Courtès
This typically halves the number of entries in /etc/dbus-1/system-local.conf. * gnu/services/dbus.scm (dbus-configuration-directory)[build](directives): New macro. (services->sxml): Use it.
2019-11-02services: dbus: Include each service's "share/dbus-1/system.d".Ludovic Courtès
Fixes <https://bugs.gnu.org/37911>. Reported by Jack Hill <jackhill@jackhill.us>. Sometime between 1.1.8 and 1.4.3, 'colord' moved had its 'org.freedesktop.ColorManager.conf' file moved from "etc/dbus-1/system.d" to "share/dbus-1/system.d". Adjust to this change. * gnu/services/dbus.scm (dbus-configuration-directory): Add an 'includedir' directive for DIR/share/dbus-1/system.d.
2019-11-01services: colord: Deprecate 'colord-service' procedure.Ludovic Courtès
* gnu/services/desktop.scm (colord-service-type)[default-value]: New field. (colord-service): Define with 'define-deprecated'. (%desktop-services): Use 'colord-service-type' instead of 'colord-service'. * doc/guix.texi (Desktop Services): Adjust accordingly.
2019-10-31services: ntp: Fix a crash when using legacy configuration.Maxim Cournoyer
Fixes issue #37504 (see: https://bugs.gnu.org/37504). The bug was caused by the fact that destructuring an <ntp-configuration> record using match would bind the 'servers' field without using the compatibility accessor. * gnu/services/networking.scm (ntp-shepherd-service): Replace `match-lambda' by distinct `lambda' and `match' calls, so that the 'servers' field can be generated by applying the `ntp-configuration-servers' procedure to the configuration object.
2019-10-30services: ntp: Ensure no double quotes are output to config file.Maxim Cournoyer
* gnu/services/networking.scm (ntp-server->string): Use the textual representation of the values as printed by 'display' rather than 'write', to avoid inserting double quotes in the generated config. * tests/networking.scm (%ntp-server-sample): Add a comment and make one of the options a string, to exercise the fix. ("ntp-server->string"): Move the expected value to the first argument. ("ntp configuration servers deprecated form"): Likewise. ("openntpd generated config string ends with a newline"): Likewise.
2019-10-29gnu: mpd-service-type: Support configuration of outputs.Ricardo Wurmus
* gnu/services/audio.scm (<mpd-output>): New record type. (<mpd-configuration>)[outputs]: New field. (mpd-output, mpd-output?, mpd-output->string): New procedures. (mpd-config->file): Use mpd-output->string. * doc/guix.texi (Audio Services): Document mpd-output fields.
2019-10-26services: gdm: Add 'debug?' configuration field.Timothy Sample
* gnu/services/xorg.scm (<gdm-configuration>)[debug?]: New field. (gdm-configuration-file): Use it. * doc/guix.texi: Document it.
2019-10-23services: cuirass: Create /var/log/cuirass during activation.Ludovic Courtès
* gnu/services/cuirass.scm (cuirass-activation): Create "/var/log/cuirass".
2019-10-22services: elogind, gnome, mate, xfce: Fix config type predicate identifiers.Ludovic Courtès
* gnu/services/desktop.scm (<elogind-configuration>): Add question mark in type predicate identifier. (<gnome-desktop-configuration>): Likewise. (<mate-desktop-configuration>): Likewise. (<xfce-desktop-configuration>): Likewise.
2019-10-21services: inputattach: Add 'baud-rate' parameter.Tim Gesthuizen
* gnu/services/desktop.scm (inputattach-configuration): Add baud-rate field. (inputattach-shepherd-service): Add baud-rate to parameters when specified. * doc/guix.texi (Miscellaneous Services): [inputattach Service] Document baud-rate parameter. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-10-21services: agetty: Really import (gnu build linux-boot).Ludovic Courtès
This is a followup to commit 62c2217570fb3a3437e8316d3679b7fe13db0884. * gnu/services/base.scm (agetty-shepherd-service)[start]: Wrap un 'with-imported-modules'. This fixes a build error when TTY is true ("no code for module (gnu build linux-boot)").
2019-10-21services: sddm: Add description.Ludovic Courtès
* gnu/services/sddm.scm (sddm-service-type)[description]: New field.
2019-10-21services: sddm: Deprecate 'sddm-service' procedure.Ludovic Courtès
* gnu/services/sddm.scm (sddm-service): Mark as deprecated. * doc/guix.texi (X Window): Document 'sddm-service-type' and 'sddm-configuration'.
2019-10-21services: sddm: Add default configuration.Brendan Tildesley
Unlike gdm-service-type, sddm-service-type cannot be configured in an operating-system configuration by simply adding (service sddm-service-type). This adds the default SDDM configuration just like GDM does.. * gnu/services/sddm.scm (sddm-service-type)[default-value]: New field. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-10-20services: xfce: Add xfce4-power-manager to polkit settings.David Wilson
* gnu/services/desktop.scm (xfce-desktop-service-type): Add xfce4-power-manager to polkit-service-type service extension via new procedure 'xfce-polkit-settings'. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2019-10-18services: network-manager: Create account for 'network-manager-openconnect'.Ludovic Courtès
Previously, on startup, we'd see: dbus: Unknown username nm-openconnect in message bus configuration file This fixes it. * gnu/services/networking.scm (network-manager-accounts): New procedure. (network-manager-service-type): Extend 'account-service-type'. * gnu/packages/gnome.scm (network-manager-openconnect)[properties]: Add 'user-accounts'.
2019-10-18services: network-manager: Export 'network-manager-configuration-vpn-plugins'.Ludovic Courtès
* gnu/services/networking.scm (<network-manager-configuration>): Export 'network-manager-configuration-vpn-plugins'.
2019-10-18herd: Define 'shepherd-message-port'.Ludovic Courtès
* gnu/services/herd.scm (shepherd-message-port): New variable. (display-message): Use it instead of 'current-error-port'.
2019-10-18Fix documentation of delete_after in the getmail service.Florian Pelz
* doc/guix.texi (Getmail service): Remove the word `not'. * gnu/services/getmail.scm (getmail-options-configuration): Ditto.
2019-10-06Merge branch 'master' into core-updatesRicardo Wurmus
2019-10-06services: shepherd: Compile service files.Ludovic Courtès
This reduces resident memory for PID 1 from 29.8MiB to 28.7MiB right after boot on a bare-bones system (x86_64-linux). * gnu/services/shepherd.scm (scm->go): New procedure. (shepherd-configuration-file)[config]: Call it and use 'load-compiled' instead of 'primitive-load'.
2019-10-06services: udev: Explicitly depend on (gnu build linux-boot).Ludovic Courtès
* gnu/services/base.scm (udev-shepherd-service): Wrap 'start' method in 'with-imported-modules'.
2019-10-06services: agetty: Explicitly depend on (gnu build linux-boot).Ludovic Courtès
* gnu/services/base.scm (default-serial-port): Wrap in 'with-imported-modules'.
2019-10-05services: urandom-seed: Credit the entropy added to the PRNG.Ludovic Courtès
Partly fixes <https://bugs.gnu.org/37501>. Reported by Marius Bakke <mbakke@fastmail.com>. * gnu/services/base.scm (urandom-seed-shepherd-service): In 'start' method, add calls to 'add-to-entropy-count'.
2019-10-04services: httpd: Fix virtual-host doc and config.Jan Nieuwenhuizen
* doc/guix.texi (Web Services): Fix httpd-virtualhost examples. * gnu/services/web.scm (httpd-process-extensions): Add missing newline separator.
2019-10-02services: For "gdm-password" pam service, include "limits.conf".Jesse Gibbons
* gnu/services/base.scm (pam-limits-service-type): For "gdm-password" pam service, include "limits.conf". Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2019-09-25services: Add the Guix Data Service.Christopher Baines
* gnu/services/guix.scm: New file. * gnu/tests/guix.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add both new files. * doc/guix.texi (Guix Services): New section documenting the Guix Data Service.
2019-09-23services: cuirass: Remove unneeded conditional.Ludovic Courtès
* gnu/services/cuirass.scm (cuirass-shepherd-service): Remove unneeded 'and'.