[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#780868: unblock: leafnode/1.11.10-2



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock leafnode. It fixes 759869 (which was filed with
severity "important", but could just as well have been filed with
RC severity; if the Cron job isn't executed news messages older than
the cut-off age aren't removed from the news spool).

unblock leafnode/1.11.10-2

debdiff:

diff -Nru leafnode-1.11.10/debian/changelog leafnode-1.11.10/debian/changelog
--- leafnode-1.11.10/debian/changelog	2014-06-25 19:23:08.000000000 +0200
+++ leafnode-1.11.10/debian/changelog	2015-03-20 14:49:04.000000000 +0100
@@ -1,3 +1,12 @@
+leafnode (1.11.10-2) unstable; urgency=medium
+
+  * base-passwd 3.5.30 changed the shell of the "news" system user to
+    nologin. Fix the daily cron job to use a shell, otherwise old
+    articles are no longer expired. Thanks to Jan Braun for the
+    report! (Closes: #759869)
+
+ -- Moritz Muehlenhoff <jmm@debian.org>  Fri, 20 Mar 2015 14:45:52 +0100
+
 leafnode (1.11.10-1) unstable; urgency=medium
 
   * New upstream release, patches getaddrinfo and whoami
diff -Nru leafnode-1.11.10/debian/leafnode.cron.daily leafnode-1.11.10/debian/leafnode.cron.daily
--- leafnode-1.11.10/debian/leafnode.cron.daily	2009-12-23 09:09:00.000000000 +0100
+++ leafnode-1.11.10/debian/leafnode.cron.daily	2015-03-20 14:45:13.000000000 +0100
@@ -14,13 +14,13 @@
 # Ignores the messages texpire generates to stdout about which articles it
 # expires. If you'd rather get that info mailed to you, remove the >/dev/null
 if [ -x /usr/sbin/texpire ]; then
-   su news -c "/usr/sbin/texpire" >/dev/null
+   su news -s /bin/sh -c "/usr/sbin/texpire" >/dev/null
 fi
 
 # Run touch_newsgroups if the user wants it and we can
 if [ -x /usr/bin/touch_newsgroup -a -f /etc/news/leafnode/touch_groups ]; then
    if /usr/bin/perl -MNet::NNTP < /dev/null 2>/dev/null ; then
-      su news -c "/usr/bin/touch_newsgroup -f /etc/news/leafnode/touch_groups"
+      su news -s /bin/sh -c "/usr/bin/touch_newsgroup -f /etc/news/leafnode/touch_groups"
    else
       cat << EOF
       You have requested that touch_newsgroup be run to mark the groups 


-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)


Reply to: