Bug#423513: dpkg: error processing samba (--configure)

2007-05-12 Thread Mihai Militaru
Package: samba
Version: 3.0.24-6
Severity: minor

Every time I try to install or remove a package with Synaptic package manager, 
it outputs the following errors:

Setting up samba (3.0.24-6) ...
update-rc.d: warning: /etc/rc2.d/K09samba is not a link to ../init.d/samba or 
/etc/init.d/samba
update-rc.d: warning: /etc/rc3.d/K09samba is not a link to ../init.d/samba or 
/etc/init.d/samba
invoke-rc.d: dangling symlink: /etc/rc2.d/K09samba
dpkg: error processing samba (--configure):
 subprocess post-installation script returned error exit status 102
Errors were encountered while processing:
 samba
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up samba (3.0.24-6) ...
update-rc.d: warning: /etc/rc2.d/K09samba is not a link to ../init.d/samba or 
/etc/init.d/samba
update-rc.d: warning: /etc/rc3.d/K09samba is not a link to ../init.d/samba or 
/etc/init.d/samba
invoke-rc.d: dangling symlink: /etc/rc2.d/K09samba
dpkg: error processing samba (--configure):
 subprocess post-installation script returned error exit status 102

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages samba depends on:
ii  debconf  1.5.13  Debian configuration management sy
ii  libacl1  2.2.42-1Access control list shared library
ii  libattr1 1:2.4.32-1.1Extended attribute shared library
ii  libc62.3.6.ds1-13GNU C Library: Shared libraries
ii  libcomer 1.39+1.40-WIP-2006.11.14+dfsg-2 common error description library
ii  libcupsy 1.2.7-4 Common UNIX Printing System(tm) - 
ii  libgnutl 1.4.4-3 the GNU TLS library - runtime libr
ii  libkrb53 1.4.4-8 MIT Kerberos runtime libraries
ii  libldap2 2.1.30-13.4 OpenLDAP libraries
ii  libpam-m 0.79-4  Pluggable Authentication Modules f
ii  libpam-r 0.79-4  Runtime support for the PAM librar
ii  libpam0g 0.79-4  Pluggable Authentication Modules l
ii  libpopt0 1.10-3  lib for parsing cmdline parameters
ii  logrotat 3.7.1-3 Log rotation utility
ii  lsb-base 3.1-23.1Linux Standard Base 3.1 init scrip
ii  netbase  4.29Basic TCP/IP networking system
ii  procps   1:3.2.7-3   /proc file system utilities
ii  samba-co 3.0.24-6Samba common files used by both th
ii  zlib1g   1:1.2.3-13  compression library - runtime

Versions of packages samba recommends:
pn  smbldap-tools none (no description available)

-- debconf information excluded


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#423513: dpkg: error processing samba (--configure)

2007-05-12 Thread Steve Langasek
On Sat, May 12, 2007 at 05:05:18PM +0300, Mihai Militaru wrote:
 Package: samba
 Version: 3.0.24-6
 Severity: minor

 Every time I try to install or remove a package with Synaptic package 
 manager, it outputs the following errors:

 Setting up samba (3.0.24-6) ...
 update-rc.d: warning: /etc/rc2.d/K09samba is not a link to ../init.d/samba or 
 /etc/init.d/samba
 update-rc.d: warning: /etc/rc3.d/K09samba is not a link to ../init.d/samba or 
 /etc/init.d/samba
 invoke-rc.d: dangling symlink: /etc/rc2.d/K09samba
 dpkg: error processing samba (--configure):
  subprocess post-installation script returned error exit status 102
 Errors were encountered while processing:
  samba
 E: Sub-process /usr/bin/dpkg returned an error code (1)

Where does /etc/rc2.d/K09samba point on your system?  That sounds like a
broken system configuration to me, not a bug in samba.

-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
[EMAIL PROTECTED]   http://www.debian.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#423513: dpkg: error processing samba (--configure)

2007-05-12 Thread Steve Langasek
On Sun, May 13, 2007 at 02:15:15AM +0300, Mihai Militaru wrote:
 Where does /etc/rc2.d/K09samba point on your system?  That sounds like a
 broken system configuration to me, not a bug in samba.

 '/etc/rc2.d/K09samba' points to '/samba'. the only thing i did was
 installing samba and did no major hacks to debian installation (some
 xorg.conf and apt lists is what i remember). because it belonged to the
 samba package installation (probably postinst script?), i reported this to
 you. if you consider this is not a samba issue, please tell me where should
 i report the bug. even if this doesn't affect samba or system functionality
 in any way, it is still a bug, it gives an error at every package
 installation and i think it should be fixed.

It's not a bug in the samba package, and it's not a bug in the invoke-rc.d
script.  It's a bug in whatever caused /etc/rc2.d/K09samba to point to
/samba, which most likely means a bug in the administrator, because I don't
know of any package that would cause such a broken link (and the samba
package definitely does not).

The samba package's behavior here is correct: the package is not considered
to be installed until the daemon can be successfully started or until the
system knows with certainty that the daemon should not be started, and this
isn't possible here because the symlink is broken.  That's an init script
misconfiguration.

-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
[EMAIL PROTECTED]   http://www.debian.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]