3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules/services
aszlig a41b109bc1
nixos/taskserver: Don't change imperative users
Whenever the nixos-taskserver tool was invoked manually for creating an
organisation/group/user we now add an empty file called .imperative to
the data directory.

During the preStart of the Taskserver service, we use process-json which
in turn now checks whether those .imperative files exist and if so, it
doesn't do anything with it.

This should now ensure that whenever there is a manually created user,
it doesn't get killed off by the declarative configuration in case it
shouldn't exist within that configuration.

In addition, we also add a small subtest to check whether this is
happening or not and fail if the imperatively created user got deleted
by process-json.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2016-04-12 03:42:13 +02:00
..
amqp nixos manuals: bring back package references 2016-02-03 14:47:14 +01:00
audio Add missing 'type', 'defaultText' and 'literalExample' in module definitions 2016-01-17 19:41:23 +01:00
backup Merge pull request #14405 from jerith666/crashplan-46-r2 2016-04-02 22:06:40 +00:00
cluster Fix fleet certfile argument, fixes #11794 2015-12-22 01:24:47 +01:00
computing nixos: Provide a defaultText for type = package 2016-02-17 21:12:24 +01:00
continuous-integration/jenkins Configure a default trust store for openssl 2016-02-03 12:42:01 +01:00
databases postgresql: Bump default version to 9.5 2016-02-12 13:20:11 +01:00
desktops nixos: gnome-keyring: fix module description 2015-07-01 02:22:27 +02:00
games jobs -> systemd.services 2016-01-07 06:39:06 +00:00
hardware sane module: add more documentation 2016-02-25 19:36:46 +00:00
logging awstats: init at 7.4, including a simple service 2016-03-11 10:37:06 +01:00
mail dspam service: run after postgresql to prevent segfaults 2016-03-27 19:23:01 +03:00
misc nixos/taskserver: Don't change imperative users 2016-04-12 03:42:13 +02:00
monitoring graphite: fix carbonCache graphiteWeb graphiteApi 2016-03-12 02:02:04 +01:00
network-filesystems services: Add Tahoe-LAFS service. 2016-03-31 14:01:09 -07:00
networking mfi: init at 2.1.11 2016-04-01 02:45:11 -07:00
printing cups service: fix gutenprint update when there's no printers 2016-03-15 21:46:33 +03:00
scheduling jobs -> systemd.services 2016-01-07 06:39:06 +00:00
search elasticsearch2: init at 2.2.0 2016-02-13 15:03:09 +00:00
security clamav: Use freshclam.conf defined by clamav-updater module if enabled 2016-03-04 02:26:44 +01:00
system dbus nixos module: add units for systemd user session 2016-04-02 23:11:57 +08:00
torrent nixos.transmission: whitelist lz4 in AppArmor rules 2016-03-07 21:01:55 +01:00
ttys Merge pull request #10996 from oxij/nixos-label 2016-01-09 20:52:08 +03:00
web-apps pump.io service: init 2015-12-06 13:35:21 +00:00
web-servers uwsgi service: use python.buildEnv, fix PATH 2016-03-27 19:23:01 +03:00
x11 xserver service: add glamoregl for intel drivers 2016-03-29 18:52:04 +03:00