1

journalctl and samba stdout problem

view story
linux-howto

https://bbs.archlinux.org – frojnd wrote:C'mon SyS admins Where are you?I am assuming that you use the stock {s,n}mbd.service. Then, it starts smbd with -F = foreground. Now, the problem is that samba will produce an error, assume -D and fork into background (just check "systemct status smbd.service" as root). So, you'll need log files. Moreover,  journald does capture system logs, not necessarily from stdout.For example, in my case$ gr -v -e "^$" -e "^#" -e "^;" ../configs/metal-0/smb.conf [global] strict allocate = yes socket options = IPTOS_LOWDELAY TCP_NO (HowTos)