Package: smartmontools
Version: 5.37~cvs20061002-1
Followup-For: Bug #368028
There are a number of reports that say smartmontools fails to start on
installation or upgrade. Even if /etc/default/smartmontools is set to run
smartd, this happens:
# wajig install smartmontools_5.37~cvs20061002-1_amd64.deb
Selecting previously deselected package smartmontools.
(Reading database ... 50125 files and directories currently installed.)
Unpacking smartmontools (from smartmontools_5.37~cvs20061002-1_amd64.deb) ...
Setting up smartmontools (5.37~cvs20061002-1) ...
Configuration file `/etc/default/smartmontools'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : background this process to examine the situation
The default action is to keep your current version.
*** smartmontools (Y/I/N/O/D/Z) [default=N] ?
Configuration file `/etc/smartd.conf'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : background this process to examine the situation
The default action is to keep your current version.
*** smartd.conf (Y/I/N/O/D/Z) [default=N] ?
Starting S.M.A.R.T. daemon: smartd failed!
invoke-rc.d: initscript smartmontools, action "start" failed.
dpkg: error processing smartmontools (--install):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
smartmontools
The reason is simply that smartd is already running, and all that's needed is a
restart.
I imagine there's a standard way to handle this? Check if it's running and do a
restart if it is?
Dave
-- Package-specific info:
Ouput of /usr/share/bug/smartmontools:
# CONFIG_IDE_TASK_IOCTL is not set
-- System Information:
Debian Release: 4.0
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages smartmontools depends on:
ii debianutils 2.17.3 Miscellaneous utilities specific t
ii libc6 2.3.6.ds1-8 GNU C Library: Shared libraries
ii libgcc1 1:4.1.1-19 GCC support library
ii libstdc++6 4.1.1-19 The GNU Standard C++ Library v3
ii lsb-base 3.1-19 Linux Standard Base 3.1 init scrip
Versions of packages smartmontools recommends:
ii mailx 1:8.1.2-0.20050715cvs-1 A simple mail user agent
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]