Comment 17 for bug 791944

Revision history for this message
Clint Byrum (clint-fewbar) wrote : Re: [Bug 791944] Re: package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Excerpts from datanalytics.com's message of Sat Jun 18 15:55:02 UTC 2011:
> I got this:
>
>
> carlos@kropotkin:datos_econta$ sudo /usr/sbin/nmbd -d 3 -F -S
> [sudo] password for carlos:
> nmbd version 3.5.8 started.
> Copyright Andrew Tridgell and the Samba Team 1992-2010
> lp_load_ex: refreshing parameters
> Initialising global parameters
> rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
> params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
> Processing section "[global]"
> Registered MSG_REQ_POOL_USAGE
> Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
> lp_load_ex: refreshing parameters
> Initialising global parameters
> rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
> params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
> Processing section "[global]"
> services not loaded
> standard input is not a socket, assuming -D option
> Becoming a daemon.
>
>
> Then nothing else (the process does not return control to the console). However,
>
>
> carlos@kropotkin:datos_econta$ ps -ef | egrep nmbd
> root 6609 5986 0 17:48 pts/1 00:00:00 sudo /usr/sbin/nmbd -d 3 -F -S
> root 6612 6609 0 17:48 ? 00:00:00 /usr/sbin/nmbd -d 3 -F -S
> carlos 6722 6660 0 17:52 pts/3 00:00:00 egrep nmbd
>
>
> Helpful?

Yes very! This leads me to believe the upstart job is broken:

Can you paste

cat /etc/init/nmbd.conf /etc/init/nmbd.override ?

and

cat /var/lib/dpkg/info/samba.postinst

Thanks once again.