Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 843248 - net-fs/samba-4.15.4-r3: winbindd doesn't work with -F and -i while other executable (nmbd, smbd) do
Summary: net-fs/samba-4.15.4-r3: winbindd doesn't work with -F and -i while other exec...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-08 06:23 UTC by jd93
Modified: 2022-05-09 07:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ...