Package: bacula-director-common
Version: 3.0.2-1
Severity: normal

Hi.

If I install any of the bacula-director flavors but no bacula-fd is
present on the system (which is totally legitimate), configuring
bacula-director-common will fail:

[...]
Setting up bacula-director-common (3.0.2-1.0~sh.1) ...
insserv: Service bacula-fd has to be enabled to start service bacula-director
insserv: exiting now!
dpkg: error processing bacula-director-common (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of bacula-director-sqlite3:
 bacula-director-sqlite3 depends on bacula-director-common (= 3.0.2-1.0~sh.1); 
however:
  Package bacula-director-common is not configured yet.
dpkg: error processing bacula-director-sqlite3 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 bacula-director-common
 bacula-director-sqlite3
[...]

(Note: this is my own version with the fix for the sqlite3-postinst
applied. The package is identical in all other aspects.)

I believe the init-script should only declare a weak dependency on
bacula-fd:

### BEGIN INIT INFO
# Provides:          bacula-director
# Required-Start:    $remote_fs $syslog
# Should-Start:      bacula-fd
# Required-Stop:     $remote_fs $syslog
# Should-Stop:       bacula-fd
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
### END INIT INFO

Grüße,
Sven.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (200, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.29.1-217
Locale: lang=de...@euro, lc_ctype=de...@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash

Versions of packages bacula-director-common depends on:
ii  adduser            3.110                 add and remove users and groups
ii  bacula-common      2.4.4-1+b1            network backup, recovery and verif
ii  bsd-mailx [mailx]  8.1.2-0.20081101cvs-2 A simple mail user agent
ii  debconf [debconf-2 1.5.27                Debian configuration management sy
ii  libc6              2.9-25                GNU C Library: Shared libraries
ii  libgcc1            1:4.4.1-2             GCC support library
ii  libstdc++6         4.4.1-2               The GNU Standard C++ Library v3
ii  mailx              1:20081101-2          Transitional package for mailx ren

bacula-director-common recommends no packages.

bacula-director-common suggests no packages.

-- debconf-show failed



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

Reply via email to