rpms/inn/devel inn-2.4.3-nologinshell.patch, NONE, 1.1 inn.spec, 1.42, 1.43

Ondrej Vasik (ovasik) fedora-extras-commits at redhat.com
Thu Apr 10 10:54:43 UTC 2008


Author: ovasik

Update of /cvs/extras/rpms/inn/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22969

Modified Files:
	inn.spec 
Added Files:
	inn-2.4.3-nologinshell.patch 
Log Message:
few documentation changes because of /sbin/nologin shell for news user

inn-2.4.3-nologinshell.patch:

--- NEW FILE inn-2.4.3-nologinshell.patch ---
diff -urNp inn-2.4.3-orig/doc/man/rc.news.8 inn-2.4.3/doc/man/rc.news.8
--- inn-2.4.3-orig/doc/man/rc.news.8	2008-04-09 16:22:16.000000000 +0200
+++ inn-2.4.3/doc/man/rc.news.8	2008-04-09 16:31:42.000000000 +0200
@@ -178,20 +178,20 @@ is recommended to throttle the server fi
 To start \s-1INN\s0 and leave certain error messages going to the terminal:
 .PP
 .Vb 1
-\&       su - news -c ~news/bin/rc.news
+\&       su -m news -c /etc/rc.news
 .Ve
 .PP
 To run \s-1INN\s0 at startup time from appropriate system boot scripts:
 .PP
 .Vb 1
-\&       su - news -c ~news/bin/rc.news >/dev/console
+\&       su -m news -c /etc/rc.news >/dev/console
 .Ve
 .PP
 To stop \s-1INN\s0 (throttling first):
 .PP
 .Vb 2
 \&       ~news/bin/ctlinnd throttle reason
-\&       su - news -c '~news/bin/rc.news stop'
+\&       su -m news -c '/etc/rc.news stop'
 .Ve
 .SH "BUGS"
 .IX Header "BUGS"
diff -urNp inn-2.4.3-orig/doc/pod/install.pod inn-2.4.3/doc/pod/install.pod
--- inn-2.4.3-orig/doc/pod/install.pod	2008-04-09 16:22:16.000000000 +0200
+++ inn-2.4.3/doc/pod/install.pod	2008-04-09 16:32:22.000000000 +0200
@@ -1489,7 +1489,7 @@ INN is started via the shell script F<rc
 news user and not as root.  To start INN on system boot, you therefore
 want to put something like:
 
-    su - news -c /usr/local/news/bin/rc.news
+    su -m news -c /etc/rc.news
 
 in the system boot scripts.  If innd is stopped or killed, you can restart
 it by running rc.news by hand as the news user.
@@ -1497,7 +1497,7 @@ it by running rc.news by hand as the new
 The rc.news script may also be used to shut down INN, with the C<stop>
 option:
 
-    su - news -c '/usr/local/news/bin/rc.news stop'
+    su -m news -c '/etc/rc.news stop'
 
 In the F<contrib> directory of this source tree is a sample init script
 for people using System V-style init.d directories.
diff -urNp inn-2.4.3-orig/doc/pod/rc.news.pod inn-2.4.3/doc/pod/rc.news.pod
--- inn-2.4.3-orig/doc/pod/rc.news.pod	2008-04-09 16:22:16.000000000 +0200
+++ inn-2.4.3/doc/pod/rc.news.pod	2008-04-09 16:32:48.000000000 +0200
@@ -65,16 +65,16 @@ is recommended to throttle the server fi
 
 To start INN and leave certain error messages going to the terminal:
 
-       su - news -c ~news/bin/rc.news
+       su -m news -c /etc/rc.news
 
 To run INN at startup time from appropriate system boot scripts:
 
-       su - news -c ~news/bin/rc.news >/dev/console
+       su -m news -c /etc/rc.news >/dev/console
   
 To stop INN (throttling first):
 
        ~news/bin/ctlinnd throttle reason
-       su - news -c '~news/bin/rc.news stop'
+       su -m news -c '/etc/rc.news stop'
 
 =head1 BUGS
 
diff -urNp inn-2.4.3-orig/INSTALL inn-2.4.3/INSTALL
--- inn-2.4.3-orig/INSTALL	2008-04-09 16:22:16.000000000 +0200
+++ inn-2.4.3/INSTALL	2008-04-09 16:30:24.000000000 +0200
@@ -1455,7 +1455,7 @@ Starting and Stopping the System
     news user and not as root.  To start INN on system boot, you therefore
     want to put something like:
 
-        su - news -c /usr/local/news/bin/rc.news
+        su -m news -c /etc/rc.news
 
     in the system boot scripts.  If innd is stopped or killed, you can
     restart it by running rc.news by hand as the news user.
@@ -1463,7 +1463,7 @@ Starting and Stopping the System
     The rc.news script may also be used to shut down INN, with the "stop"
     option:
 
-        su - news -c '/usr/local/news/bin/rc.news stop'
+        su -m news -c '/etc/rc.news stop'
 
     In the contrib directory of this source tree is a sample init script for
     people using System V-style init.d directories.


Index: inn.spec
===================================================================
RCS file: /cvs/extras/rpms/inn/devel/inn.spec,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- inn.spec	18 Mar 2008 18:36:53 -0000	1.42
+++ inn.spec	10 Apr 2008 10:54:06 -0000	1.43
@@ -1,7 +1,7 @@
 Summary: The InterNetNews (INN) system, an Usenet news server
 Name: inn
 Version: 2.4.3
-Release: 12%{?dist}
+Release: 13%{?dist}
 #see LICENSE file for details
 License: GPL+ and BSD and MIT and Public Domain
 Group: System Environment/Daemons
@@ -323,6 +323,11 @@
 %{_mandir}/man1/inews*
 
 %changelog
+* Wed Apr  9 2008 Ondrej Vasik <ovasik at redhat.com> - 2.4.3-13
+- few documentation changes because of /sbin/nologin shell 
+  for news user (su - news -c <commmand> will not work in 
+  that case ) #233738
+
 * Tue Mar 18 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 2.4.3-12
 - BuildRequires: perl(ExtUtils::Embed)
 




More information about the fedora-extras-commits mailing list