Activity log for bug #1385868

Date Who What changed Old value New value Message
2014-10-26 12:59:28 Josh Holland bug added bug
2014-12-28 09:53:25 Launchpad Janitor samba (Ubuntu): status New Confirmed
2014-12-28 15:08:55 Alberto Salvia Novella bug task added hundredpapercuts
2014-12-28 15:09:03 Alberto Salvia Novella hundredpapercuts: status New Confirmed
2014-12-28 15:10:04 Alberto Salvia Novella samba (Ubuntu): importance Undecided Medium
2014-12-28 15:10:09 Alberto Salvia Novella hundredpapercuts: importance Undecided Medium
2015-03-30 13:00:01 Max Bowsher bug added subscriber Max Bowsher
2015-04-26 18:15:51 Jared Fernandez bug added subscriber Jared Fernandez
2015-04-26 22:04:13 Richard Huddleston bug added subscriber Richard Huddleston
2015-06-21 21:27:50 Richard Hansen bug added subscriber Richard Hansen
2015-06-28 10:19:19 Urop bug added subscriber Poru
2015-07-06 20:45:10 Simon Arlott attachment added 0001-Use-smbcontrol-for-log-rotation.patch https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1385868/+attachment/4425294/+files/0001-Use-smbcontrol-for-log-rotation.patch
2015-07-07 00:19:06 Ubuntu Foundations Team Bug Bot tags amd64 apport-bug utopic amd64 apport-bug patch utopic
2015-07-07 00:19:16 Ubuntu Foundations Team Bug Bot bug added subscriber Ubuntu Review Team
2015-08-03 12:39:19 Clement Cherlin bug added subscriber Clement Cherlin
2015-09-06 12:07:31 elatllat bug added subscriber elatllat
2015-09-19 14:44:43 Mark Fraser bug added subscriber Mark Fraser
2015-09-24 08:51:09 Sebastien Bacher bug added subscriber Ubuntu Sponsors Team
2015-09-28 17:26:38 Bruce Pieterse bug added subscriber Bruce Pieterse
2015-09-28 17:27:12 Bruce Pieterse tags amd64 apport-bug patch utopic amd64 apport-bug patch vivid wiley
2015-09-28 17:36:29 Bruce Pieterse tags amd64 apport-bug patch vivid wiley amd64 apport-bug patch vivid wily
2015-10-09 23:18:39 trent-- bug added subscriber trent--
2015-11-10 18:07:09 Sebastien Bacher bug watch added http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=804705
2015-11-10 18:07:20 Sebastien Bacher removed subscriber Ubuntu Sponsors Team
2015-11-10 18:08:45 Sebastien Bacher description I received the following in an email from Anacron: /etc/cron.daily/logrotate: Usage: /etc/init.d/nmbd {start|stop|restart|force-reload|status} error: error running non-shared postrotate script for /var/log/samba/log.nmbd of '/var/log/samba/log.nmbd ' run-parts: /etc/cron.daily/logrotate exited with return code 1 On further investigation I found that the problem lies in the /etc/logrotate.d/samba file: /var/log/samba/log.nmbd { weekly missingok rotate 7 postrotate service nmbd reload 2>/dev/null endscript compress notifempty } where the postrotate script specifies a "reload", which the init script does not recognise. ProblemType: Bug DistroRelease: Ubuntu 14.10 Package: samba 2:4.1.11+dfsg-1ubuntu2 ProcVersionSignature: Ubuntu 3.16.0-23.31-generic 3.16.4 Uname: Linux 3.16.0-23-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 2.14.7-0ubuntu8 Architecture: amd64 CurrentDesktop: Unity Date: Sun Oct 26 12:36:21 2014 InstallationDate: Installed on 2014-05-30 (148 days ago) InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417) OtherFailedConnect: Yes SambaServerRegression: No SmbConfIncluded: No SourcePackage: samba UpgradeStatus: Upgraded to utopic on 2014-10-18 (8 days ago) * Impact the logrotate script uses an invalid reload syntax * Test case install samba, rotate the log, look at errors emails * Impact the command used now is the debian one, it should work, still check it reloads the service as it should -------------------- I received the following in an email from Anacron: /etc/cron.daily/logrotate: Usage: /etc/init.d/nmbd {start|stop|restart|force-reload|status} error: error running non-shared postrotate script for /var/log/samba/log.nmbd of '/var/log/samba/log.nmbd ' run-parts: /etc/cron.daily/logrotate exited with return code 1 On further investigation I found that the problem lies in the /etc/logrotate.d/samba file: /var/log/samba/log.nmbd {  weekly  missingok  rotate 7  postrotate   service nmbd reload 2>/dev/null  endscript  compress  notifempty } where the postrotate script specifies a "reload", which the init script does not recognise. ProblemType: Bug DistroRelease: Ubuntu 14.10 Package: samba 2:4.1.11+dfsg-1ubuntu2 ProcVersionSignature: Ubuntu 3.16.0-23.31-generic 3.16.4 Uname: Linux 3.16.0-23-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 2.14.7-0ubuntu8 Architecture: amd64 CurrentDesktop: Unity Date: Sun Oct 26 12:36:21 2014 InstallationDate: Installed on 2014-05-30 (148 days ago) InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417) OtherFailedConnect: Yes SambaServerRegression: No SmbConfIncluded: No SourcePackage: samba UpgradeStatus: Upgraded to utopic on 2014-10-18 (8 days ago)
2015-11-11 10:59:01 Launchpad Janitor samba (Ubuntu): status Confirmed Fix Released
2015-11-12 17:57:53 Brian Murray nominated for series Ubuntu Wily
2015-11-12 17:57:53 Brian Murray bug task added samba (Ubuntu Wily)
2015-11-12 17:58:01 Brian Murray samba (Ubuntu Wily): importance Undecided Medium
2015-11-12 17:58:12 Brian Murray samba (Ubuntu Wily): status New Fix Committed
2015-11-12 17:58:13 Brian Murray bug added subscriber Ubuntu Stable Release Updates Team
2015-11-12 17:58:15 Brian Murray bug added subscriber SRU Verification
2015-11-12 17:58:24 Brian Murray tags amd64 apport-bug patch vivid wily amd64 apport-bug patch verification-needed vivid wily
2015-11-27 07:19:37 Sebastien Bacher tags amd64 apport-bug patch verification-needed vivid wily amd64 apport-bug patch verification-done vivid wily
2015-12-02 18:49:56 Launchpad Janitor samba (Ubuntu Wily): status Fix Committed Fix Released
2015-12-02 18:50:06 Chris J Arges removed subscriber Ubuntu Stable Release Updates Team