Package: ikiwiki Version: 1.30 Severity: normal Tags: patch We have an ikiwiki installation running as a user with a disabled shell. This seems to work for everything except ikiwiki-mass-rebuild, which breaks upgrades. The attached patch fixes the problem for me.
-- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (990, 'testing'), (500, 'stable'), (200, 'unstable') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.16-2-xen-amd64-k8 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages ikiwiki depends on: ii gcc [c-compiler] 4:4.1.1-13 The GNU C compiler ii gcc-3.3 [c-compiler] 1:3.3.6-13 The GNU C compiler ii gcc-4.1 [c-compiler] 4.1.1-13 The GNU C compiler ii libc6-dev [libc-dev] 2.3.6.ds1-7 GNU C Library: Development Librari ii libcgi-formbuilder-perl 3.03.01-1 Easily generate and process statef ii libcgi-session-perl 4.14-1 Persistent session data in CGI app ii libhtml-parser-perl 3.55-1 A collection of modules that parse ii libhtml-scrubber-perl 0.08-3 Perl extension for scrubbing/sanit ii libhtml-template-perl 2.8-1 HTML::Template : A module for usin ii libmail-sendmail-perl 0.79-4 Send email from a perl script ii libtime-duration-perl 1.02-1 Time::Duration -- rounded or exact ii libtimedate-perl 1.1600-5 Time and date functions for Perl ii libxml-simple-perl 2.14-4 Perl module for reading and writin ii markdown 1.0.1-3 Text-to-HTML conversion tool ii perl 5.8.8-6.1 Larry Wall's Practical Extraction Versions of packages ikiwiki recommends: ii git-core 1:1.4.3.2-1 content addressable filesystem pn hyperestraier <none> (no description available) ii mercurial 0.9.1-1 Scalable distributed version contr ii subversion 1.4.0-5 Advanced version control system -- no debconf information
--- /usr/sbin/ikiwiki-mass-rebuild 2006-10-16 12:18:26.000000000 -0700 +++ ikiwiki-mass-rebuild 2006-11-07 11:46:44.000000000 -0800 @@ -18,7 +18,7 @@ echo "warning: $setup specified in /etc/ikiwiki/wikilist does not exist, skipping" >&2 else echo "Processing $setup as user $user ..." - su "$user" -c "ikiwiki -setup $setup $action" + su "$user" -s /bin/sh -c "ikiwiki -setup $setup $action" fi }