Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 843248

Summary: net-fs/samba-4.15.4-r3: winbindd doesn't work with -F and -i while other executable (nmbd, smbd) do
Product: Gentoo Linux Reporter: jd93 <larry.phil76>
Component: Current packagesAssignee: Gentoo's SAMBA Team <samba>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description jd93 2022-05-08 06:23:34 UTC
Trying to run samba executables in foreground, by using -F (foreground) and -i (Interactive, log to STDOUT) flags.

Doing so with nmbd and smbd works just find but trying it with winbindd gives the following erro

$ winbindd -Fi                                                                                                                 
ERROR: Can't log to stdout (-S) unless daemon is in foreground +(-F) or interactive (-i)

Usage: winbindd [-?nDiFV] [-?|--help] [--usage] [-n|--no-caching] [-d|--debuglevel=DEBUGLEVEL] [--debug-stdout]
        [-s|--configfile=CONFIGFILE] [--option=name=value] [-l|--log-basename=LOGFILEBASE] [--leak-report] [--leak-report-full]
        [-D|--daemon] [-i|--interactive] [-F|--foreground] [--no-process-group] [-V|--version]


Reproducible: Always

Steps to Reproduce:
1. Run winbindd -Fi
Actual Results:  
ERROR: Can't log to stdout (-S) unless daemon is in foreground +(-F) or interactive (-i)

Usage: winbindd [-?nDiFV] [-?|--help] [--usage] [-n|--no-caching] [-d|--debuglevel=DEBUGLEVEL] [--debug-stdout]
        [-s|--configfile=CONFIGFILE] [--option=name=value] [-l|--log-basename=LOGFILEBASE] [--leak-report] [--leak-report-full]
        [-D|--daemon] [-i|--interactive] [-F|--foreground] [--no-process-group] [-V|--version]


Expected Results:  
smbd version 4.15.4 started.
Copyright Andrew Tridgell and the Samba Team 1992-2021
daemon_status: daemon 'winbindd' : Starting process ...