diff options
author | Parnell Springmeyer <parnell@digitalmentat.com> | 2017-03-08 08:57:52 -0600 |
---|---|---|
committer | Parnell Springmeyer <parnell@digitalmentat.com> | 2017-03-08 08:57:52 -0600 |
commit | 4c751ced376e0042ddd4f2aa8bd40754b9ea8926 (patch) | |
tree | 47bc6622900b0d1a402ce5810d7c0ff50fd91c92 /nixos/modules/security/wrappers | |
parent | 763e21e982370f67c126f92a1113ea949db3b6e0 (diff) | |
download | nixlib-4c751ced376e0042ddd4f2aa8bd40754b9ea8926.tar nixlib-4c751ced376e0042ddd4f2aa8bd40754b9ea8926.tar.gz nixlib-4c751ced376e0042ddd4f2aa8bd40754b9ea8926.tar.bz2 nixlib-4c751ced376e0042ddd4f2aa8bd40754b9ea8926.tar.lz nixlib-4c751ced376e0042ddd4f2aa8bd40754b9ea8926.tar.xz nixlib-4c751ced376e0042ddd4f2aa8bd40754b9ea8926.tar.zst nixlib-4c751ced376e0042ddd4f2aa8bd40754b9ea8926.zip |
security-wrapper: Don't remove the old paths yet as that can create migration pain
Diffstat (limited to 'nixos/modules/security/wrappers')
-rw-r--r-- | nixos/modules/security/wrappers/default.nix | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/nixos/modules/security/wrappers/default.nix b/nixos/modules/security/wrappers/default.nix index 65d875c3a375..0aca39fd6bed 100644 --- a/nixos/modules/security/wrappers/default.nix +++ b/nixos/modules/security/wrappers/default.nix @@ -177,25 +177,6 @@ in # programs to be wrapped. WRAPPER_PATH=${config.system.path}/bin:${config.system.path}/sbin - # Remove the old /var/setuid-wrappers path from the system... - # - # TODO: this is only necessary for ugprades 16.09 => 17.x; - # this conditional removal block needs to be removed after - # the release. - if [ -d /var/setuid-wrappers ]; then - rm -rf /var/setuid-wrappers - fi - - # Remove the old /run/setuid-wrappers-dir path from the - # system as well... - # - # TODO: this is only necessary for ugprades 16.09 => 17.x; - # this conditional removal block needs to be removed after - # the release. - if [ -d /run/setuid-wrapper-dirs ]; then - rm -rf /run/setuid-wrapper-dirs - fi - # We want to place the tmpdirs for the wrappers to the parent dir. wrapperDir=$(mktemp --directory --tmpdir="${parentWrapperDir}" wrappers.XXXXXXXXXX) chmod a+rx $wrapperDir |