mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
Update to logrotate-3.16.0
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22781 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
25ff6d585e
commit
b4dbcb01a5
@ -6,9 +6,9 @@
|
||||
|
||||
<!ENTITY logrotate-download-http "https://github.com/logrotate/logrotate/releases/download/&logrotate-version;/logrotate-&logrotate-version;.tar.xz">
|
||||
<!ENTITY logrotate-download-ftp " ">
|
||||
<!ENTITY logrotate-md5sum "afe109afea749c306ff489203fde6beb">
|
||||
<!ENTITY logrotate-size "156 KB">
|
||||
<!ENTITY logrotate-buildsize "5.0 MB">
|
||||
<!ENTITY logrotate-md5sum "faf729e0e24bfaafaa677bc6deb46ed8">
|
||||
<!ENTITY logrotate-size "160 KB">
|
||||
<!ENTITY logrotate-buildsize "5.5 MB">
|
||||
<!ENTITY logrotate-time "0.2 SBU (with tests)">
|
||||
]>
|
||||
|
||||
@ -100,7 +100,7 @@
|
||||
command:
|
||||
</para>
|
||||
|
||||
<screen><userinput>./configure --prefix=/usr &&
|
||||
<screen><userinput>./configure --prefix=/usr &&
|
||||
make</userinput></screen>
|
||||
|
||||
<para>
|
||||
@ -125,7 +125,7 @@ make</userinput></screen>
|
||||
the file as the <systemitem class="username">root</systemitem> user:</para>
|
||||
|
||||
<screen role="root"><userinput>cat > /etc/logrotate.conf << EOF
|
||||
<literal># Begin of /etc/logrotate.conf
|
||||
<literal># Begin /etc/logrotate.conf
|
||||
|
||||
# Rotate log files weekly
|
||||
weekly
|
||||
@ -142,7 +142,7 @@ rotate 2
|
||||
|
||||
# Create new empty files after rotating old ones
|
||||
# This will create empty log files, with owner
|
||||
# set to root, group set to sys, and permissions 644
|
||||
# set to root, group set to sys, and permissions 664
|
||||
create 0664 root sys
|
||||
|
||||
# Compress the backups with gzip
|
||||
@ -164,7 +164,7 @@ compress
|
||||
# so we include any file in it.
|
||||
include /etc/logrotate.d
|
||||
|
||||
# End of /etc/logrotate.conf</literal>
|
||||
# End /etc/logrotate.conf</literal>
|
||||
EOF
|
||||
|
||||
chmod -v 0644 /etc/logrotate.conf</userinput></screen>
|
||||
@ -172,7 +172,7 @@ chmod -v 0644 /etc/logrotate.conf</userinput></screen>
|
||||
<para>Now create the <filename class='directory'>/etc/logrotate.d</filename>
|
||||
directory as the <systemitem class="username">root</systemitem> user:</para>
|
||||
|
||||
<screen role="root"><userinput> mkdir -p /etc/logrotate.d</userinput></screen>
|
||||
<screen role="root"><userinput>mkdir -p /etc/logrotate.d</userinput></screen>
|
||||
|
||||
<para>At this point additional log rotation commands can be entered, typically
|
||||
in the <filename class='directory'>/etc/logrotate.d</filename> directory.
|
||||
@ -223,7 +223,7 @@ chmod -v 0644 /etc/logrotate.d/example.log</userinput></screen>
|
||||
because they are not actually created.</para>
|
||||
|
||||
<para>
|
||||
To run the <command>logrotate</command> daily,
|
||||
To run the <command>logrotate</command> command daily,
|
||||
<phrase revision="sysv">if you've installed
|
||||
<xref linkend="fcron"/> and completed the section on periodic jobs,
|
||||
execute</phrase><phrase revision="systemd">execute</phrase> the following
|
||||
|
@ -45,6 +45,10 @@
|
||||
<listitem>
|
||||
<para>March 2nd, 2020</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[renodr] - Update to logrotate-3.16.0. Fixes
|
||||
<ulink url="&blfs-ticket-root;13205">#13205</ulink>>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[renodr] - Update to libqmi-1.24.4. Fixes
|
||||
<ulink url="&blfs-ticket-root;13200">#13200</ulink>.</para>
|
||||
|
@ -280,7 +280,7 @@ to avoid building libxml2 twice, which is slow with all deps -->
|
||||
<!ENTITY hdparm-version "9.58">
|
||||
<!ENTITY hdwids-version "20141022">
|
||||
<!ENTITY lm-sensors-version "3-6-0">
|
||||
<!ENTITY logrotate-version "3.15.1">
|
||||
<!ENTITY logrotate-version "3.16.0">
|
||||
<!ENTITY lsb-tools-version "0.6">
|
||||
<!ENTITY mc-version "4.8.24">
|
||||
<!ENTITY ModemManager-version "1.12.6">
|
||||
|
Loading…
Reference in New Issue
Block a user