[systemd/f20] Use canonical location of /sbin/nologin

Zbigniew Jędrzejewski-Szmek zbyszek at fedoraproject.org
Sun Oct 26 22:41:19 UTC 2014


commit 47b3ae73a72fa018004a0923a15ffac7bd81c259
Author: Zbigniew Jędrzejewski-Szmek <zbyszek at in.waw.pl>
Date:   Tue Jul 29 13:35:13 2014 -0400

    Use canonical location of /sbin/nologin
    
    rpmgrill complains otherwise.

 systemd.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/systemd.spec b/systemd.spec
index c5c64b4..6ec2f46 100644
--- a/systemd.spec
+++ b/systemd.spec
@@ -978,7 +978,7 @@ fi
 
 %pre journal-gateway
 getent group systemd-journal-gateway >/dev/null 2>&1 || groupadd -r -g 191 systemd-journal-gateway 2>&1 || :
-getent passwd systemd-journal-gateway >/dev/null 2>&1 || useradd -r -l -u 191 -g systemd-journal-gateway -d %{_localstatedir}/log/journal -s /usr/sbin/nologin -c "Journal Gateway" systemd-journal-gateway >/dev/null 2>&1 || :
+getent passwd systemd-journal-gateway >/dev/null 2>&1 || useradd -r -l -u 191 -g systemd-journal-gateway -d %{_localstatedir}/log/journal -s /sbin/nologin -c "Journal Gateway" systemd-journal-gateway >/dev/null 2>&1 || :
 
 %post journal-gateway
 %systemd_post systemd-journal-gatewayd.socket systemd-journal-gatewayd.service


More information about the scm-commits mailing list