/[smeserver]/rpms/e-smith-base/sme10/e-smith-base-5.8.1-bz11795-persistent-journald.patch
ViewVC logotype

Contents of /rpms/e-smith-base/sme10/e-smith-base-5.8.1-bz11795-persistent-journald.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Mon Dec 20 14:55:17 2021 UTC (2 years, 10 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-base-5_8_1-8_el7_sme, e-smith-base-5_8_1-29_el7_sme, e-smith-base-5_8_1-12_el7_sme, e-smith-base-5_8_1-31_el7_sme, e-smith-base-5_8_1-28_el7_sme, e-smith-base-5_8_1-13_el7_sme, e-smith-base-5_8_1-21_el7_sme, e-smith-base-5_8_1-24_el7_sme, e-smith-base-5_8_1-7_el7_sme, e-smith-base-5_8_1-18_el7_sme, e-smith-base-5_8_1-6_el7_sme, e-smith-base-5_8_1-9_el7_sme, e-smith-base-5_8_1-10_el7_sme, e-smith-base-5_8_1-23_el7_sme, e-smith-base-5_8_1-17_el7_sme, e-smith-base-5_8_1-14_el7_sme, e-smith-base-5_8_1-11_el7_sme, e-smith-base-5_8_1-22_el7_sme, e-smith-base-5_8_1-15_el7_sme, e-smith-base-5_8_1-16_el7_sme, e-smith-base-5_8_1-19_el7_sme, e-smith-base-5_8_1-26_el7_sme, e-smith-base-5_8_1-25_el7_sme, e-smith-base-5_8_1-27_el7_sme, e-smith-base-5_8_1-20_el7_sme, e-smith-base-5_8_1-30_el7_sme, HEAD
Changes since 1.1: +27 -0 lines
* Mon Dec 20 2021 Jean-Philippe Pialasse <tests@pialasse.com> 5.8.1-6.sme
- make journald log permanent by creating /var/log/journal [SME: 11795]

1 diff -Nur --no-dereference e-smith-base-5.8.1.old/root/etc/e-smith/events/actions/systemd-journald e-smith-base-5.8.1/root/etc/e-smith/events/actions/systemd-journald
2 --- e-smith-base-5.8.1.old/root/etc/e-smith/events/actions/systemd-journald 1969-12-31 19:00:00.000000000 -0500
3 +++ e-smith-base-5.8.1/root/etc/e-smith/events/actions/systemd-journald 2021-12-20 09:07:38.478000000 -0500
4 @@ -0,0 +1,5 @@
5 +#!/bin/bash
6 +if [[ ! -d /var/log/journal ]]; then
7 + mkdir -p /var/log/journal
8 + /usr/bin/systemd-tmpfiles --create --prefix /var/log/journal
9 +fi
10 diff -Nur --no-dereference e-smith-base-5.8.1.old/createlinks e-smith-base-5.8.1/createlinks
11 --- e-smith-base-5.8.1.old/createlinks 2021-06-06 16:30:37.000000000 -0400
12 +++ e-smith-base-5.8.1/createlinks 2021-12-20 09:52:47.018000000 -0500
13 @@ -305,6 +305,7 @@
14 templates2events("/etc/smartd.conf", $event);
15 templates2events("/home/e-smith/ssl.pem/pem", $event);
16 templates2events("/usr/lib/systemd/system/dhcpd.service.d/50koozali.conf", $event);
17 +event_link("systemd-journald", $event, "02");
18 event_link("fix-startup", $event, "05");
19 event_link("rotate_timestamped_logfiles", $event, "05");
20 event_link("init-accounts", $event, "05");
21 @@ -443,6 +444,7 @@
22 $event = "post-install";
23
24 templates2events("/usr/lib/systemd/system/dhcpd.service.d/50koozali.conf", $event);
25 +event_link("systemd-journald", $event, "02");
26 event_link("fix-startup", $event, "05");
27 event_link("rotate_timestamped_logfiles", $event, "05");
28 event_link("init-accounts", $event, "05");
29 @@ -462,6 +464,7 @@
30
31 event_link("remove-templates-custom", $event, "02");
32 templates2events("/usr/lib/systemd/system/dhcpd.service.d/50koozali.conf", $event);
33 +event_link("systemd-journald", $event, "02");
34 event_link("fix-startup", $event, "05");
35 event_link("rotate_timestamped_logfiles", $event, "05");
36 event_link("init-accounts", $event, "05");

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed