From b5edc1b0a245d96b1e4322e4af490247efe39ccb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Fri, 23 Feb 2024 02:00:31 +0100 Subject: [PATCH] systemd, debian: Install authd in /usr/libexec authd is not a program that is meant to be ran by user, so there's no point for it being in PATH, as it's systemd running it. So move it where most daemons stay these daysystemd, debian: Install authd in /usr/libexec authd is not a program that is meant to be ran by user, so there's no point for it being in PATH, as it's systemd running it. So move it where most daemons stay these days --- debian/install | 2 +- systemd/authd.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/install b/debian/install index e9e96b409..89b994d66 100755 --- a/debian/install +++ b/debian/install @@ -1,7 +1,7 @@ #!/usr/bin/dh-exec # Install daemon in /sbin -usr/bin/authd /usr/sbin/ +usr/bin/authd /usr/libexec # pam-auth-update files debian/pam-configs/* /usr/share/pam-configs diff --git a/systemd/authd.service b/systemd/authd.service index 2b87e2a35..f3ae33c02 100644 --- a/systemd/authd.service +++ b/systemd/authd.service @@ -6,7 +6,7 @@ PartOf=authd.socket [Service] Type=notify -ExecStart=/usr/sbin/authd +ExecStart=/usr/libexec/authd # Some daemon restrictions LockPersonality=yes