error running non-shared postrotate script for /var/log/samba/log.nmbd

Bug #1473762 reported by Stefan Breitegger
34
This bug affects 7 people
Affects Status Importance Assigned to Milestone
logrotate (Ubuntu)
Confirmed
Medium
Unassigned
samba (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

/etc/cron.daily/logrotate is reporting:

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

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: logrotate 3.8.7-1ubuntu1
ProcVersionSignature: Ubuntu 3.19.0-20.20-generic 3.19.8
Uname: Linux 3.19.0-20-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.17.2-0ubuntu1.1
Architecture: amd64
CurrentDesktop: LXDE
Date: Sun Jul 12 20:14:20 2015
InstallationDate: Installed on 2014-11-20 (234 days ago)
InstallationMedia: Lubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
SourcePackage: logrotate
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Stefan Breitegger (tuxstef) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in logrotate (Ubuntu):
status: New → Confirmed
Revision history for this message
Gábor Lipták (gliptak) wrote :

The fix can be done in /etc/logrotate.d/samba (my installed file is out-of-sync with the wily version ...).

Revision history for this message
Gábor Lipták (gliptak) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "samba_logrotate.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Changed in samba (Ubuntu):
status: New → Confirmed
Changed in logrotate (Ubuntu):
importance: Undecided → Medium
Changed in samba (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Jannik Grube (nulldeluxe) wrote :
Revision history for this message
Robie Basak (racb) wrote :

This was reported against Vivid in July 2015, and Vivid was EOL in Feb 2016 and never fixed in bug 1385868. So I think this is a duplicate of bug 1385868 and is now fixed in Wily, Xenial, Yakkety and Zesty. If this is incorrect, please comment with the release you tested and what package version of samba you have verified does not work.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.