Blob Blame History Raw
From f2c25245ec7c5d918a999ae718d969a77f3b53d8 Mon Sep 17 00:00:00 2001
From: Jakub Filak <jfilak@redhat.com>
Date: Fri, 3 May 2013 13:02:04 +0200
Subject: [ABRT PATCH 5/5] abrtd.service: start after livesys.service

Fedora's live cd mounts tmpfs into /var/tmp in livesys.service after
abrtd.service was started. The new filesystem hides /vat/tmp/abrt
directory but doesn't deletes it, therefore abrtd doens't known that
/var/tmp/abrt is not visible to the world.

Closes rhbz#928753

Signed-off-by: Jakub Filak <jfilak@redhat.com>
Signed-off-by: Jiri Moskovcak <jmoskovc@redhat.com>
---
 init-scripts/abrtd.service | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/init-scripts/abrtd.service b/init-scripts/abrtd.service
index 1965c24..9ce15ec 100644
--- a/init-scripts/abrtd.service
+++ b/init-scripts/abrtd.service
@@ -1,6 +1,9 @@
 [Unit]
 Description=ABRT Automated Bug Reporting Tool
-After=syslog.target
+# livesys.service has been added because of live distributions mounting tmpfs
+# to /var/tmp after abrtd.service was started which was hiding /var/tmp/abrt
+# which was created before the mount to tmpfs happened
+After=syslog.target livesys.service
 
 [Service]
 ExecStart=/usr/sbin/abrtd -d -s
-- 
1.8.1.4