[inn/f15] Create /var/run/news in innd.init (#708627)
Jochen Schmitt
s4504kr at fedoraproject.org
Mon May 30 18:22:11 UTC 2011
commit 88192da0e3cb02a319f449072a97e5669ffeb1b1
Author: Jochen Schmitt <Jochen at herr-schmitt.de>
Date: Mon May 30 18:45:47 2011 +0200
Create /var/run/news in innd.init (#708627)
inn.spec | 5 ++++-
innd.init | 3 +++
2 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/inn.spec b/inn.spec
index 643db20..fef8fe6 100644
--- a/inn.spec
+++ b/inn.spec
@@ -1,7 +1,7 @@
Summary: The InterNetNews system, an Usenet news server
Name: inn
Version: 2.5.2
-Release: 5%{?dist}
+Release: 6%{?dist}
#see LICENSE file for details
License: GPLv2+ and BSD and MIT and Public Domain
Group: System Environment/Daemons
@@ -513,6 +513,9 @@ fi
%{_mandir}/man1/inews*
%changelog
+* Mon May 30 2011 Jochen Schmitt <Jochen herr-schmitt de> - 2.5.2-6
+- Create /var/run/news in innd.init (#708627)
+
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.5.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
diff --git a/innd.init b/innd.init
index 41ae26c..5fa4fa6 100644
--- a/innd.init
+++ b/innd.init
@@ -44,6 +44,9 @@ start() {
# INN uses too many un-checked shell scripts
unset LANG
unset LC_COLLATE
+ # create /var/run/news in tmpfs
+ mkdir -p /var/run/news
+ chown news:news /var/run/news
daemon --user news /usr/libexec/news/rc.news
RETVAL=$?
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/innd
More information about the scm-commits
mailing list