package samba 2:3.5.6~dfsg-4ubuntu2 failed to install/upgrade: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1

Bug #707563 reported by Laurent Bigonville
256
This bug affects 32 people
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: samba

Post-install script fails to start nmbd

ProblemType: Package
DistroRelease: Ubuntu 11.04
Package: samba 2:3.5.6~dfsg-4ubuntu2
ProcVersionSignature: Ubuntu 2.6.37-12.26-generic 2.6.37
Uname: Linux 2.6.37-12-generic x86_64
Architecture: amd64
Date: Tue Jan 25 19:10:02 2011
ErrorMessage: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1
SourcePackage: initramfs-tools
Title: package samba 2:3.5.6~dfsg-4ubuntu2 failed to install/upgrade: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1

Related branches

Revision history for this message
Laurent Bigonville (bigon) wrote :
Jelmer Vernooij (jelmer)
Changed in samba (Ubuntu):
assignee: nobody → Jelmer Vernooij (jelmer)
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

This might be related to my fix for bug 596064.

What does 'testparm' output for you? Do you have 'disable netbios' set?

Changed in samba (Ubuntu):
assignee: Jelmer Vernooij (jelmer) → nobody
Revision history for this message
Laurent Bigonville (bigon) wrote :

bigon@fornost:~$ sudo testparm -s|grep netbios
Load smb config files from /etc/samba/smb.conf
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
Processing section "[printers]"
Processing section "[print$]"
Loaded services file OK.
Server role: ROLE_STANDALONE

no, nothing

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Does either of the following commands return non-zero?

testparm -s --parameter-name='disable netbios' 2>/dev/null
install -o root -g root -m 755 -d /var/run/samba

Changed in samba (Ubuntu):
assignee: nobody → Jelmer Vernooij (jelmer)
status: New → Confirmed
Revision history for this message
Laurent Bigonville (bigon) wrote :

bigon@fornost:~$ testparm -s --parameter-name='disable netbios' 2>/dev/null
No
bigon@fornost:~$ echo $?
0
bigon@fornost:~$ install -o root -g root -m 755 -d /var/run/samba
bigon@fornost:~$ echo $?
0
bigon@fornost:~$ sudo install -o root -g root -m 755 -d /var/run/samba
[sudo] password for bigon:
bigon@fornost:~$ echo $?
0

doesn't look like

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Thanks for the feedback. I managed to reproduce it, preparing a patch now.

Jelmer Vernooij (jelmer)
Changed in samba (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

The attached patch fixes the issue for me.

Revision history for this message
Artur Rona (ari-tczew) wrote :

Please don't set In Progress if you are not a developer/sponsor.

Changed in samba (Ubuntu):
assignee: Jelmer Vernooij (jelmer) → nobody
status: In Progress → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package samba - 2:3.5.6~dfsg-4ubuntu3

---------------
samba (2:3.5.6~dfsg-4ubuntu3) natty; urgency=low

  * Fix exit code of pre-start script in nmbd upstart script. (LP: #707563)
  * Skip testparm run if smb.conf does not exist in nmbd upstart script.
 -- Jelmer Vernooij <email address hidden> Tue, 25 Jan 2011 15:16:31 -0800

Changed in samba (Ubuntu):
status: Confirmed → Fix Released
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.