Your message dated Fri, 20 Mar 2015 15:21:25 +0000
with message-id <[email protected]>
and subject line Bug#759869: fixed in leafnode 1.11.10-2
has caused the Debian Bug report #759869,
regarding leafnode: cronjob fails with base-passwd >= 3.5.30
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
759869: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=759869
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: leafnode
Version: 1.11.10-1
Severity: normal
Tags: patch

Hi,

base-passwd 3.5.30 changed the shell of user "news" to
/usr/sbin/nologin , see #274229. Thus, the /etc/cron.daily/leafnode
cronjob fails with
| /etc/cron.daily/leafnode:
| This account is currently not available.
This can easily be fixed by changing the "su news -c ...." lines to
"su news -s /bin/sh -c ...". Patch attached.

Thanks for maintaining leafnode.

regards,
    Jan

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (800, 'testing'), (550, 'unstable'), (10, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.14-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages leafnode depends on:
ii  debconf [debconf-2.0]             1.5.53
ii  libc6                             2.19-9
ii  libpcre3                          1:8.35-3
ii  logrotate                         3.8.7-1
ii  netbase                           5.2
ii  openbsd-inetd [inet-superserver]  0.20140418-1
ii  tcpd                              7.6.q-25

leafnode recommends no packages.

Versions of packages leafnode suggests:
ii  perl                5.20.0-4
ii  slrn [news-reader]  1.0.1-10+b1

-- Configuration Files:
/etc/cron.d/leafnode changed:
8 * * * *  news if [ -x /etc/news/leafnode/do-fetch-news ]; then 
/etc/news/leafnode/do-fetch-news 2>/dev/null ; fi

/etc/cron.daily/leafnode changed:
. /etc/news/leafnode/debian-config
cd /
if [ -x /usr/sbin/texpire ]; then
   su news -s /bin/sh -c "/usr/sbin/texpire" >/dev/null
fi
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 -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 
      listed in /etc/news/leafnode/touch_groups as read.  This requires
      that both perl and the Net::NNTP module (part of libnet-perl) are
      avalible, which does not appear to be the case:
EOF
      /usr/bin/perl -MNet::NNTP < /dev/null
   fi
fi
if [ "" != "`ls /var/spool/news/failed.postings/ 2>/dev/null`" ]; then
   cat << EOF
Some articles posted via Leafnode have been placed in the
failed.postings directory.  This typically means that they were
rejected by one or more of the upstream news servers.  Examining the
news log files should provide some indication as to why.
To retry the posting move the queue files into /var/spool/news/out.going
and run /usr/sbin/fetchnews.
EOF
   /usr/bin/newsq -f
fi

/etc/logcheck/ignore.d.paranoid/leafnode [Errno 13] Permission denied: 
u'/etc/logcheck/ignore.d.paranoid/leafnode'
/etc/logcheck/ignore.d.server/leafnode [Errno 13] Permission denied: 
u'/etc/logcheck/ignore.d.server/leafnode'
/etc/logcheck/ignore.d.workstation/leafnode [Errno 13] Permission denied: 
u'/etc/logcheck/ignore.d.workstation/leafnode'
/etc/logcheck/violations.ignore.d/leafnode [Errno 13] Permission denied: 
u'/etc/logcheck/violations.ignore.d/leafnode'

-- debconf information:
* leafnode/network: permanent
* leafnode/server: <noneofyourbusines>
  leafnode/purge: false
  leafnode/update-groups: false
  leafnode/tcpd: true
--- leafnode.orig	2012-04-18 14:44:05.000000000 +0200
+++ /etc/cron.daily/leafnode	2014-08-30 21:02:32.736383960 +0200
@@ -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 

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: leafnode
Source-Version: 1.11.10-2

We believe that the bug you reported is fixed in the latest version of
leafnode, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Moritz Muehlenhoff <[email protected]> (supplier of updated leafnode package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Fri, 20 Mar 2015 14:45:52 +0100
Source: leafnode
Binary: leafnode
Architecture: source amd64
Version: 1.11.10-2
Distribution: unstable
Urgency: medium
Maintainer: Robert Grimm <[email protected]>
Changed-By: Moritz Muehlenhoff <[email protected]>
Description:
 leafnode   - NNTP server for small sites
Closes: 759869
Changes:
 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)
Checksums-Sha1:
 fff34903ab6f807527287054e1760eac2fdc6cd6 1676 leafnode_1.11.10-2.dsc
 3326ad7882ed9ceb55f906b910ce8e0513a2e2aa 48376 leafnode_1.11.10-2.debian.tar.xz
 b177f7571496b8f8a7dfec6ae7d50e58a3bca67e 238216 leafnode_1.11.10-2_amd64.deb
Checksums-Sha256:
 eb01c49d299ea7f1fa18bc8900fa80fa5d042a7822a91ba95535ec52abc0f2e0 1676 
leafnode_1.11.10-2.dsc
 fa0c408999d2473b56e52237a7ff7d1a1a66a7105067e5b4cbc58a5ebf6adbce 48376 
leafnode_1.11.10-2.debian.tar.xz
 1ca1c1e7015571741a0bc663127e8f92541a8adfe9db547d365d1c1d602b257b 238216 
leafnode_1.11.10-2_amd64.deb
Files:
 fb55aef2e5d1ad6b8e69a3842e3839ea 1676 news extra leafnode_1.11.10-2.dsc
 54f1579204a0727053928528c66b1e7b 48376 news extra 
leafnode_1.11.10-2.debian.tar.xz
 38487edfe2baf2f0b0c5d77501ca78c8 238216 news extra leafnode_1.11.10-2_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJVDCiNAAoJEBDCk7bDfE42R/MP+wTY49XcJoSAU6wI1CTJ18kp
gJbCIeVjbJPN+9ysSbFqAgqQvrtA9Zas0UYMSwIo2fXhI3eHnVhOS2P32UFxp0iz
VfM4/kn+md0pVPzHPYchmE4/4Kkacl8f98jAhC2d7JIOH7rFa89DXHrzu6QMVXJY
+c2TIlEZDDGAi5tTh3P1qDY599rhHcUwDXnL582OQTlwJvGg3GRIFNWTdoEzdCAu
YTaFWHibhaQKN80Byg7PVtWSBmpH4NmV+eYt4tpJtcplN01GIs9VCBL6twSnF5JI
ZUEsnLNxWh0RjfVj9RHzs8fq7EjfVRLhwiyDnjrNQSdBypDHztXW6Jg5KJMCywB8
a6LEB01HYU2bdHHWLnWlTpqWjFHLgAtsa0ghYOw4Q1+1aNpMQPk/iwjmoJ+PKD6J
vZnVRnuzmE1NiQUmJCrzHhCbaPNX09lk6anVui9C23C5zZtSMm5vIWXH57cdG3a3
mMCbpmy13YPUpEMEPYbHXPPIvPlxXTOjbjWNL4HMCUwsjNVjeXyw9T+CHH5MRQ3h
ZPbfVsL/qPHiM4sEGvCISivGA7RfXOQVbYnzQ/ULDptgreHnAhPxSQuQKiR8vDdl
Sv4WuTrz7EfzOLsFhrRC0nLzwsHnck0ctp9pU0nIr33E+/LUsUNINOnfT5CSCMi7
x25AzSGwUPcm0vLQwIDc
=P8Yi
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to