public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/inn] epel10.3: few documentation changes because of /sbin/nologin shell for news user
@ 2026-08-26  8:53 Ondrej Vasik
  0 siblings, 0 replies; only message in thread
From: Ondrej Vasik @ 2026-08-26  8:53 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/inn
Branch : epel10.3
Commit : 6286077ff49801356813f774086bcebdc327be3f
Author : Ondrej Vasik <ovasik@fedoraproject.org>
Date   : 2008-04-10T10:54:06+00:00
Stats  : +98/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/inn/c/6286077ff49801356813f774086bcebdc327be3f?branch=epel10.3

Log:
few documentation changes because of /sbin/nologin shell for news user

---
diff --git a/inn-2.4.3-nologinshell.patch b/inn-2.4.3-nologinshell.patch
new file mode 100644
index 0000000..f42b7a4
--- /dev/null
+++ b/inn-2.4.3-nologinshell.patch
@@ -0,0 +1,92 @@
+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.

diff --git a/inn.spec b/inn.spec
index 42b5a1b..380fbe9 100644
--- a/inn.spec
+++ b/inn.spec
@@ -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 @@ exit 0
 %{_mandir}/man1/inews*
 
 %changelog
+* Wed Apr  9 2008 Ondrej Vasik <ovasik@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@redhat.com> - 2.4.3-12
 - BuildRequires: perl(ExtUtils::Embed)
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-26  8:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-26  8:53 [rpms/inn] epel10.3: few documentation changes because of /sbin/nologin shell for news user Ondrej Vasik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox