summary refs log tree commit diff
diff options
context:
space:
mode:
authorSamuel Dionne-Riel <samuel@dionne-riel.com>2021-06-03 22:13:31 -0400
committerrnhmjoj <rnhmjoj@inventati.org>2023-09-04 08:51:54 +0200
commit0c30c277a67ca213c558c87f7bc6b7d54ae11786 (patch)
tree61258f62811f869a9a8ac9290142d48402572fa5
parent0d09cc7cf6588be8efb4d3dda99b9c1e7de1919b (diff)
downloadnixpkgs-0c30c277a67ca213c558c87f7bc6b7d54ae11786.tar
nixpkgs-0c30c277a67ca213c558c87f7bc6b7d54ae11786.tar.gz
nixpkgs-0c30c277a67ca213c558c87f7bc6b7d54ae11786.tar.bz2
nixpkgs-0c30c277a67ca213c558c87f7bc6b7d54ae11786.tar.lz
nixpkgs-0c30c277a67ca213c558c87f7bc6b7d54ae11786.tar.xz
nixpkgs-0c30c277a67ca213c558c87f7bc6b7d54ae11786.tar.zst
nixpkgs-0c30c277a67ca213c558c87f7bc6b7d54ae11786.zip
anbox: remove (thankfully inactive) "su" default
The `anbox-application-manager` helper, which is actually broken as it's
not installed as +x, starts "su" by default, which might not be
desirable, depending on the end-user's wishes.
-rw-r--r--pkgs/os-specific/linux/anbox/default.nix7
1 files changed, 0 insertions, 7 deletions
diff --git a/pkgs/os-specific/linux/anbox/default.nix b/pkgs/os-specific/linux/anbox/default.nix
index 52942a4330e..4fd48a63522 100644
--- a/pkgs/os-specific/linux/anbox/default.nix
+++ b/pkgs/os-specific/linux/anbox/default.nix
@@ -36,13 +36,6 @@ let
 
   anbox-application-manager = writeScript "anbox-application-manager" ''
     #!${runtimeShell}
-
-    ${systemd}/bin/busctl --user call \
-        org.freedesktop.DBus \
-        /org/freedesktop/DBus \
-        org.freedesktop.DBus \
-        StartServiceByName "su" org.anbox 0
-
     @out@/bin/anbox launch --package=org.anbox.appmgr --component=org.anbox.appmgr.AppViewActivity
   '';