summaryrefslogtreecommitdiff
path: root/gnu/services
Commit message (Collapse)AuthorAge
* Merge branch 'master' into core-updatesRicardo Wurmus2019-10-06
|\
| * services: shepherd: Compile service files.Ludovic Courtès2019-10-06
| | | | | | | | | | | | | | | | | | 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'.
| * services: udev: Explicitly depend on (gnu build linux-boot).Ludovic Courtès2019-10-06
| | | | | | | | | | * gnu/services/base.scm (udev-shepherd-service): Wrap 'start' method in 'with-imported-modules'.
| * services: agetty: Explicitly depend on (gnu build linux-boot).Ludovic Courtès2019-10-06
| | | | | | | | | | * gnu/services/base.scm (default-serial-port): Wrap in 'with-imported-modules'.
| * services: httpd: Fix virtual-host doc and config.Jan Nieuwenhuizen2019-10-04
| | | | | | | | | | | | * doc/guix.texi (Web Services): Fix httpd-virtualhost examples. * gnu/services/web.scm (httpd-process-extensions): Add missing newline separator.
| * services: For "gdm-password" pam service, include "limits.conf".Jesse Gibbons2019-10-02
| | | | | | | | | | | | | | * gnu/services/base.scm (pam-limits-service-type): For "gdm-password" pam service, include "limits.conf". Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
* | services: urandom-seed: Credit the entropy added to the PRNG.Ludovic Courtès2019-10-05
|/ | | | | | | | 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'.
* services: Add the Guix Data Service.Christopher Baines2019-09-25
| | | | | | | | * 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.
* services: cuirass: Remove unneeded conditional.Ludovic Courtès2019-09-23
| | | | * gnu/services/cuirass.scm (cuirass-shepherd-service): Remove unneeded 'and'.
* services: virtualization: Change libvirtd use syslog by default.Christopher Baines2019-09-21
| | | | | | | | | As defaulting by stderr, along with the shepherd service not directing the output to a log file makes seeing the output difficult, compared to logging to syslog. * gnu/services/virtualization.scm (libvirt-configuration)[log-outputs]: Change default from "3:stderr" to "3:syslog:libvirtd".
* services: dovecot: Fix predicate names for free-form fieldsAlexey Abramov2019-09-21
| | | | | | | * gnu/services/mail.scm (free-form-fields?, free-form-args?): Change 'string' to 'string?'. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* services: gdm: Ensure /var/lib/gdm is owned by "gdm".Ludovic Courtès2019-09-21
| | | | | | | | Fixes <https://bugs.gnu.org/37423>. Reported by Jan <tona_kosmicznego_smiecia@interia.pl>. * gnu/services/xorg.scm (%gdm-activation): New variable. (gdm-service-type)[extensions]: Add 'activation-service-type'.
* services: Add nftables-service-type.宋文武2019-09-18
| | | | | | | | * gnu/services/networking.scm (%default-nftables-ruleset): New variable. (<nftables-configuration>): New record type. (nftables-shepherd-service): New procedure. (nftables-service-type): New service type. * doc/guix.texi (Networking Services): Document it.
* services: certbot: Add --manual-public-ip-logging-ok for manual challengesCarlo Zancanaro2019-09-16
| | | | | | | | * gnu/services/certbot.scm (certbot-command): Add --manual-public-ip-logging-ok flag to the certbot command when doing a manual challenge. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* services: Fix /usr/bin/env special file target.Ludovic Courtès2019-09-12
| | | | | | This is a followup to a9162155975a131afa1e6a44262afbb7af91f7fd. * gnu/services/base.scm (%base-services): Fix "/usr/bin/env" target.
* services: libvirtd: Use '/run/current-system/profile/bin' as PATH.宋文武2019-09-11
| | | | | | | This is a followup to ef640db2f509f51ebfe3a6a66ba837ef3103bbb7. * gnu/services/virtualization.scm (libvirt-shepherd-service): Set '#:environment-variables' for 'make-forkexec-constructor'.
* gnu: libvirt: Don't wrap with PATH.宋文武2019-09-11
| | | | | | | | | | | This reverts commit 903e051a71467bc96a054c9b4ed89348fdae8977 to fix <https://bugs.gnu.org/31365>. The full path of the 'ip' command is already embedded, and we want to search 'qemu' in PATH. * gnu/packages/virtualization.scm (libvirt): Remove 'wrap-libvirtd phase. Add configure flags to run qemu as 'nobody:kvm'. * gnu/services/virtualization.scm (libvirt-service-type): Add 'qemu' to the system profile.
* services: Add ‘/usr/bin/env’ special file.Tobias Geerinckx-Rice2019-09-09
| | | | | * gnu/services/base.scm (%base-services): Add ‘/usr/bin/env‘ to special-files-service-type.
* services: openntpd: Fix the config generation code.Maxim Cournoyer2019-09-08
| | | | | | | This fixes issue #37318 (see: http://bugs.gnu.org/37318). * gnu/services/networking.scm (openntpd-configuration->string): Rewrite in order to make the "openntpd configuration generation sanity check" test pass.
* services: openntpd: Add test for issue #3731.Maxim Cournoyer2019-09-08
| | | | | | | | | | | See http://debbugs.gnu.org/cgi/bugreport.cgi?bug=37318. * gnu/services/networking.scm (openntpd-configuration->string): New procedure, extracted from top of the `openntpd-shepherd-service' to make it testable. (openntpd-shepherd-service): Adapt following the move of the code to the above procedure. * tests/networking.scm: Add a test for the `openntpd-configuration->string' procedure.
* services: openntpd: Remove useless let.Maxim Cournoyer2019-09-08
| | | | * gnu/services/networking.scm (openntpd-shepherd-service): Remove useless let.
* services: ntp: Support different NTP server types and options.Maxim Cournoyer2019-09-08
| | | | | | | | | | | | | | | | | | | * gnu/services/networking.scm (ntp-server-types): New enum. (<ntp-server>): New record type. (ntp-server->string): New procedure. (%ntp-servers): Define in terms of <htp-server> records. Use the first entrypoint server as a pool instead of a list of static servers. This is more resilient since a new server of the pool can be interrogated on every request. Add the 'iburst' options. (ntp-configuration-servers): Define a custom accessor that warns but honors the now deprecated server format. (<ntp-configuration>): Use it. (%openntpd-servers): New variable, (<openntpd-configuration>): Use it, as a pool ('servers' field) instead of a regular server. * tests/networking.scm: New file. * Makefile.am (SCM_TESTS): Register it. * doc/guix.texi: Update documentation.
* services: ntp: Fix KOD warning.Maxim Cournoyer2019-09-08
| | | | | | | | | | | | | Otherwise the following messages would be printed by ntpd: Sep 2 05:18:21 localhost ntpd[15849]: restrict default: KOD does nothing without LIMITE. Sep 2 05:18:21 localhost ntpd[15849]: restrict ::: KOD does nothing without LIMITED. Debian uses the same set of "restrict" keywords (see: https://sources.debian.org/src/ntp/1:4.2.8p13+dfsg-2/debian/ntp.conf). * gnu/services/networking.scm (ntp-shepherd-service): Add the 'limited' keyword to both the IPv4 and IPv6 'restrict' directives.
* services: ntp: Allow large adjustment by default.Maxim Cournoyer2019-09-08
| | | | | | | | | | This is documented as best practice in `man ntpd', and is required to allow the date to be set correctly when traveling (without having to manually update the hardware clock in the BIOS/UEFI). * gnu/services/networking.scm (<ntp-server>)[allow-large-adjustment?]: Set the default value to #t. * doc/guix.texi (Networking Services): Update documentation.
* Revert "services: Add ‘/usr/bin/env’ special file."Mark H Weaver2019-09-06
| | | | | | | | This reverts commit 3b38bf141a464e1bb370af7d2b2651d1efb29781. The Guix project discussed this years ago and decided against including /usr/bin/env. That decision should not be reversed without a wider discussion.
* services: Fix typo.Efraim Flashner2019-09-06
| | | | | | This is a follow-up to 3b38bf141a464e1bb370af7d2b2651d1efb29781. * gnu/services/base.scm (%base-services): Remove duplicated line.
* services: Add ‘/usr/bin/env’ special file.Tobias Geerinckx-Rice2019-09-06
| | | | | * gnu/services/base.scm (%base-services): Add ‘/usr/bin/env‘ to special-files-service-type.
* services: nginx: Pass run-directory on config test.Robert Vollmert2019-09-04
| | | | | | | | | Fixes <https://bugs.gnu.org/36388>. This fixes error logging errors in the activation script. * gnu/services/web.scm (nginx-activation): Add "-p" flag. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* services: cups: Rename ‘retry-this-job’ to ‘retry-current-job’.Tobias Geerinckx-Rice2019-08-31
| | | | | | * gnu/services/cups.scm (error-policy, cups-configuration): Substitute RETRY-CURRENT-JOB for the obsolete RETRY-THIS-JOB name of this policy. * doc/guix.texi (Printing Services): Likewise.
* services: cups: Move SET-ENV to FILES-CONFIGURATION.Tobias Geerinckx-Rice2019-08-30
| | | | | | * gnu/services/cups.scm (cups-configuration): Move SET-ENV from here… (files-configuration): …to here. * doc/guix.texi (Printing Services): Adjust accordingly.
* services: cups: Add BrowseDNSSDSubTypes directive.Tobias Geerinckx-Rice2019-08-30
| | | | | | | * gnu/services/cups.scm (comma-separated-string-list?) (serialize-comma-separated-string-list): New variables. (cups-configuration)[browse-dns-sd-sub-types]: New field. * doc/guix.texi (Printing Services): Document it.
* services: cuirass: Log web interface to separate file.Ricardo Wurmus2019-08-29
| | | | | | * gnu/services/cuirass.scm (<cuirass-configuration>): Add web-log-file field. (cuirass-shepherd-service): Read it and use it. * doc/guix.texi (Continuous Integration): Document it.
* gnu: enlightenment: Update to 0.23.0.Efraim Flashner2019-08-28
| | | | | | | | | | | | * gnu/packages/enlightenment.scm (enlightenment): Update to 0.23.0. [build-system]: Switch to meson-build-system. [arguments]: Add configure-flag to build without systemd. Remove 'bootstrap phase. Update substitutions in custom 'set-system-actions phase. [inputs]: Add bluez, pulseaudio. * gnu/packages/patches/enlightenment-fix-setuid-path.patch: Update. * gnu/services/desktop.scm (enlightenment-setuid-programs): Update location of 'freqset binary. Add 'cpuclock_sys to setuid binaries.
* services: cups: Update SSL-OPTIONS docstring.Tobias Geerinckx-Rice2019-08-27
| | | | | | | This follows up on commit f9c1ebdb7daea30ceaf73f43bf15c222dc4a58ad. * gnu/services/cups.scm (cups-configuration)<ssl-options>: Update docstring.
* services: cups: Complete SSL-OPTIONS.Tobias Geerinckx-Rice2019-08-27
| | | | | | | | …except for ‘AllowDH’, which makes no sense on GNU TLS systems. * gnu/services/cups.scm (ssl-options?): Validate ‘DenyCBC’ and ‘DenyTLS1.0’. * doc/guix.texi (Printing Services): Document them both.
* services: cuirass: Split into two separate services.Ricardo Wurmus2019-08-26
| | | | | * gnu/services/cuirass.scm (cuirass-shepherd-service): Return two shepherd services, one for the web interface, another for building packages.
* services: tlp, thermald: Add descriptions.Ludovic Courtès2019-08-26
| | | | | * gnu/services/pm.scm (tlp-service-type)[description]: New field. (thermald-service-type)[description]: New field.
* services: console-fonts: Update docstring.John Soo2019-08-22
| | | | | | | * gnu/services/base (console-font-service-type): Add documentation about valid arguments. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
* guix system: Add 'reconfigure' module.Jakob L. Kreuze2019-07-26
| | | | | | | | | | | | | | * guix/scripts/system/reconfigure.scm: New file. * Makefile.am (MODULES): Add it. * guix/scripts/system.scm (bootloader-installer-script): Export variable. * gnu/machine/ssh.scm (switch-to-system, upgrade-shepherd-services) (install-bootloader): Delete variable. * gnu/machine/ssh.scm (deploy-managed-host): Rewrite procedure. * gnu/services/herd.scm (live-service): Export variable. * gnu/services/herd.scm (live-service-canonical-name): New variable. * tests/services.scm (live-service): Delete variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* services: network-manager: Clear default OpenVPN user.Jelle Licht2019-07-17
| | | | | * gnu/services/networking.scm (network-manager-shepherd-service): Clear 'NM_OPENVPN_USER' and 'NM_OPENVPN_GROUP' in #:environment-variables.
* services: network-manager: Properly load vpn pluginsJelle Licht2019-07-17
| | | | | | | Extends the dbus service when vpn plugins are enabled. * gnu/services/networking.scm (network-manager-service-type): Load vpn plugins when extending dbus service.
* gnu: postgres service: More secure default permissions.Robert Vollmert2019-07-02
| | | | | | | | | | This changes to 'peer' authentication for local socket connections, and password-based authentication for local network connections. * gnu/services/databases.scm (%default-postgres-hba): Change authentication method. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* etc: Remove hydra.gnu.org.pub key.Tobias Geerinckx-Rice2019-06-29
| | | | | | | | | * etc/substitutes/hydra.gnu.org.pub: Delete file. * guix/self.scm (miscellaneous-files): Don't install it. * Makefile.am (dist_pkgdata_DATA): Remove it. * gnu/services/base.scm (%default-authorized-guix-keys): Likewise. (hydra-key-authorization): Rename to… (substitute-key-authorization): …this. Adjust only call site.
* services: network-manager: Create '/var/lib/misc' directory for dnsmasq.Florian Pelz2019-06-24
| | | | | | | | | * gnu/services/networking.scm (%network-manager-activation): Rename to... (network-manager-activation): ... this and make it a procedure. Make it create '/var/lib/misc' when using dnsmasq. (network-manager-service-type): Use it. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* services: opensmtpd: Extend the PAM service.Kristofer Buffington2019-06-20
| | | | | | | | * gnu/services/mail.scm (%opensmtpd-pam-services): New variable. (opensmtpd-service-type)[extensions]: Add it, extending PAM-ROOT-SERVICE-TYPE. Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
* services: Fix typo in (gnu services mail) exports.Tobias Geerinckx-Rice2019-06-20
| | | | | * gnu/services/mail.scm (define-module): Re-spell ‘%default-imap4d-config-file’.
* services: Include USB_ModeSwitch in %desktop-services.Florian Pelz2019-06-15
| | | | | | | | | Fixes <https://bugs.gnu.org/35640>. * gnu/services/desktop.scm (%desktop-services): Add usb-modeswitch-service-type. * doc/guix.texi (Networking Services): Document it. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* services: Add usb-modeswitch-service-type.Florian Pelz2019-06-15
| | | | | | | | | | * gnu/services/networking.scm (usb-modeswitch-service-type): New variable. (usb-modeswitch-configuration): New variable. (usb-modeswitch-sh): New procedure. (usb-modeswitch-configuration->udev-rules): New procedure. * doc/guix.texi (Networking Services): Document it. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* services: Remove unneeded imports that led to cycles.Ludovic Courtès2019-06-15
| | | | | | | | | Fixes <https://bugs.gnu.org/36207>. Reported by Jack Hill <jackhill@jackhill.us>. * gnu/services/admin.scm: Remove unneeded import of (gnu services base). * gnu/services/mcron.scm: Likewise.
* services: Import (srfi srfi-26) from the build side.Tobias Geerinckx-Rice2019-06-12
| | | | | | | See <https://lists.gnu.org/archive/html/guix-devel/2019-06/msg00119.html>. * gnu/services/nix.scm (nix-activation): Remove (srfi srfi-26) from (host-) imported modules.