URL: https://github.com/SSSD/sssd/pull/5569
Author: alexey-tikhonov
 Title: #5569: SYSV files updates
Action: opened

PR body:
"""
 - removed unused SUSE/sssd.id
 - replaced '-f' option in gentoo/sssd.in
"""

To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/5569/head:pr5569
git checkout pr5569
From 077b904113eb4368384d88c865485cd55eb98cf7 Mon Sep 17 00:00:00 2001
From: Alexey Tikhonov <atikh...@redhat.com>
Date: Tue, 6 Apr 2021 17:23:12 +0200
Subject: [PATCH 1/2] SYSV: removed unused SUSE/sssd.id

see https://github.com/SSSD/sssd/pull/5535#issuecomment-814135680
---
 src/sysv/SUSE/sssd.in | 77 -------------------------------------------
 1 file changed, 77 deletions(-)
 delete mode 100644 src/sysv/SUSE/sssd.in

diff --git a/src/sysv/SUSE/sssd.in b/src/sysv/SUSE/sssd.in
deleted file mode 100644
index 04d3023131..0000000000
--- a/src/sysv/SUSE/sssd.in
+++ /dev/null
@@ -1,77 +0,0 @@
-#!/bin/sh
-### BEGIN INIT INFO
-# Provides: sssd
-# Required-Start: $remote_fs $time
-# Should-Start: $syslog
-# Should-Stop: $syslog
-# Required-Stop: $remote_fs
-# Default-Start:     3 5
-# Default-Stop:      0 1 2 4 6
-# Short-Description: System Security Services Daemon
-# Description: Provides a set of daemons to manage access to remote directories
-#              and authentication mechanisms. It provides an NSS and PAM
-#              interface toward the system and a pluggable backend system to
-#              connect to multiple different account sources. It is also the
-#              basis to provide client auditing and policy services for projects
-#              like FreeIPA.
-### END INIT INFO
-
-RETVAL=0
-prog="sssd"
-
-# Source function library.
-. /etc/rc.status
-rc_reset
-
-SSSD=@sbindir@/sssd
-PID_FILE=@localstatedir@/run/sssd.pid
-
-case "$1" in
-    start)
-        echo -n "Starting $prog "
-        /sbin/startproc $SSSD -f -D 2>/dev/null
-        rc_status -v
-        ;;
-
-    stop)
-        echo -n "Shutting down $prog "
-        /sbin/killproc -p $PID_FILE $SSSD -TERM
-        rc_status -v
-        ;;
-
-    restart)
-        $0 stop
-        $0 start
-        rc_status
-        ;;
-
-    reload)
-        echo -n "Reload service $prog "
-        killproc $SSSD -HUP
-        rc_status -v
-        ;;
-
-    force-reload)
-        $0 reload
-        ;;
-
-    status)
-        echo -n "Checking for service $prog"
-        /sbin/checkproc $SSSD
-        rc_status -v
-        ;;
-
-    condrestart|try-restart)
-        $0 status
-        if test $? = 0; then
-            $0 restart
-        else
-            rc_reset    # Not running is not a failure.
-        fi
-        rc_status
-        ;;
-    *)
-    echo "Usage: $0 {start|stop|status|restart|condrestart|try-restart|reload|force-reload}"
-    exit 1
-esac
-rc_exit

From b3a732ede933105261fc3fb54bd7bae0c0f87d9d Mon Sep 17 00:00:00 2001
From: Alexey Tikhonov <atikh...@redhat.com>
Date: Tue, 6 Apr 2021 17:25:51 +0200
Subject: [PATCH 2/2] SYSV: replaced '-f' option in gentoo/sssd.in

This is follow up for PR#5535
---
 src/sysv/gentoo/sssd.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sysv/gentoo/sssd.in b/src/sysv/gentoo/sssd.in
index ebc1e86205..2268786157 100644
--- a/src/sysv/gentoo/sssd.in
+++ b/src/sysv/gentoo/sssd.in
@@ -4,7 +4,7 @@
 
 
 command="@sbindir@/sssd"
-command_args="-Df ${SSSD_OPTIONS}"
+command_args="-D --logger=files ${SSSD_OPTIONS}"
 description="System Security Services Daemon"
 pidfile="@pidpath@/sssd.pid"
 #sssd may take time time to TERMinate so allow som extra time
_______________________________________________
sssd-devel mailing list -- sssd-devel@lists.fedorahosted.org
To unsubscribe send an email to sssd-devel-le...@lists.fedorahosted.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/sssd-devel@lists.fedorahosted.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to