Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 598868 Details for
Bug 635262
sys-process/acct-6.6.4-r3: stabilise (was: ac/sa/etc... fail like: '@WTMP_FILE_LOC@': No such file or directory)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch sys-process/acct FILESDIR to update locations
1.diff (text/plain), 1.85 KB, created by
Madhu
on 2019-12-08 03:05:59 UTC
(
hide
)
Description:
patch sys-process/acct FILESDIR to update locations
Filename:
MIME Type:
Creator:
Madhu
Created:
2019-12-08 03:05:59 UTC
Size:
1.85 KB
patch
obsolete
>--- files.orig/acct.confd-r1 2017-07-27 19:34:04.000000000 +0530 >+++ files/acct.confd-r1 2019-12-02 16:18:53.670968471 +0530 >@@ -2,7 +2,7 @@ > > # ACCT_LOG specifies the accounting logging file. > # Remember to create it manually if it doesn't yet exist. >-#ACCT_LOG="/var/account/pacct" >+#ACCT_LOG="/var/log/account/pacct" > > # REPORT_OPTS contains arguments for the "sa" command, > # used for console-reporting. >--- files.orig/acct.initd-r2 2017-07-27 19:34:04.000000000 +0530 >+++ files/acct.initd-r2 2019-12-02 16:20:57.360709453 +0530 >@@ -1,8 +1,8 @@ > #!/sbin/openrc-run >-# Copyright 1999-2017 Gentoo Foundation >+# Copyright 1999-2019 Gentoo Foundation > # Distributed under the terms of the GNU General Public License v2 > >- : ${ACCT_LOG:=/var/account/pacct} >+ : ${ACCT_LOG:=/var/log/account/pacct} > : ${REPORT_OPTS:="--sort-real-time --list-all-names --percentage"} > > extra_started_commands="report" >--- files.orig/acct.logrotate-r1 2017-07-27 19:48:53.000000000 +0530 >+++ files/acct.logrotate-r1 2019-12-02 16:19:10.330933583 +0530 >@@ -1,6 +1,6 @@ > # Logrotate file for acct > >-/var/account/pacct { >+/var/log/account/pacct { > compress > delaycompress > notifempty >--- files.orig/acct.service 2015-08-09 06:08:18.000000000 +0530 >+++ files/acct.service 2019-12-02 16:19:37.840875975 +0530 >@@ -1,12 +1,12 @@ > [Unit] > Description=Kernel process accounting > After=syslog.target >-ConditionPathExists=/var/account >+ConditionPathExists=/var/log/account > > [Service] > Type=oneshot >-ExecStartPre=/bin/sh -c 'if [ ! -e /var/account/pacct ]; then /bin/touch /var/account/pacct ; /bin/chmod 0600 /var/account/pacct; fi' >-ExecStart=/sbin/accton /var/account/pacct >+ExecStartPre=/bin/sh -c 'if [ ! -e /var/log/account/pacct ]; then /bin/touch /var/log/account/pacct ; /bin/chmod 0600 /var/log/account/pacct; fi' >+ExecStart=/sbin/accton /var/log/account/pacct > ExecStop=/sbin/accton off > RemainAfterExit=yes >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 635262
: 598868 |
598888