[Bug 638238] [NEW] samba failed to install and crashes on login - package samba-common 2:3.4.7~dfsg-1ubuntu3.2 failed to install/upgrade: subprocess installed post-installation script returned error e

2010-09-14 Thread Iwan Mota
Public bug reported:

Binary package hint: samba

Initial problem was my cifs fstab mounts all of the sudden stopped
working immediately on bootup; Exit with error 32 on mountall.

Was working fine until today. They still mount, eventually, but slow
down my login to gnome by an appreciable amount.

Contents of my fstab:

[code]
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# file system mount point   type  options   dump  pass
proc/proc   procnodev,noexec,nosuid 0   0
# / was on /dev/sdb1 during installation
UUID=ee0061ca-3ab4-425a-b3a2-9d82ee6dde75 /   ext4
errors=remount-ro 0   1
# /home was on /dev/sdb3 during installation
UUID=4ca20b4b-2bfb-4d39-bfac-bdfb33d90e16 /home   ext4defaults  
  0   2
# swap was on /dev/sdb2 during installation
UUID=c798fd10-08d4-4373-86d9-0bf0d9a77101 noneswapsw
  0   0

#ADDED 20100907
UUID=DA44227544225513 /media/DATA   ntfsdefaults0   0
UUID=d2bff7a8-abdf-43c7-ad20-1e9d7acb02c4 /media/ExtraData ext4 defaults 0 2

#ADDED 20100830
//192.0.0.212/IwanMota /media/IwanMota cifs 
iocharset=utf8,credentials=/home/imota/.smbcredentials,file_mode=0777,dir_mode=0777
 0 0
//192.0.0.212/ITEngShare /media/ITEngShare cifs 
iocharset=utf8,credentials=/home/imota/.smbcredentials,file_mode=0777,dir_mode=0777
 0 0
//192.0.0.212/EngineerShare /media/EngineerShare cifs 
iocharset=utf8,credentials=/home/imota/.smbcredentials,file_mode=0777,dir_mode=0777
 0 0
//192.0.0.212/ITEngShare/ScannedDocs /media/ScannedDocs cifs 
iocharset=utf8,credentials=/home/imota/.smbcredentials,file_mode=0777,dir_mode=0777
 0 0

[/code]

I then ran update-manager and a few samba packages were marked for updates, so 
I ran it thinking it might solve my problem.
Exited with the following errors:
E: samba-common: subprocess installed post-installation script returned error 
exit status 1
E: samba-common-bin: dependency problems - leaving unconfigured
E: samba: dependency problems - leaving unconfigured
E: smbclient: dependency problems - leaving unconfigured
E: smbfs: dependency problems - leaving unconfigured

I then restarted the computer, went into package manager to grab another
package, installed it and got the errors above again, although the other
package installed fine.

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: samba-common 2:3.4.7~dfsg-1ubuntu3.2
ProcVersionSignature: Ubuntu 2.6.32-24.42-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Tue Sep 14 12:59:41 2010
ErrorMessage: subprocess installed post-installation script returned error exit 
status 1
InstallationMedia: Ubuntu 10.04.1 LTS Lucid Lynx - Release amd64 (20100816.1)
PackageArchitecture: all
RelatedPackageVersions:
 nautilus 1:2.30.1-0ubuntu1.1
 gvfs 1.6.1-0ubuntu1build1
SambaClientRegression: Yes
SourcePackage: samba
Title: package samba-common 2:3.4.7~dfsg-1ubuntu3.2 failed to install/upgrade: 
subprocess installed post-installation script returned error exit status 1

** Affects: samba (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-package lucid

-- 
samba failed to install and crashes on login - package samba-common 
2:3.4.7~dfsg-1ubuntu3.2 failed to install/upgrade: subprocess installed 
post-installation script returned error exit status 1
https://bugs.launchpad.net/bugs/638238
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 638238] Re: samba failed to install and crashes on login - package samba-common 2:3.4.7~dfsg-1ubuntu3.2 failed to install/upgrade: subprocess installed post-installation script returned error exi

2010-09-14 Thread Iwan Mota

** Attachment added: AptOrdering.txt
   
https://bugs.launchpad.net/bugs/638238/+attachment/1583961/+files/AptOrdering.txt

** Attachment added: Dependencies.txt
   
https://bugs.launchpad.net/bugs/638238/+attachment/1583963/+files/Dependencies.txt

** Attachment added: Df.txt
   https://bugs.launchpad.net/bugs/638238/+attachment/1583965/+files/Df.txt

** Attachment added: Dmesg.txt
   https://bugs.launchpad.net/bugs/638238/+attachment/1583967/+files/Dmesg.txt

** Attachment added: DpkgTerminalLog.gz
   
https://bugs.launchpad.net/bugs/638238/+attachment/1583969/+files/DpkgTerminalLog.gz

** Attachment added: SambaInstalledVersions.txt
   
https://bugs.launchpad.net/bugs/638238/+attachment/1583971/+files/SambaInstalledVersions.txt

-- 
samba failed to install and crashes on login - package samba-common 
2:3.4.7~dfsg-1ubuntu3.2 failed to install/upgrade: subprocess installed 
post-installation script returned error exit status 1
https://bugs.launchpad.net/bugs/638238
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 638238] Re: samba failed to install and crashes on login - package samba-common 2:3.4.7~dfsg-1ubuntu3.2 failed to install/upgrade: subprocess installed post-installation script returned error exi

2010-09-14 Thread Iwan Mota
This might also be of interest; dpkg.log.debug shows when the update-
manager first tried to install the samba package updates, when I
manually installed another package (x-screensaver) and when it failed
again and crashed.

The other is my boot.log... Interestingly it is complaining of my
.smbcredentials file, so I will check into that and see if that's the
reason my mounts fail initially and/or the samba packages failed.

** Attachment added: boot.log.debug
   
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/638238/+attachment/1584038/+files/boot.log.debug

-- 
samba failed to install and crashes on login - package samba-common 
2:3.4.7~dfsg-1ubuntu3.2 failed to install/upgrade: subprocess installed 
post-installation script returned error exit status 1
https://bugs.launchpad.net/bugs/638238
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 638238] Re: samba failed to install and crashes on login - package samba-common 2:3.4.7~dfsg-1ubuntu3.2 failed to install/upgrade: subprocess installed post-installation script returned error exi

2010-09-14 Thread Iwan Mota

** Attachment added: dpkg.log.debug
   
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/638238/+attachment/1584039/+files/dpkg.log.debug

-- 
samba failed to install and crashes on login - package samba-common 
2:3.4.7~dfsg-1ubuntu3.2 failed to install/upgrade: subprocess installed 
post-installation script returned error exit status 1
https://bugs.launchpad.net/bugs/638238
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 638238] Re: samba failed to install and crashes on login - package samba-common 2:3.4.7~dfsg-1ubuntu3.2 failed to install/upgrade: subprocess installed post-installation script returned error exi

2010-09-14 Thread Iwan Mota
Just rebooted after editing my .smbcredentials file...

Everything is mounted, delay on bootup was a lot shorter but still
getting boot.log errors:

fsck from util-linux-ng 2.17.2

fsck from util-linux-ng 2.17.2

fsck from util-linux-ng 2.17.2

/dev/sdb1: clean, 182541/644640 files, 1252276/2578424 blocks

Extra_Data: clean, 37/6381568 files, 4285444/25497155 blocks

/dev/sdb3 has been mounted 39 times without being checked, check forced.

init: ureadahead-other main process (846) terminated with status 4


init: ureadahead-other main process (855) terminated with status 4


error -1 (Unknown error 18446744073709551615) opening credential file 
/home/imota/.smbcredentials

error -1 (Unknown error 18446744073709551615) opening credential file
/home/imota/.smbcredentials

mountall: mount /media/IwanMota [856] terminated with status 1

mountall: mount /media/ITEngShare [857] terminated with status 1

error -1 (Unknown error 18446744073709551615) opening credential file
/home/imota/.smbcredentials

mountall: mount /media/EngineerShare [859] terminated with status 1

error -1 (Unknown error 18446744073709551615) opening credential file
/home/imota/.smbcredentials

mountall: mount /media/ScannedDocs [860] terminated with status 1

/dev/sdb3: 18439/8871936 files (1.8% non-contiguous), 1418752/35459471
blocks

mount error(101): Network is unreachable

Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

mountall: mount /media/EngineerShare [909] terminated with status 32

mount error(101): Network is unreachable

Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

mountall: mount /media/ScannedDocs [913] terminated with status 32

mount error(101): Network is unreachable

Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

mountall: mount /media/ITEngShare [903] terminated with status 32

mount error(101): Network is unreachable

Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

mountall: mount /media/IwanMota [901] terminated with status 32

AGAIN: I didn't change anything about my network, everything is
reachable, everything gets mounted; Didn't change the order of my init.d
scripts... Nothing changed except the system upgrades triggered by
update-manager.

-- 
samba failed to install and crashes on login - package samba-common 
2:3.4.7~dfsg-1ubuntu3.2 failed to install/upgrade: subprocess installed 
post-installation script returned error exit status 1
https://bugs.launchpad.net/bugs/638238
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 638238] Re: samba failed to install and crashes on login - package samba-common 2:3.4.7~dfsg-1ubuntu3.2 failed to install/upgrade: subprocess installed post-installation script returned error exi

2010-09-14 Thread Iwan Mota
Tried a full purge of the guilty packages, followed a suggestion I found
online (removed /usr/share/samba/smb.conf), reinstalled, no error on
installation of latest releases.

However still getting errors on boot:

boot.log contents

fsck from util-linux-ng 2.17.2

fsck from util-linux-ng 2.17.2

fsck from util-linux-ng 2.17.2

/dev/sdb1: clean, 170393/644640 files, 1183678/2578424 blocks

Extra_Data: clean, 37/6381568 files, 4285444/25497155 blocks

init: ureadahead-other main process (674) terminated with status 4


/dev/sdb3: clean, 18462/8871936 files, 1419114/35459471 blocks

init: ureadahead-other main process (771) terminated with status 4


init: ureadahead-other main process (796) terminated with status 4


mount error: cifs filesystem not supported by the system

mount error(19): No such device

Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

mount error: cifs filesystem not supported by the system

mount error(19): No such device

Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

mount error: cifs filesystem not supported by the system

mount error(19): No such device

Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

mountall: mount /media/IwanMota [772] terminated with status 32

mountall: mount /media/EngineerShare [774] terminated with status 32

mountall: mount /media/ScannedDocs [775] terminated with status 32

mount error(101): Network is unreachable

Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

mountall: mount /media/ITEngShare [773] terminated with status 32

-- 
samba failed to install and crashes on login - package samba-common 
2:3.4.7~dfsg-1ubuntu3.2 failed to install/upgrade: subprocess installed 
post-installation script returned error exit status 1
https://bugs.launchpad.net/bugs/638238
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 638238] Re: Error mounting CIFS shares

2010-09-15 Thread Iwan Mota
Hi Thierry,

Thank you for the quick response.

I checked for cifs-utils and could not find it as a valid package for my
distro (Lucid 10.04). I did a quick man mount-cifs, first line of
description says:

This tool is part of the samba(7) suite.

So I ran a quick dpkg --get-selections:

 dpkg --get-selections | grep samba
libsamba-hostconfig-dev install
libsamba-hostconfig0install
libsamba-util-dev   install
samba   install
samba-commoninstall
samba-common-bininstall

So it looks like I have all the samba-related packages installed.

My repositories are:

cat /etc/apt/sources.list
# deb cdrom:[Ubuntu 10.04.1 LTS _Lucid Lynx_ - Release amd64 (20100816.1)]/ 
lucid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://ubuntu.mirror.rafal.ca/ubuntu/ lucid main restricted
deb-src http://ubuntu.mirror.rafal.ca/ubuntu/ lucid main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://ubuntu.mirror.rafal.ca/ubuntu/ lucid-updates main restricted
deb-src http://ubuntu.mirror.rafal.ca/ubuntu/ lucid-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://ubuntu.mirror.rafal.ca/ubuntu/ lucid universe
deb-src http://ubuntu.mirror.rafal.ca/ubuntu/ lucid universe
deb http://ubuntu.mirror.rafal.ca/ubuntu/ lucid-updates universe
deb-src http://ubuntu.mirror.rafal.ca/ubuntu/ lucid-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://ubuntu.mirror.rafal.ca/ubuntu/ lucid multiverse
deb-src http://ubuntu.mirror.rafal.ca/ubuntu/ lucid multiverse
deb http://ubuntu.mirror.rafal.ca/ubuntu/ lucid-updates multiverse
deb-src http://ubuntu.mirror.rafal.ca/ubuntu/ lucid-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://us.archive.ubuntu.com/ubuntu/ lucid-backports main restricted 
universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-backports main restricted 
universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu lucid partner
# deb-src http://archive.canonical.com/ubuntu lucid partner

deb http://ubuntu.mirror.rafal.ca/ubuntu/ lucid-security main restricted
deb-src http://ubuntu.mirror.rafal.ca/ubuntu/ lucid-security main restricted
deb http://ubuntu.mirror.rafal.ca/ubuntu/ lucid-security universe
deb-src http://ubuntu.mirror.rafal.ca/ubuntu/ lucid-security universe
deb http://ubuntu.mirror.rafal.ca/ubuntu/ lucid-security multiverse
deb-src http://ubuntu.mirror.rafal.ca/ubuntu/ lucid-security multiverse
deb http://archive.canonical.com/ lucid partner


Again, thank you for looking into this.

P.S. The errors are still there this morning. The odd thing is that my
windows server folders are still mounting! Even though I get those
errors at boot (boot.log) when I login to my gnome session they're all
mounted...

-- 
Error mounting CIFS shares
https://bugs.launchpad.net/bugs/638238
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 638238] Re: Error mounting CIFS shares

2010-09-16 Thread Iwan Mota
Just checked, it's there:

dpkg --get-selections | grep smbfs
smbfs   install

Same boot errors, below:

fsck from util-linux-ng 2.17.2

fsck from util-linux-ng 2.17.2

fsck from util-linux-ng 2.17.2

/dev/sdb1: clean, 182347/644640 files, 1254103/2578424 blocks

/dev/sdb3: recovering journal

Extra_Data: clean, 37/6381568 files, 4561156/25497155 blocks

init: ureadahead-other main process (840) terminated with status 4


init: ureadahead-other main process (849) terminated with status 4


error -1 (Unknown error 18446744073709551615) opening credential file 
/home/imota/.smbcredentials

error -1 (Unknown error 18446744073709551615) opening credential file
/home/imota/.smbcredentials

mountall: mount /media/IwanMota [850] terminated with status 1

mountall: mount /media/EngineerShare [853] terminated with status 1

error -1 (Unknown error 18446744073709551615) opening credential file
/home/imota/.smbcredentials

mountall: mount /media/ITEngShare [851] terminated with status 1

error -1 (Unknown error 18446744073709551615) opening credential file
/home/imota/.smbcredentials

mountall: mount /media/ScannedDocs [854] terminated with status 1

/dev/sdb3: clean, 19558/8871936 files, 4520705/35459471 blocks

mount error: cifs filesystem not supported by the system

mount error(19): No such device

Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

mountall: mount /media/IwanMota [896] terminated with status 32

mount error(101): Network is unreachable

Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

mount error(101): Network is unreachable

Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

mountall: mount /media/ITEngShare [898] terminated with status 32

mountall: mount /media/ScannedDocs [907] terminated with status 32

 * Starting AppArmor profiles    mount error(101): Network is
unreachable

Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

mountall: mount /media/EngineerShare [902] terminated with status 32

Skipping profile in /etc/apparmor.d/disable: usr.bin.firefox


[ OK ]

 * Setting sensors limits    
[ OK ]

-- 
Error mounting CIFS shares
https://bugs.launchpad.net/bugs/638238
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 638238] Re: Error mounting CIFS shares

2010-09-16 Thread Iwan Mota
Hi Thierry,

Without touching anything my credentials errors went away... I am
stumped to be honest...

Result of my boot.log today:

fsck from util-linux-ng 2.17.2
fsck from util-linux-ng 2.17.2
fsck from util-linux-ng 2.17.2
/dev/sdb1: clean, 182412/644640 files, 1259328/2578424 blocks (check in 3 
mounts)
Extra_Data: clean, 37/6381568 files, 4561156/25497155 blocks
/dev/sdb3: clean, 19944/8871936 files, 4611328/35459471 blocks
init: ureadahead-other main process (799) terminated with status 4
init: ureadahead-other main process (815) terminated with status 4
mount error(101): Network is unreachable
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
mountall: mount /media/ITEngShare [842] terminated with status 32
mount error(101): Network is unreachable
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
mount error(101): Network is unreachable
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
mountall: mount /media/ScannedDocs [854] terminated with status 32
mountall: mount /media/IwanMota [833] terminated with status 32
mount error(101): Network is unreachable
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
mountall: mount /media/EngineerShare [852] terminated with status 32
 * Starting AppArmor profiles   
Skipping profile in /etc/apparmor.d/disable: usr.bin.firefox
   
[ OK ]
 * Setting sensors limits  
[ OK ]

-- 
Error mounting CIFS shares
https://bugs.launchpad.net/bugs/638238
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 638238] Re: Error mounting CIFS shares

2010-09-16 Thread Iwan Mota
And for completeness:

ls .smbcredentials -l
-rw--- 1 root root 54 2010-09-14 16:09 .smbcredentials

-- 
Error mounting CIFS shares
https://bugs.launchpad.net/bugs/638238
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs