aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2011-12-06 13:34:26 +0000
committerDavid Howells <dhowells@redhat.com>2011-12-06 13:34:26 +0000
commite2b4ed25c5e483d445d0b22b7fb2df4e230d114b (patch)
treef30e9b7f911467e55ab699266b6a6a90bfcd76fd
parent5605bff4f7c21515be98ca28f0b1ec86cea682a7 (diff)
downloadcachefilesd-e2b4ed25c5e483d445d0b22b7fb2df4e230d114b.tar.gz
Apply systemd review comments
"-qab" should be passed to the modprobe in the systemd service file that loads the cachefiles.ko kernel module. Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=754811 Reported-by: Jóhann B. Guðmundsson <johannbg@johannbg@hi.is> Signed-off-by: David Howells <dhowells@redhat.com>
-rw-r--r--cachefilesd.service2
-rw-r--r--redhat/cachefilesd.spec5
2 files changed, 5 insertions, 2 deletions
diff --git a/cachefilesd.service b/cachefilesd.service
index 15f2e30..29e1435 100644
--- a/cachefilesd.service
+++ b/cachefilesd.service
@@ -3,7 +3,7 @@ Description=Local network file caching management daemon
[Service]
Type=simple
-ExecStartPre=-/sbin/modprobe cachefiles
+ExecStartPre=-/sbin/modprobe -qab cachefiles
ExecStart=/sbin/cachefilesd -n -f /etc/cachefilesd.conf
[Install]
diff --git a/redhat/cachefilesd.spec b/redhat/cachefilesd.spec
index 105d495..7474e16 100644
--- a/redhat/cachefilesd.spec
+++ b/redhat/cachefilesd.spec
@@ -87,11 +87,14 @@ fi
%{_localstatedir}/cache/fscache
%changelog
+* Tue Dec 6 2011 David Howells <dhowells@redhat.com>
+- Fix systemd service data according to review comments [RH BZ 754811].
+
* Tue Dec 6 2011 Dan Horák <dan[at]danny.cz>
- use Fedora CFLAGS in build (fixes build on s390)
* Wed Nov 30 2011 David Howells <dhowells@redhat.com> 0.10.4-1
-- Fix packaging of systemd service file.
+- Fix packaging of systemd service file [RH BZ 754811].
- Fix rpmlint complaints.
* Tue Nov 22 2011 David Howells <dhowells@redhat.com> 0.10.3-1