kdenetwork-filesharing breaks smb.conf (was: samba fails to install/upgrade with postinst exit status 139)

Bug #378367 reported by Alessandro Ghersi
38
This bug affects 5 people
Affects Status Importance Assigned to Milestone
kdenetwork (Ubuntu)
Expired
Undecided
Unassigned
samba (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: samba

On fresh installation of Kubuntu Jaunty 64bit,
sudo apt-get install samba smbfs

After this operation, 18.6MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com jaunty/main samba 2:3.3.2-1ubuntu3 [5071kB]
Get:2 http://archive.ubuntu.com jaunty/main smbfs 2:3.3.2-1ubuntu3 [1687kB]
Fetched 6758kB in 41s (163kB/s)
Preconfiguring packages ...
Selecting previously deselected package samba.
(Reading database ... 178321 files and directories currently installed.)
Unpacking samba (from .../samba_2%3a3.3.2-1ubuntu3_amd64.deb) ...
Selecting previously deselected package smbfs.
Unpacking smbfs (from .../smbfs_2%3a3.3.2-1ubuntu3_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for ufw ...
Setting up samba (2:3.3.2-1ubuntu3) ...
Generating /etc/default/samba...
startsmbfilepwent_internal: file file:///etc/samba/smbpasswd did not exist. Couldn't create new one. Error was: No such file or directoryCould not start searching users
Segmentation fault
dpkg: error processing samba (--configure):
 subprocess post-installation script returned error exit status 139
Setting up smbfs (2:3.3.2-1ubuntu3) ...
Errors were encountered while processing:
 samba
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
Architecture: amd64
DistroRelease: Ubuntu 9.04
ErrorMessage: subprocess post-installation script returned error exit status 139
NonfreeKernelModules: nvidia
Package: samba 2:3.3.2-1ubuntu3
SourcePackage: samba
Title: package samba 2:3.3.2-1ubuntu3 failed to install/upgrade: subprocess post-installation script returned error exit status 139
Uname: Linux 2.6.29.3 x86_64

Revision history for this message
Alessandro Ghersi (alessandro-ghersi) wrote :
Revision history for this message
Thierry Carrez (ttx) wrote :

Looks like a duplicate of bug 370464. Could you attach your /etc/samba/smb.conf file ?
If there is a "smb passwd file = file:///etc/samba/smbpasswd" line in there, any idea where it comes from ?

Changed in samba (Ubuntu):
status: New → Incomplete
Revision history for this message
Thierry Carrez (ttx) wrote :

Looks like a problem in kdenetwork-filesharing, which rewrites smb.conf entries with "file://" prefixes. Bug 373618 is related. With a broken smb.conf samba installation/upgrade will fail.

Reassigning to kdenetwork and renaming.

summary: - package samba 2:3.3.2-1ubuntu3 failed to install/upgrade: subprocess
- post-installation script returned error exit status 139
+ kdenetwork-filesharing breaks smb.conf (was: samba fails to
+ install/upgrade with postinst exit status 139)
Revision history for this message
Thierry Carrez (ttx) wrote :

Not a bug in samba.

Changed in samba (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Alessandro Ghersi (alessandro-ghersi) wrote :

Still an issue in Lucid or Maverick?

Changed in kdenetwork (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for kdenetwork (Ubuntu) because there has been no activity for 60 days.]

Changed in kdenetwork (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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