Custom Query (1414 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (43 - 45 of 1414)

Ticket Resolution Summary Owner Reporter
#41 invalid smartd: internal error in MailWarning(): cfg.mailwarn->emailfreq=0 somebody Giuseppe Iuculano
Description

Hi,

I'm forwarding a bug reported by a Debian user. Version: smartctl 5.39 2009-12-09 r2995 [i686-pc-linux-gnu] (local build)

Smartd logs internal error along with the notification of a failing hard disk.

From /var/log/syslog

-8<- Jan 12 13:42:11 hanuri smartd[9147]: Device: /dev/sdc, 5 Currently unreadable (pending) sectors Jan 12 13:42:11 hanuri smartd[9147]: internal error in MailWarning(): cfg.mailwarn->emailfreq=0 -8<-

/etc/smartd.conf has: -8<- /dev/sda -d ata -I 194 -I 190 /dev/sdb -d ata -I 194 -I 190 /dev/sdc -d ata -I 194 -I 190 /dev/sdd -d ata -I 194 -I 190 /dev/sde -d ata -I 194 -I 190 /dev/sdf -d ata -I 194 -I 190 -8<-

#249 fixed smartd: health check failed if SCSI drive is performing test somebody Alex Samorukov
Description

Instead of SMART HEALTH "OK" smartd shows Device: /dev/sdb, non-SMART asc,ascq: 4,9 in the logs if test is running. smartcl -H /dev/sdb shows that smart status if fine.

#1080 wontfix smartd.service: Use Type=forking to wait for successful initialisation Christian Franke
Description

From Debian Bug 865912:

Forking to the background (Type=forking) is the recommended way to signal to systemd that a daemon has initialized successfully and is ready for operation; at least for daemons without explicit systemd support (Type=notify).

In this particular case, "systemd restart smartd" will give immediate feedback of a failure if the user makes a mistake in /etc/smartd.conf.

Proposed patch:

  • smartd.service.in

     
    66[Service]
     7Type=forking
    78EnvironmentFile=-/usr/local/etc/sysconfig/smartmontools
    8 ExecStart=/usr/local/sbin/smartd -n $smartd_opts
     9ExecStart=/usr/local/sbin/smartd $smartd_opts
    910ExecReload=/bin/kill -HUP $MAINPID
Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.