diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-11-23 15:37:37 -0200 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-11-23 15:37:37 -0200 |
commit | b19aa2f64b1d83caef5baef1c21c3303b5cbd6f9 (patch) | |
tree | fb6fcd42bf1a8df86f9c5e35010d143bd542f2d4 /pcr/systemd-knock/0001-units-make-systemd-journald.service-Type-notify.patch | |
parent | 845f51778cf9597d9625459c2f274b40ddeab1fc (diff) | |
download | abslibre-b19aa2f64b1d83caef5baef1c21c3303b5cbd6f9.tar.gz abslibre-b19aa2f64b1d83caef5baef1c21c3303b5cbd6f9.tar.bz2 abslibre-b19aa2f64b1d83caef5baef1c21c3303b5cbd6f9.zip |
add systemd-knock package
Diffstat (limited to 'pcr/systemd-knock/0001-units-make-systemd-journald.service-Type-notify.patch')
-rw-r--r-- | pcr/systemd-knock/0001-units-make-systemd-journald.service-Type-notify.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pcr/systemd-knock/0001-units-make-systemd-journald.service-Type-notify.patch b/pcr/systemd-knock/0001-units-make-systemd-journald.service-Type-notify.patch new file mode 100644 index 000000000..820b23fbf --- /dev/null +++ b/pcr/systemd-knock/0001-units-make-systemd-journald.service-Type-notify.patch @@ -0,0 +1,35 @@ +From a87a38c20196a4aeb56b6ba71d688eefd0b21c30 Mon Sep 17 00:00:00 2001 +From: Michal Schmidt <mschmidt@redhat.com> +Date: Tue, 4 Nov 2014 20:28:08 +0100 +Subject: [PATCH] units: make systemd-journald.service Type=notify + +It already calls sd_notify(), so it looks like an oversight. + +Without it, its ordering to systemd-journal-flush.service is +non-deterministic and the SIGUSR1 from flushing may kill journald before +it has its signal handlers set up. + +https://bugs.freedesktop.org/show_bug.cgi?id=85871 +https://bugzilla.redhat.com/show_bug.cgi?id=1159641 +--- +(foutrelis: dropped systemd-journald-audit.socket from Sockets= in order to + apply to systemd 217) + + units/systemd-journald.service.in | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/units/systemd-journald.service.in b/units/systemd-journald.service.in +index 7ee67fd..8d380c8 100644 +--- a/units/systemd-journald.service.in ++++ b/units/systemd-journald.service.in +@@ -14,6 +14,7 @@ After=systemd-journald.socket systemd-journald-dev-log.socket systemd-journald-a + Before=sysinit.target + + [Service] ++Type=notify + Sockets=systemd-journald.socket systemd-journald-dev-log.socket + ExecStart=@rootlibexecdir@/systemd-journald + Restart=always +-- +2.1.3 + |