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.3: changes because of /sbin/nologin shell for news user,
Date: Wed, 26 Aug 2026 08:53:46 GMT	[thread overview]
Message-ID: <178773442685.1.2666013809886413762.rpms-inn-36d272f1f2bc@fedoraproject.org> (raw)

        A new commit has been pushed.

        Repo   : rpms/inn
        Branch : epel10.3
        Commit : 36d272f1f2bc9f24bf36b41caee35b6697f83ced
        Author : Ondrej Vasik <ovasik@fedoraproject.org>
        Date   : 2008-04-24T15:47:14+00:00
        Stats  : +12/-7 in 4 file(s)
        URL    : https://src.fedoraproject.org/rpms/inn/c/36d272f1f2bc9f24bf36b41caee35b6697f83ced?branch=epel10.3

        Log:
        changes because of /sbin/nologin shell for news user,
/var/spool/news/incoming writable for news group

---
diff --git a/inn-cron-expire b/inn-cron-expire
index b2839a6..cede53c 100644
--- a/inn-cron-expire
+++ b/inn-cron-expire
@@ -1,3 +1,3 @@
 #!/bin/sh
 /sbin/chkconfig innd || exit 0
-runuser - news -c "unset LANG; unset LC_COLLATE; /usr/lib/news/bin/news.daily delayrm"
+runuser -m news -c "unset LANG; unset LC_COLLATE; /usr/lib/news/bin/news.daily delayrm"

diff --git a/inn-cron-nntpsend b/inn-cron-nntpsend
index 6210ef8..c86f8fa 100755
--- a/inn-cron-nntpsend
+++ b/inn-cron-nntpsend
@@ -1,3 +1,3 @@
 #!/bin/sh
 /sbin/chkconfig innd || exit 0
-runuser - news -c "unset LANG; unset LC_COLLATE; /usr/lib/news/bin/nntpsend"
+runuser -m news -c "unset LANG; unset LC_COLLATE; /usr/lib/news/bin/nntpsend"

diff --git a/inn-cron-rnews b/inn-cron-rnews
index c8bca2a..96c0eea 100644
--- a/inn-cron-rnews
+++ b/inn-cron-rnews
@@ -1,3 +1,3 @@
 #!/bin/sh
 /sbin/chkconfig innd || exit 0
-runuser - news -c 'unset LANG; unset LC_COLLATE; /usr/lib/news/bin/rnews -U'
+runuser -m news -c 'unset LANG; unset LC_COLLATE; /usr/lib/news/bin/rnews -U'

diff --git a/inn.spec b/inn.spec
index 380fbe9..ba0340b 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: 13%{?dist}
+Release: 14%{?dist}
 #see LICENSE file for details
 License: GPL+ and BSD and MIT and Public Domain
 Group: System Environment/Daemons
@@ -202,7 +202,7 @@ rm -f files.list files.main files.devel files.inews
 
 %post
 /sbin/chkconfig --add innd
-su news -c '/usr/lib/news/bin/makedbz -i -o'
+su -m news -c '/usr/lib/news/bin/makedbz -i -o'
 
 umask 002
 touch /var/log/news/news.notice
@@ -288,8 +288,8 @@ exit 0
 %dir /var/spool/news
 %dir /var/spool/news/archive
 %dir /var/spool/news/articles
-%dir /var/spool/news/incoming
-%dir /var/spool/news/incoming/bad
+%attr(0775,news,news) %dir /var/spool/news/incoming
+%attr(0775,news,news) %dir /var/spool/news/incoming/bad
 %dir /var/spool/news/innfeed
 %dir /var/spool/news/outgoing
 %dir /var/spool/news/overview
@@ -323,6 +323,11 @@ exit 0
 %{_mandir}/man1/inews*
 
 %changelog
+* Thu Apr 24 2008 Ondrej Vasik <ovasik@redhat.com> - 2.4.3-14
+- make /var/spool/news/incoming writable for news group
+  (#426760)
+- changes because of /sbin/nologin shell for news user
+
 * 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 

                 reply	other threads:[~2026-08-26  8:53 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=178773442685.1.2666013809886413762.rpms-inn-36d272f1f2bc@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