#19464: smartmontools: uses StartupItems which is deprecated ----------------------------------+----------------------------------------- Reporter: cilly@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: Port: smartmontools | ----------------------------------+----------------------------------------- Comment(by michael.klein@…): 10.4's launchd doesn't understand the KeepAlive flag, so I had to add the following to the plist: {{{ <key>RunAtLoad</key> <true/> }}} Furthermore, all mails sent by smartd have an empty message body. From /var/log/asl.log: {{{ [Time 2009.07.27 20:18:38 UTC] [Facility daemon] [Sender smartd] [PID 33] [Message Test of mail to michael produced unexpected output (85 bytes) to STDOUT/STDERR: ;csh: No $home variable set.;"~/.mailrc": No match.;Null message body; hope that's ok;;] [Level 2] [UID -2] [GID -2] [Host localhost] }}} To work around this I additionally added {{{ <key>EnvironmentVariables</key> <dict> <key>HOME</key> <string>/var/root</string> </dict> }}} -- Ticket URL: <http://trac.macports.org/ticket/19464#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS