Package: smartmontools
Version: 5.38+svn2920-2
Problem: smartmontools starts too early and fails since udev is not ready
yet.
On Wed, 14 Oct 2009, Alex Samorukov wrote:
Justin Piszcz wrote:
Hi,
After I restart it, it works OK, it is only upon boot up-- it appears it is
starting before udev is finished populating the /dev device tree-- should I
make smartd start later? If so, I will follow up / submit a bug
report to the Debian maintainers.
try to add udev to Required-Start: line in the /etc/init.d/smartmontools
script. If this will help then please tell us and debian maintainers.
Oct 14 17:16:44 p34 smartd[2729]: Opened configuration file
/etc/smartd.conf Oct 14 17:16:44 p34 smartd[2729]: Configuration file
/etc/smartd.conf parsed. Oct 14 17:16:44 p34 smartd[2729]: Node /
Hello,
Tried that, no luck:
# Provides: smartmontools
# Required-Start: udev $syslog $remote_fs
# Required-Stop: $syslog $remote_fs
Same..
Wed Oct 14 18:11:44 2009: Starting Samba daemons: nmbd smbd.
Wed Oct 14 18:11:45 2009: Starting SASL Authentication Daemon: saslauthd.
Wed Oct 14 18:11:45 2009: Starting S.M.A.R.T. daemon: smartd
^[[31mfailed!^[[39;49m
Wed Oct 14 18:11:45 2009: Restoring mixer settings... mixerdone..
# find rc*|grep -i udev
rcS.d/S36udev-mtab
rcS.d/S03udev
This works though:
# find rc*|grep -i smartmon
rc1.d/K20smartmontools
rc2.d/S20smartmontools
rc3.d/S20smartmontools
rc4.d/S20smartmontools
rc5.d/S20smartmontools
# rm rc2.d/S20smartmontools rc3.d/S20smartmontools rc4.d/S20smartmontools
rc5.d/S20smartmontools
# ln -s /etc/init.d/smartmontools /etc/rc2.d/S99smartmontools
# ln -s /etc/init.d/smartmontools /etc/rc3.d/S99smartmontools
# ln -s /etc/init.d/smartmontools /etc/rc4.d/S99smartmontools
# ln -s /etc/init.d/smartmontools /etc/rc5.d/S99smartmontools
#
# find rc*|grep -i smart
rc1.d/K20smartmontools
rc2.d/S99smartmontools
rc3.d/S99smartmontools
rc4.d/S99smartmontools
rc5.d/S99smartmontools
#
Justin.
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org