Package: drupal7
Version: 7.32-1+deb8u3
Severity: normal
Tags: patch

Hi,
  after installation and again after upgrade to last version I found a problem 
wit cron.sh 
trying to call cron.php for default site. I think it should be skipped instead 
of site all 
which doesnt exist. I'am suggesting a patch for 
/usr/share/drupal7/scripts/cron.sh

--- cron.sh.ORIG 2015-03-19 16:55:08.000000000 +0100
+++ cron.sh     2015-03-22 19:47:31.278270794 +0100
@@ -5,7 +5,7 @@
        CRON_KEY=""
        FULL_URL=""

-       if [ ! "`basename $site`" = "all" ]; then
+       if [ ! "`basename $site`" = "default" ]; then
                for file in $site/baseurl.php $site/settings.php; do
                        [ -f "$file" ] && BASE_URL=`grep '^$base_url' $file | 
cut -d"'" -f2`
                        [ "X$BASE_URL" != "X" ] && break

Stanislav Hostomský



-- System Information:
Debian Release: 8.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

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

Versions of packages drupal7 depends on:
ii  apache2 [httpd]                          2.4.10-9
ii  curl                                     7.38.0-4
ii  dbconfig-common                          1.8.47+nmu3
ii  debconf [debconf-2.0]                    1.5.55
ii  mysql-client                             5.5.42-1
ii  mysql-client-5.5 [virtual-mysql-client]  5.5.42-1
ii  php5                                     5.6.6+dfsg-2
ii  php5-gd                                  5.6.6+dfsg-2
ii  php5-mysql                               5.6.6+dfsg-2
ii  php5-sqlite                              5.6.6+dfsg-2
ii  postfix [mail-transport-agent]           2.11.3-1
ii  wwwconfig-common                         0.2.2

Versions of packages drupal7 recommends:
ii  mysql-server  5.5.42-1

drupal7 suggests no packages.

-- debconf information:
  drupal7/passwords-do-not-match:
  drupal7/pgsql/no-empty-passwords:
* drupal7/dbconfig-install: true
  drupal7/mysql/admin-user: root
  drupal7/db/dbname: drupal7
  drupal7/dbconfig-remove:
  drupal7/purge: false
  drupal7/internal/reconfiguring: false
* drupal7/database-type: mysql
  drupal7/install-error: abort
  drupal7/upgrade-error: abort
  drupal7/dbconfig-reinstall: false
  drupal7/pgsql/method: unix socket
  drupal7/pgsql/authmethod-user:
  drupal7/remote/newhost:
  drupal7/pgsql/manualconf:
  drupal7/remove-error: abort
  drupal7/upgrade-backup: true
  drupal7/missing-db-package-error: abort
  drupal7/internal/skip-preseed: false
  drupal7/dbconfig-upgrade: true
  drupal7/pgsql/admin-user: postgres
  drupal7/db/app-user: drupal7
  drupal7/mysql/method: unix socket
  drupal7/remote/port:
  drupal7/pgsql/changeconf: false
  drupal7/pgsql/authmethod-admin: ident
  drupal7/remote/host:
  drupal7/db/basepath:


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to