1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00
nixpkgs/nixos/modules/services
Will Dietz f99bdb2b61
networkmanager,modemmanager: fix service symlinks for systemd v243
Fixes problems such as:

systemd[1]: Failed to put bus name to hashmap: File exists
systemd[1]: dbus-org.freedesktop.nm-dispatcher.service: Two services allocated for the same bus name org.freedesktop.nm_dispatcher, refusing operation.

Problem is that systemd treats symlinks to files outside the service
path differently, causing our old workaround to look like two separate services.

These symlinks are intended to be a means for manually emulating
the behavior of the `Alias=` directive in these services.
Unfortunately even making these symlinks relative isn't enough,
since they don't make it to where it matters--
that only makes the links in /etc/static/systemd/system/*
relative, with systemd still being shown non-relative links
in /etc/systemd/system/*.

To fix this, drop all of this at the package level
and instead simply specify the aliases in the NixOS modules.

Also handle the same for modemmanager,
since the networkmanager NixOS module also handles that.
2019-09-13 21:02:39 -05:00
..
admin nixos/oxidized: Use symlinks for config files 2019-08-14 09:30:51 +00:00
amqp nixos/modules: Remove all usages of types.string 2019-08-31 18:19:00 +02:00
audio treewide: remove redundant quotes 2019-09-08 23:38:31 +00:00
backup Merge branch 'master' into staging 2019-09-02 23:25:24 +02:00
cluster treewide: remove redundant quotes 2019-09-08 23:38:31 +00:00
computing nixos: remove dependencies on local-fs.target 2019-09-01 19:06:38 +02:00
continuous-integration Merge staging-next into staging 2019-08-31 10:04:20 +02:00
databases postgresql_9_4: Remove package 2019-09-07 15:31:27 +01:00
desktops Merge pull request #68182 from worldofpeace/chrome-gnome-shell 2019-09-07 03:13:22 -04:00
development bloop: allow specifying extra cli options 2019-07-25 09:28:13 +02:00
editors tree-wide: s/GTK+/GTK/g 2019-09-06 02:54:53 +02:00
games Merge branch 'master' into staging 2019-09-02 23:25:24 +02:00
hardware Merge pull request #68037 from dtzWill/update/upower-0.99.11 2019-09-08 08:14:35 -04:00
logging Merge branch 'master' into staging-next 2019-09-06 16:55:11 +02:00
mail nixos/mailman: types.string -> types.str 2019-09-11 14:14:09 +00:00
misc nixos/gitlab: Fix swap of secrets 2019-09-13 08:40:59 +02:00
monitoring nixos/prometheus-exporters: add rspamd-exporter 2019-09-11 14:21:36 +02:00
network-filesystems treewide: remove redundant quotes 2019-09-08 23:38:31 +00:00
networking networkmanager,modemmanager: fix service symlinks for systemd v243 2019-09-13 21:02:39 -05:00
printing Merge pull request #68218 from worldofpeace/cups-pk/no-auth-wheel 2019-09-09 04:42:19 -04:00
scheduling nixos: remove dependencies on local-fs.target 2019-09-01 19:06:38 +02:00
search nixos/kibana: Filter empty lists 2019-09-07 13:24:24 +01:00
security Merge branch 'master' into staging 2019-09-02 23:25:24 +02:00
system Merge branch 'master' into staging 2019-09-02 23:25:24 +02:00
torrent deluge service: fix my bad conflict resolution from f21211ebf 2019-09-08 08:42:53 +02:00
ttys treewide: remove redundant quotes 2019-08-26 21:40:19 +00:00
web-apps nginx: remove gzip_disable directive 2019-09-12 11:55:32 -05:00
web-servers nginx: remove gzip_disable directive 2019-09-12 11:55:32 -05:00
x11 nixos/gnome3: add gnome-shell xdg portal 2019-09-09 19:28:59 -04:00