Command: /usr/bin/smbcontrol winbindd reload-config
return value 1 if there is no winbind process.
I believe solution maybe to change in /etc/logrotate.d/winbind
from
postrotate
if [ -x /usr/bin/smbcontrol ]; then
/usr/bin/smbcontrol winbindd reload-config
elif [ -f /run/samba/winbindd.pid ]; then
kill -HUP `cat /run/samba/winbindd.pid`
fi
endscript
to
postrotate
if [ -f /run/samba/winbindd.pid ]; then
if [ -x /usr/bin/smbcontrol ]; then
/usr/bin/smbcontrol winbindd reload-config
else
kill -HUP `cat /run/samba/winbindd.pid`
fi
fi
endscript
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1953719
Title:
logrotate.service fails because it starts before winbind.service
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/logrotate/+bug/1953719/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs