[Bug 529290] Re: logrotate script needs to be updated for Upstart conversion

Simon Déziel 529290 at bugs.launchpad.net
Tue Jun 28 22:09:09 UTC 2011


Changing the kill -HUP `cat /var/run/samba/smbd.pid` for the upstart
"reload" doesn't work either.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/529290

Title:
  logrotate script needs to be updated for Upstart conversion

Status in “samba” package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: samba

  /etc/logrotate.d/samba produces error output, because the smbd stanza
  calls 'invoke-rc.d --quiet samba reload > /dev/null' in a postrotate
  stanza (no stderr redirection, nor should there be).  This should be
  updated to use Upstart's facilities.  I suspect the same may go for
  the nmbd stanza, which currently calls '[ ! -f /var/run/samba/nmbd.pid
  ] || kill -HUP `cat /var/run/samba/nmbd.pid`'.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/529290/+subscriptions




More information about the foundations-bugs mailing list