nixpkgs/modules/services
Peter Simons 0ef085d58a Add services.httpd.fixUidAndGid option to assign reliable numeric UID and GID for the Apache user.
The option is disabled by default so that previously existing installations
aren't affected.

If you'd like to migrate to the fixed numeric id for Apache, set "fixUidAndGid
= true", edit the file "/etc/groups" and replace the old GID value with 54.
(NixOS can't do that for you because it refuses to change a GID that identifies
the primary group of a user.) Then run

  find / -xdev -uid $oldUID -exec chown 54 {} +
  find / -xdev -gid $oldGID -exec chgrp 54 {} +

to update ownership of all files that are supposed to be owned by Apache.
2012-08-03 16:39:55 +02:00
..
amqp strip trailing whitespace; no functional change 2011-09-14 18:20:50 +00:00
audio * Ignore the "No soundcards found" error. 2012-03-18 02:36:21 +00:00
backup * Drop references to activation scriptlets that no longer exist. 2012-03-15 14:21:17 +00:00
databases * Use PostgreSQL's fast shutdown mode. In the default 2012-04-30 18:15:32 +00:00
games strip trailing whitespace; no functional change 2011-09-14 18:20:50 +00:00
hardware fix the grep pattern finding programs called by absolute paths in udev rules. 2012-06-27 20:41:07 +02:00
logging Global replace /var/run/booted-system -> /run/booted-system 2012-07-16 11:34:21 -04:00
mail Initial version of a SpamAssassin service. 2012-08-03 15:11:28 +02:00
misc Don't use nixUnstable 2012-08-02 13:31:57 -04:00
monitoring Global replace /var/run/current-system -> /run/current-system 2012-07-16 11:34:21 -04:00
network-filesystems Global replace /var/run/current-system -> /run/current-system 2012-07-16 11:34:21 -04:00
networking gogoclient: setup config and dirs on service start, not on system activation 2012-07-31 20:07:05 +02:00
printing * CUPS: fix printing on a Ricoh Aficio MP C4500 PXL printer (and 2012-05-25 15:51:33 +00:00
scheduling Global replace /var/run/current-system -> /run/current-system 2012-07-16 11:34:21 -04:00
security F-Prot virus signaure database updater: package 2012-07-24 10:52:04 +03:00
system Use /sys/fs/cgroup instead of /dev/cgroup 2012-07-30 13:49:18 -04:00
ttys Global replace /var/run/current-system -> /run/current-system 2012-07-16 11:34:21 -04:00
web-servers Add services.httpd.fixUidAndGid option to assign reliable numeric UID and GID for the Apache user. 2012-08-03 16:39:55 +02:00
x11 Global replace /var/run/opengl-driver -> /run/opengl-driver 2012-07-16 11:34:21 -04:00