public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Ondrej Vasik <ovasik@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/inn] epel10: few documentation changes because of /sbin/nologin shell for news user
Date: Wed, 26 Aug 2026 08:05:52 GMT	[thread overview]
Message-ID: <178773155201.1.8175970244822654360.rpms-inn-6286077ff498@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/inn
Branch : epel10
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

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)
 

                 reply	other threads:[~2026-08-26  8:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178773155201.1.8175970244822654360.rpms-inn-6286077ff498@fedoraproject.org \
    --to=ovasik@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox