From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1On7Wv-0003Zk-0O for garchives@archives.gentoo.org; Sun, 22 Aug 2010 10:11:57 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BC7C8E0720; Sun, 22 Aug 2010 10:11:26 +0000 (UTC) Received: from mail-ww0-f41.google.com (mail-ww0-f41.google.com [74.125.82.41]) by pigeon.gentoo.org (Postfix) with ESMTP id 783AFE0720 for ; Sun, 22 Aug 2010 10:11:26 +0000 (UTC) Received: by wwi14 with SMTP id 14so2949933wwi.4 for ; Sun, 22 Aug 2010 03:11:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:reply-to:to:subject:date :user-agent:mime-version:content-type:content-transfer-encoding :message-id; bh=xaKBcWYOzjTjcDeRLlv/PCwGHPzxesn353vA1cSzj5E=; b=vff0HUKeY81U6TAX7Tm18xzQw9ou/8CMVxcwe9no4qg8GYC+Kdlqn339hxO9VwoFLR kGBVpfyJBfGzgSW8CvcUXiP2+LkFqqyRT4UYhCRn7BDdGoQq1twsQDWAo5EyOfzRMlm/ S+7HSEzkZ8Qat6QiSOMap5f3p7De9+IFiIHHE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:reply-to:to:subject:date:user-agent:mime-version:content-type :content-transfer-encoding:message-id; b=pNMaKsaQG8Yzm4x3CpEKr5wYSqleVtwJb0fyd4s88uDXLxaWC4OpzCk/tfWPU0ELhX VbkEkYki1kkBpRT2HnvFlXH11B4ptCLGL8Ljn76uIIDGMtJw1RtqZRy3HnofLtlNHuVq dT6hBeqZUCRAA3tL9OheXIb/uUz6c1wtQ3ZmY= Received: by 10.227.138.80 with SMTP id z16mr3153614wbt.190.1282471885893; Sun, 22 Aug 2010 03:11:25 -0700 (PDT) Received: from (230.3.169.217.in-addr.arpa [217.169.3.230]) by mx.google.com with ESMTPS id a1sm4332666wbb.20.2010.08.22.03.11.24 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 22 Aug 2010 03:11:25 -0700 (PDT) From: Mick To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] chrony logrotate script EOF error Date: Sun, 22 Aug 2010 11:11:13 +0100 User-Agent: KMail/1.13.5 (Linux/2.6.34-gentoo-r1; KDE/4.4.5; x86_64; ; ) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart16245917.tLVlrivx3o"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201008221111.23277.michaelkintzios@gmail.com> X-Archives-Salt: 414bee19-fb11-43d8-9d21-dc253c80b10a X-Archives-Hash: 6712946e56033816bfae60ea0d74527d --nextPart16245917.tLVlrivx3o Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi All, The chrony installed logrotate script keeps erroring out: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D logrotate_script: line 5: warning: here-document at line 2 delimited by end- of-file (wanted `EOF') Unrecognized command =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D This is the script: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D /var/log/chrony/*.log { sharedscripts postrotate PASSWORD=3D`awk '$1 ~ /^1$/ {print $2; exit}'=20 /etc/chrony/chrony.keys` cat << EOF | /usr/bin/chronyc | sed '/^200 OK$/d' password $PASSWORD cyclelogs EOF endscript } =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D I do not understand the error. Is it telling me to add backticks? Where? =2D-=20 Regards, Mick --nextPart16245917.tLVlrivx3o Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iEYEABECAAYFAkxw98sACgkQVTDTR3kpaLbVnwCeI7eUF1UAJr7OLZZucaMWU3dQ SIUAoPPisZGNp1g46HN4AvUSeTzyV9Ua =odXe -----END PGP SIGNATURE----- --nextPart16245917.tLVlrivx3o--