aboutsummaryrefslogtreecommitdiff
path: root/gnu/services
AgeCommit message (Collapse)Author
2015-03-12services: bitlbee: Make /var/lib/bitlbee when activating.Ludovic Courtès
* gnu/services/networking.scm (bitlbee-service): Add 'activate' field.
2015-03-09services: Statically report duplicate dmd service identifiers.Ludovic Courtès
Reported by 白い熊 @相撲道 <guix-devel_gnu.org@sumou.com> at <http://lists.gnu.org/archive/html/guix-devel/2015-03/msg00264.html>. * gnu/services/dmd.scm (assert-no-duplicates): New procedure. (dmd-configuration-file): Use it. * po/guix/POTFILES.in: Add gnu/services/dmd.scm. * tests/guix-system.sh (errorfile): Add test.
2015-03-02services: xorg: Fix file descriptor leak from SLiM/xinitrc.Ludovic Courtès
This reverts commit 9515b745547cff08ad5b958bc54323dab19f29b9. * gnu/services/xorg.scm (xinitrc)[builder](close-all-fdes): Start from file descriptor 3.
2015-03-01Revert "services: xorg: Fix file descriptor leak from SLiM/xinitrc."Mark H Weaver
This reverts commit ec4a4c46efaf2e7373f331654640f1321c0f2e62, because it broke XFCE.
2015-03-01services: xorg: Fix file descriptor leak from SLiM/xinitrc.Ludovic Courtès
Previously processes started from the window manager would have a couple of leaked file descriptors: writable /var/log/slim.log and readable /gnu/store/…-xinitrc. * gnu/services/xorg.scm (xinitrc)[builder]: Add 'close-all-fdes'. Use it in 'exec-from-login-shell'.
2015-02-26services: slim: Add "F1 to change" in session message.Ludovic Courtès
* gnu/services/xorg.scm (slim-service)[slim.cfg]: Add 'session_msg'.
2015-02-26services: slim: Preserve the order of session types.Ludovic Courtès
That makes WindowMaker the default session, by default. * gnu/services/xorg.scm (xsessions-directory)[builder]: Prepend a number in the file name to preserve the order of SESSIONS. (slim-service): Augment docstring. * doc/guix.texi (X Window): Adjust accordingly.
2015-02-25services: nscd: Make sure /var/db/nscd exists.Ludovic Courtès
* gnu/services/base.scm (nscd-service)[activate]: Make /var/db/nscd.
2015-02-08services: lsh: Add graceful handling of daemonic option.nebuli
* gnu/services/ssh.scm (lsh-service): New #:keys (daemonic?, pid-file?, pid-file). Build new lshd-command and expand service-requirement field. * doc/guix.texi (Networking Services): Update accordingly. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-02-06services: xorg: Add Nouveau driver.Ludovic Courtès
* gnu/services/xorg.scm (xorg-start-command)[xserver.conf]: Add XF86-VIDEO-NOUVEAU.
2015-02-04services: Add wicd service.Mark H Weaver
* gnu/services/networking.scm (wicd-service): New procedure. * doc/guix.texi (Networking Services): Document it.
2015-02-04services: nscd-service: Add #:name-services parameter.Ludovic Courtès
* gnu/services/base.scm (nscd-service): Add #:name-services parameter. In 'start' field, set LD_LIBRARY_PATH based on #:name-services. * doc/guix.texi (Base Services): Document it. (Name Service Switch): Link to 'nscd-service'.
2015-02-03services: xorg: Add sawfish session.宋文武
* gnu/services/xorg.scm (%sawfish-session-type): New variable. * doc/guix.texi (X Window): Mention it.
2015-01-27services: mingetty: Wait for udev.Ludovic Courtès
* gnu/services/base.scm (mingetty-service): Add 'udev' to 'requirement'.
2015-01-26services: xorg: Define the <session-type> record type.Ludovic Courtès
* gnu/services/xorg.scm (<session-type>): New record type. (%windowmaker-session-type, %ratpoison-session-type): New variables. (%default-xsessions): Use them. (xsessions-directory): Expect SESSIONS to be a list of <session-type> and rewrite accordingly. (slim-service): Adjust docstring. * doc/guix.texi (X Window): Update accordingly.
2015-01-26services: dbus: Set the search path for .service files.Ludovic Courtès
* gnu/services/dbus.scm (dbus-configuration-directory)[services->sxml]: Produce a <servicedir> tag.
2015-01-23services: guix: #:authorize-hydra-key? now defaults to #t.Ludovic Courtès
* gnu/services/base.scm (guix-service): Change AUTHORIZE-HYDRA-KEY? default value to #t.
2015-01-14monads: Move '%store-monad' and related procedures where they belong.Ludovic Courtès
This turns (guix monads) into a generic module for monads, and moves the store monad and related monadic procedures in their corresponding module. * guix/monads.scm (store-return, store-bind, %store-monad, store-lift, text-file, interned-file, package-file, package->derivation, package->cross-derivation, origin->derivation, imported-modules, compiled, modules, built-derivations, run-with-store): Move to... * guix/store.scm (store-return, store-bind, %store-monad, store-lift, text-file, interned-file): ... here. (%guile-for-build): New variable. (run-with-store): Moved from monads.scm. Remove default value for #:guile-for-build. * guix/packages.scm (default-guile): Export. (set-guile-for-build): New procedure. (package-file, package->derivation, package->cross-derivation, origin->derivation): Moved from monads.scm. * guix/derivations.scm (%guile-for-build): Remove. (imported-modules): Rename to... (%imported-modules): ... this. (compiled-modules): Rename to... (%compiled-modules): ... this. (built-derivations, imported-modules, compiled-modules): New procedures. * gnu/services/avahi.scm, gnu/services/base.scm, gnu/services/dbus.scm, gnu/services/dmd.scm, gnu/services/networking.scm, gnu/services/ssh.scm, gnu/services/xorg.scm, gnu/system/install.scm, gnu/system/linux-initrd.scm, gnu/system/shadow.scm, guix/download.scm, guix/gexp.scm, guix/git-download.scm, guix/profiles.scm, guix/svn-download.scm, tests/monads.scm: Adjust imports accordingly. * guix/monad-repl.scm (default-guile-derivation): New procedure. (store-monad-language, run-in-store): Use it. * build-aux/hydra/gnu-system.scm (qemu-jobs): Add explicit 'set-guile-for-build' call. * guix/scripts/archive.scm (derivation-from-expression): Likewise. * guix/scripts/build.scm (options/resolve-packages): Likewise. * guix/scripts/environment.scm (guix-environment): Likewise. * guix/scripts/system.scm (guix-system): Likewise. * doc/guix.texi (The Store Monad): Adjust module names accordingly.
2015-01-13services: user-processes: Really honor the grace delay.Ludovic Courtès
* gnu/services/base.scm (user-processes-service): Change #:grace-delay default value to 4. Define 'sleep*' and use it.
2015-01-12services: user-processes: Write debugging messages to the output port.Ludovic Courtès
* gnu/services/base.scm (user-processes-service): Write "sending all processes..." message to the current output port, not to /dev/console.
2014-12-19gnu: xorg-server: Update to 1.16.2.901, with many security fixes.Mark H Weaver
Includes fixes for CVE-2014-8091, CVE-2014-8092, CVE-2014-8093, CVE-2014-8094, CVE-2014-8095, CVE-2014-8096, CVE-2014-8097, CVE-2014-8098, CVE-2014-8099, CVE-2014-8100, CVE-2014-8101, CVE-2014-8102, and CVE-2014-8103. See <http://www.x.org/wiki/Development/Security/Advisory-2014-12-09/> * gnu/packages/xorg.scm (xorg-server): Update to 1.16.2.901. Move mesa, resourceproto, scrnsaverproto, and xf86driproto from inputs to propagated-inputs. Add dri3proto and presentproto to propagated-inputs. Add eudev and libxshmfence to inputs. Add a 'pre-configure' phase instead of modifying the 'configure' phase. Adapt substitution that avoids trying to 'mkdir /var' to build system changes. * gnu/services/xorg.scm (xserver.conf): Add xf86-input-evdev ModulePath line.
2014-12-19gnu: xf86-video-modesetting: Now uses the same libdrm as mesa.Mark H Weaver
* gnu/packages/xorg.scm (xf86-video-modesetting): Remove a comment stating that the libdrm used in this driver is incompatible with the one in mesa, because it is no longer true. * gnu/services/xorg.scm (xserver.conf): Uncomment 'xf86-video-modesetting' ModulePath and remove associated comment.
2014-12-20services: xorg: Make SLiM sessions configurable.宋文武
* gnu/services/xorg.scm (%default-xsessions): New variable. (xsessions-directory): New procedure. (slim-service): Add #:sessions and #:auto-login-session parameters. [slim.cfg]: Honor #:sessions. (xinitrc): Adjust accordingly.
2014-12-19services: static-networking-service: Switch to (guix build syscalls).Ludovic Courtès
* gnu/services/networking.scm (static-networking-service): Remove #:inetutils parameter. Rewrite using 'configure-network-interface' and 'set-network-interface-flags'.
2014-12-14services: Make 'nscd-service' configurable; cache hosts/services by default.Ludovic Courtès
Before that, as it was given an empty configuration file, nscd would actually have all its caches disabled. * gnu/services/base.scm (<nscd-configuration>, <nscd-cache>): New record types. (%nscd-default-caches, %nscd-default-configuration): New variables. (nscd.conf-file): New procedure. (nscd-service): Add 'config' parameter. Use 'nscd.conf-file', and pass its result as the '-f' parameter of nscd. * doc/guix.texi (Base Services): Update 'nscd-service' documentation accordingly. Document 'nscd-configuration', 'nscd-cache', '%nscd-default-configuration', and '%nscd-default-caches'.
2014-12-13services: xorg: Run the window manager from a login shell.Ludovic Courtès
This is a followup to 1d18d87, which fixes <http://bugs.gnu.org/19119>. * gnu/services/xorg.scm (xinitrc)[builder]: Add 'exec-from-login-shell' procedure. Use it instead of 'execl' when launching XSESSION, WMAKER, or RATPOISON.
2014-11-30services: xorg: Add 'xf86-video-sis'.Alex Kost
* gnu/services/xorg.scm (xorg-start-command)[xserver.conf]: Add ModulePath for 'xf86-video-sis'.
2014-11-24doc: Add xrefs to the lsh manual.Ludovic Courtès
Suggested by Adam Pribyl <pribyl@lowlevel.cz>. * gnu/services/ssh.scm (lsh-service): Update docstring with xrefs to the lsh manual. Fix typos. * doc/guix.texi (Networking Services): Synchronize.
2014-11-20services: xorg: Include ~/.guix-profile/bin to the session's $PATH.Ludovic Courtès
Fixes <http://bugs.gnu.org/19119>. Reported by David Thompson <dthompson2@worcester.edu>. * gnu/services/xorg.scm (xinitrc): Augment $PATH to include ~/.guix-profile/bin.
2014-11-14services: user-unmount: Change directory to "/" before unmounting.Ludovic Courtès
* gnu/services/base.scm (user-unmount-service): Add 'chdir' call.
2014-11-12services: xorg: Set argv[0] for the window manager.Ludovic Courtès
* gnu/services/xorg.scm (xinitrc): Set argv[0] when invoking ratpoison or wmaker.
2014-11-12gnu: Introduce (gnu artwork) module.Ludovic Courtès
* gnu/artwork.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. * gnu/services/xorg.scm: Use it. (%artwork-repository): Remove. * gnu/system/grub.scm: Use it. (%artwork-repository): Remove.
2014-11-12gnu: xorg: Add SLiM theme based on work by Felipe López.Ludovic Courtès
* gnu/services/xorg.scm (%artwork-repository, %default-slim-theme, %default-slim-theme-name): New variables. (slim-service): Add #:theme and #:theme-name parameters. [slim.cfg]: Honor #:theme-name. Honor #:theme by setting the "SLIM_THEMESDIR" environment variable. * doc/guix.texi (X Window): Adjust 'slim-service' documentation accordingly. Document '%default-slim-theme' and '%default-slim-theme-name'.
2014-11-11services: xorg: Don't pass "-ac" to X.Ludovic Courtès
This had pretty much no effects given "-nolisten tcp". * gnu/services/xorg.scm (xorg-start-command): Remove "-ac" option.
2014-11-10services: Add 'auto-start?' field to <service>.Ludovic Courtès
* gnu/services.scm (<service>)[auto-start?]: New field. * gnu/services/dmd.scm (dmd-configuration-file): Honor it. * gnu/system/install.scm (cow-store-service): Add 'auto-start?' field.
2014-11-10services: Add 'user-unmount-service' as an essential service.Ludovic Courtès
* gnu/services/base.scm (user-unmount-service): New procedure. * gnu/system.scm (essential-services): Use it. * gnu/system/install.scm (cow-store-service): Mention it in comment.
2014-11-08services: udev: Make /dev/kvm 666 as a workaround.Ludovic Courtès
* gnu/services/base.scm (kvm-udev-rule): Change /dev/kvm mode to 666 to work around <http://bugs.gnu.org/18994>.
2014-11-08services: xorg: Add argv[0] in X invocation.Ludovic Courtès
* gnu/services/xorg.scm (xorg-start-command): Add missing argv[0] in 'execl' call.
2014-11-07services: xorg: Allow users to specify a list of resolutions.Ludovic Courtès
* gnu/services/xorg.scm (xorg-start-command): Add #:resolutions parameter and 'screen-section' procedure. Use it. * doc/guix.texi (X Window): Adjust accordingly.
2014-11-07services: xorg: Allow users to specify the drivers to use.Ludovic Courtès
* gnu/services/xorg.scm (xorg-start-command): Add #:drivers parameter. Add 'device-section' procedure, and use it in 'xserver.conf'. * doc/guix.texi (X Window): Document it.
2014-11-07services: xorg: Fix typo in xserver.conf.Ludovic Courtès
* gnu/services/xorg.scm (xorg-start-command)[xserver.conf]: Add missing double-quote in AllowMouseOpenFail.
2014-11-06gnu: Add xf86-video-modesetting.Ludovic Courtès
* gnu/packages/xorg.scm (xf86-video-modesetting): New variable. * gnu/services/xorg.scm (xorg-start-command)[xserver.conf]: Add ModulePath line for XF86-VIDEO-MODESETTING, commented out.
2014-11-05services: Add NTP service.Ludovic Courtès
* gnu/services/networking.scm (ntp-service): New procedure. * doc/guix.texi (Networking Services): Document it.
2014-11-05services: Increase delay before SIGKILL is sent when halting.Ludovic Courtès
* gnu/services/base.scm (user-processes-service): Increase the default value of 'grace-delay'. This leaves more time for processes to clean up their PID files, /tmp/.X0-lock, etc.
2014-10-07services: Add '%facebook-host-aliases'.Ludovic Courtès
* gnu/services/networking.scm (%facebook-host-aliases): New variable. * doc/guix.texi (Networking Services): Document it.
2014-09-23services: Add 'bitlbee-service'.Ludovic Courtès
* gnu/services/networking.scm (bitlbee-service): New procedure. * doc/guix.texi (Networking Services): Document it.
2014-09-23gnu: xorg: Remove xf86-input-vmmouse.Ludovic Courtès
* gnu/packages/xorg.scm (xf86-input-vmmouse): Remove. This driver implement the mouse protocol of a proprietary emulator. * gnu/services/xorg.scm (xorg-start-command): Remove reference.
2014-09-19system: Fix value of 'EUDEV_RULES_DIRECTORY'.Ludovic Courtès
* gnu/services/base.scm (udev-service): Append "/lib/udev/rules.d" to EUDEV_RULES_DIRECTORY.
2014-09-18system: Add udev rule for /dev/kvm.Ludovic Courtès
* gnu/services/base.scm (kvm-udev-rule): New procedure. (udev-service): Use it, and add it to RULES. (guix-build-accounts): Add "kvm" to the 'supplementary-groups' field. * gnu/system/shadow.scm (%base-groups): Add "kvm".
2014-09-18system: Add support for swap devices.Ludovic Courtès
* gnu/services/base.scm (swap-service): New procedure. * gnu/system.scm (<operating-system>)[swap-devices]: New field. (swap-services): New procedure. (essential-services): Use it.