From fbdf5409010c7109863c3a83bb6f6b0eed6a19b45c07dce28c4d8b5c6db16ecf Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 2 Mar 2015 12:54:44 +0000 Subject: [PATCH] Accepting request 288363 from home:posophe:branches:Base:System bnc#915654 OBS-URL: https://build.opensuse.org/request/show/288363 OBS-URL: https://build.opensuse.org/package/show/Base:System/acct?expand=0&rev=41 --- acct.changes | 5 +++++ acct.service | 4 ++-- logrotate.acct | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/acct.changes b/acct.changes index 57f4a0f..bd078a8 100644 --- a/acct.changes +++ b/acct.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Mar 1 19:49:50 UTC 2015 - p.drouand@gmail.com + +- Fixthe log path in service and logrotate files; fix bnc#915654 + ------------------------------------------------------------------- Fri Dec 19 13:01:30 UTC 2014 - p.drouand@gmail.com diff --git a/acct.service b/acct.service index af013fc..952b7b0 100644 --- a/acct.service +++ b/acct.service @@ -2,13 +2,13 @@ Description=Process accounting Documentation=man:accton(8) After=syslog.target -ConditionPathExists=/var/account +ConditionPathExists=/var/log/account/pacct [Service] Type=oneshot RemainAfterExit=true ExecStartPre=/usr/lib/account/create -ExecStart=/usr/sbin/accton /var/account/pacct +ExecStart=/usr/sbin/accton /var/log/account/pacct ExecStop=/usr/sbin/accton off [Install] diff --git a/logrotate.acct b/logrotate.acct index 40e4cf3..0a1c142 100644 --- a/logrotate.acct +++ b/logrotate.acct @@ -1,4 +1,4 @@ -/var/account/pacct { +/var/log/account/pacct { compress dateext maxage 365