[SSSD] [PATCH 2/2] sysv/gentoo: Send debug output to a file instead of stderr
Jakub Hrozek
jhrozek at redhat.com
Wed Dec 4 16:03:00 UTC 2013
On Mon, Dec 02, 2013 at 09:22:40PM +0100, Jakub Hrozek wrote:
> On Mon, Dec 02, 2013 at 06:37:08PM +0000, Markos Chandras wrote:
> > Output from init scripts should go to a file (ideally in
> > /var/log directory) instead of stderr.
> >
> > Signed-off-by: Markos Chandras <hwoarang at gentoo.org>
> > ---
> > 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 fd5d745..30d7559 100644
> > --- a/src/sysv/gentoo/sssd.in
> > +++ b/src/sysv/gentoo/sssd.in
> > @@ -7,7 +7,7 @@ depend(){
> >
> > start(){
> > ebegin "Starting sssd"
> > - start-stop-daemon --start --exec @sbindir@/sssd -- -D
> > + start-stop-daemon --start --exec @sbindir@/sssd -- -Df
> > eend ${?}
> > }
>
> ACK.
>
> I think this change makes sense, we do the same in the legacy sysv init
> script anyway.
>
> Basic sanity testing passed; see the first e-mail in the thread for more
> details.
Pushed to master and sssd-1-11
More information about the sssd-devel
mailing list