[Systems] weak keys, backup (was: [Systems-logs] Cron <root at sunjammer> test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ))

Sascha Silbe sascha-ml-ui-sugar-systems at silbe.org
Fri Nov 27 08:50:19 EST 2009

On Fri, Nov 27, 2009 at 06:37:08AM -0500, Cron Daemon wrote:

> run-parts: /etc/cron.daily/check_sshkeys exited with return code 1
Fails because grep returns 1 (=> non-zero => error) when no output 
occurs (which is good in our case). I'd suggest to add "|| true" to the 
script since in the "failure" case (i.e. weak keys found) we're 
interested in the output (which gets mailed by cron), not an error code.

> /etc/cron.daily/system-full-backup:
> Host key authenticity could not be verified (missing known_hosts 
> entry?)
> Running 'sftp  -oServerAliveInterval=15 -oServerAliveCountMax=1 
> sugarbackup at backup.sugarlabs.org' failed (attempt #1)

What's up with backup.sugarlabs.org? Has it been reinstalled (without 
transferring the old ssh host key)?

CU Sascha

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: Digital signature
Url : http://lists.sugarlabs.org/private/systems/attachments/20091127/5124a3cc/attachment.pgp 

More information about the Systems mailing list