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

        A new commit has been pushed.

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

        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 

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

only message in thread, other threads:[~2026-08-26  8:05 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:05 [rpms/inn] epel10: 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