Your message dated Wed, 22 Jan 2014 13:18:24 +0000
with message-id <[email protected]>
and subject line Bug#734731: fixed in lurker 2.3-4.1
has caused the Debian Bug report #734731,
regarding lurker: cache pruning in postinst/prerm fails due to change in 
www-data's shell
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.)


-- 
734731: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734731
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lurker
Version: 2.3-4
Severity: important
Tags: patch
User: [email protected]
Usertags: shell-fallout

In base-passwd 3.5.30, I changed www-data's shell to /usr/sbin/nologin
(a change that I really should have made about ten years ago).  This has
unfortunately had a bit of collateral damage: the cache pruning in
lurker's postinst and prerm will fail because it tries to use "su
www-data" without overriding the shell.  Here's a fix:

  * Pass "-s /bin/sh" to "su www-data" to cope with the change of www-data's
    shell in base-passwd 3.5.30.

diff -Nru lurker-2.3/debian/postinst lurker-2.3/debian/postinst
--- lurker-2.3/debian/postinst  2013-12-13 14:57:45.000000000 +0000
+++ lurker-2.3/debian/postinst  2014-01-09 12:39:47.000000000 +0000
@@ -79,7 +79,7 @@
     # clean web cache
     if [ -x /usr/bin/lurker-prune ] && [ -f /etc/lurker/lurker.conf ] && [ -f 
/var/lib/lurker/db ]; then
       echo "Pruning the lurker webserver cache."
-      su - www-data -c "/usr/bin/lurker-prune -p"
+      su - www-data -s /bin/sh -c "/usr/bin/lurker-prune -p"
     fi
   ;;
   abort-upgrade|abort-remove|abort-deconfigure)
diff -Nru lurker-2.3/debian/prerm lurker-2.3/debian/prerm
--- lurker-2.3/debian/prerm     2011-09-19 11:51:07.000000000 +0100
+++ lurker-2.3/debian/prerm     2014-01-09 12:39:16.000000000 +0000
@@ -12,7 +12,7 @@
   remove)
     if [ -x /usr/bin/lurker-prune ] && [ -f /etc/lurker/lurker.conf ] && [ -f 
/var/lib/lurker/db ]; then
       echo "Pruning the lurker webserver cache."
-      su - www-data -c "/usr/bin/lurker-prune -p"
+      su - www-data -s /bin/sh -c "/usr/bin/lurker-prune -p"
     fi
   ;;
 

Sorry,

-- 
Colin Watson                                       [[email protected]]

--- End Message ---
--- Begin Message ---
Source: lurker
Source-Version: 2.3-4.1

We believe that the bug you reported is fixed in the latest version of
lurker, 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.
Colin Watson <[email protected]> (supplier of updated lurker 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: SHA256

Format: 1.8
Date: Fri, 17 Jan 2014 12:35:47 +0000
Source: lurker
Binary: lurker
Architecture: source i386
Version: 2.3-4.1
Distribution: unstable
Urgency: medium
Maintainer: Jonas Meurer <[email protected]>
Changed-By: Colin Watson <[email protected]>
Description: 
 lurker     - archive tool for mailing lists with search engine
Closes: 734731
Changes: 
 lurker (2.3-4.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Pass "-s /bin/sh" to "su www-data" to cope with the change of www-data's
     shell in base-passwd 3.5.30 (closes: #734731).
Checksums-Sha1: 
 8cc1dcae73046b0517d3acb9d11c921dbd709336 1777 lurker_2.3-4.1.dsc
 6a2463a5e95ff98f69757e1d31b9ced3a82494a2 82072 lurker_2.3-4.1.debian.tar.xz
 1728fea3eda7052b707fb13a9417a65e6027d044 371242 lurker_2.3-4.1_i386.deb
Checksums-Sha256: 
 23e4651b682e1b7cbedb30c543f72384fa37bedaae9ed247057be9d23deb7d80 1777 
lurker_2.3-4.1.dsc
 c8c8c54f1896e980690aa1eb98e9dbf4f7e3cebb567ca494f1270738d456ef75 82072 
lurker_2.3-4.1.debian.tar.xz
 9578dbc5ccb3b4a041aa5e2fae270ee6a4740660c3051601835563c52003890f 371242 
lurker_2.3-4.1_i386.deb
Files: 
 626175ae728365d9649ded2d88b0f293 1777 mail optional lurker_2.3-4.1.dsc
 cd2fc49249925da9a8fd718e718a14b9 82072 mail optional 
lurker_2.3-4.1.debian.tar.xz
 f9e518b7b8dedd926bb42b8aed5aa243 371242 mail optional lurker_2.3-4.1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)
Comment: Colin Watson <[email protected]> -- Debian developer

iQIVAwUBUtkkiTk1h9l9hlALAQgDQg/8CLv8mP6OlzYjNUiyK33qXS27hn5pLE4h
mBP6rxqn5cB1vPNu/3gYYHXbt+Lhy9cxXBgErq6jrlhZ/ahlM9TmBIwifUPMSly3
8Z56fOiptiJwXvYKHTNBm1h71MU8HcoVBjdhMZrtkP181ioz5Fk18MepLhZmodRw
rs8y7ZIhSqAXhWUjVo+FbsB2R/zncPy+N0F0UhDRQLOdH/7FQK7xjLLZ2uYJgDxI
Sc+VnTFZbolVUoQo54g0BerR7mhBcKwinFipHlYrigQXizvu6/8veEa2MZpY+Hdj
DnRfY17VfTCvKkzIRZccuJ3sc0TijrKM3x7SI4U0Qh6bAbIvnTenRVN6Xe0k0yaC
X5zKp+17mjpXhWcBhOEJhuPE6ByeED759c2jN0ku4+gjl4dbL04ScKifZywAEVoW
T/ht5/dc069eRIm4Q/jcUZTXGGQTx7cNBrTzNsReMUjU8CFLH7BdptD87YqKiR+i
ebu3mj3BYdKRXieh856efG1gjxX/nGyDKOwUO4lQimr7hbIAJzwhjuUsfwO+TbUN
5+ajS4aBvwbClUqcxEugLPU2zYsRBtuP6V1lSgYdUCJ2Iq0mIOQZCT+FXrPdKje1
DCNDWF5nUzGSqNNdSuNXi6NZ/yTUideTcN9O7MCE4OhJKPuuVff4uPaAoQ/yCfxo
sOF9WdYKzEY=
=DRJx
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to