Bug#680917: roundcube-core: Symbolic link not allowed or link target not accessible: js/jquery-ui.min.js
❦ 10 juillet 2012 08:39 CEST, Teodor MICU mteo...@gmail.com : $ ls -l /var/lib/roundcube/program lrwxrwxrwx 1 root root 28 juin 20 08:02 /var/lib/roundcube/program - /usr/share/roundcube/program $ ls -l /usr/share/roundcube/program/js/jquery.min.js lrwxrwxrwx 1 root root 40 juin 24 01:53 /usr/share/roundcube/program/js/jquery.min.js - ../../../javascript/jquery/jquery.min.js $ ls -l /var/lib/roundcube/program/js/jquery.min.js lrwxrwxrwx 1 root root 40 juin 24 01:53 /var/lib/roundcube/program/js/jquery.min.js - ../../../javascript/jquery/jquery.min.js $ readlink -f /var/lib/roundcube/program/js/jquery.min.js /usr/share/javascript/jquery/jquery.min.js I have all these exactly as you noted. However, my report was for plugins directory not for program. It seems that dpkg will not replace a symbolic link by a directory. I still need to investigate a bit on how to fix this. Looking at the last message from bug #656886 I see that you assumed /var/lib/roundcube/plugins/jqueryui is a symlink but in reality it is not. Nor is the plugins directory (from var). The symlink to /var is in /usr/share/roundcube: | plugins - /var/lib/roundcube/plugins | skins - /var/lib/roundcube/skins There was a change in roundcube 0.5.1-1 which mangled the symlinks such that a user should use /var/lib/roundcube as the base and be able to add plugins. This was to fix bug #612553. I wasn't aware that dpkg had a special handling for this. -- /* Fuck me gently with a chainsaw... */ 2.0.38 /usr/src/linux/arch/sparc/kernel/ptrace.c pgp5LRJTkvrEq.pgp Description: PGP signature
Bug#680917: roundcube-core: Symbolic link not allowed or link target not accessible: js/jquery-ui.min.js
2012/7/9 Vincent Bernat ber...@debian.org: ❦ 9 juillet 2012 10:14 CEST, Teodor mteo...@gmail.com : The reason for this broken links is that ../../../javascript get resolved to /var/lib/javascript but the correct location is /usr/share/javascript. Hi Teodor! Hi! We already got a similar problem. The output of ls -l is misleading. You can check with readlink -f instead: I tried to get that with «readlink -f» but it doesn't print anything in this case. This is because ../../../javascript doesn't exist. $ ls -l /var/lib/roundcube/program lrwxrwxrwx 1 root root 28 juin 20 08:02 /var/lib/roundcube/program - /usr/share/roundcube/program $ ls -l /usr/share/roundcube/program/js/jquery.min.js lrwxrwxrwx 1 root root 40 juin 24 01:53 /usr/share/roundcube/program/js/jquery.min.js - ../../../javascript/jquery/jquery.min.js $ ls -l /var/lib/roundcube/program/js/jquery.min.js lrwxrwxrwx 1 root root 40 juin 24 01:53 /var/lib/roundcube/program/js/jquery.min.js - ../../../javascript/jquery/jquery.min.js $ readlink -f /var/lib/roundcube/program/js/jquery.min.js /usr/share/javascript/jquery/jquery.min.js I have all these exactly as you noted. However, my report was for plugins directory not for program. Could you check that you get the same output on your system? Also, here is the relevant bug report: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=656886 I think you have the same problem. If this is the case, an history of what versions of roundcube you installed would help to find where the problem comes from. 2012-05-03 14:52:55 upgrade roundcube 0.5.4+dfsg-1~bpo60+1 0.7.1-1~bpo60+1 (at the same time it started to depend on libjs-jquery-ui) Looking at the last message from bug #656886 I see that you assumed /var/lib/roundcube/plugins/jqueryui is a symlink but in reality it is not. Nor is the plugins directory (from var). The symlink to /var is in /usr/share/roundcube: | plugins - /var/lib/roundcube/plugins | skins - /var/lib/roundcube/skins Cheers -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#680917: roundcube-core: Symbolic link not allowed or link target not accessible: js/jquery-ui.min.js
Package: roundcube Version: 0.7.1-1~bpo60+1 Severity: normal Hi, I've noticed multiple lines in httpd's error.log like this: | [Mon Jul 09 08:49:14 2012] [error] [client xyz] Symbolic link not allowed | or link target not accessible: | /var/lib/roundcube/plugins/jqueryui/js/jquery-ui.min.js, referer: | https://mail.DOMAIN/roundcube/?_task=mail_mbox=INBOX_refresh=1 After a short look I see several broken links in plugins/jqueryui directory: | css - ../../../javascript/jquery-ui/css | js/i18n - ../../../../javascript/jquery-ui/ui/i18n | js/jquery-ui.min.js - ../../../../javascript/jquery-ui/jquery-ui.min.js | (config.inc.php too but shouldn't make a difference) The reason for this broken links is that ../../../javascript get resolved to /var/lib/javascript but the correct location is /usr/share/javascript. Cheers -- System Information: Debian Release: 6.0.5 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages roundcube-core depends on: ii apache22.2.16-6+squeeze7 Apache HTTP Server metapackage ii apache2-mpm-prefork [h 2.2.16-6+squeeze7 Apache HTTP Server - traditional n ii dbconfig-common1.8.46+squeeze.0 common framework for packaging dat ii debconf [debconf-2.0] 1.5.36.1 Debian configuration management sy ii libjs-jquery 1.6.4-1~bpo60+1 JavaScript library for dynamic web ii libjs-jquery-ui1.8.dfsg-3JavaScript UI library for dynamic ii libmagic1 5.04-5+squeeze2 File type determination library us ii php-auth 1.6.2-1 PHP PEAR modules for creating an a ii php-mail-mime 1.8.0-2 PHP PEAR module for creating MIME ii php-mdb2 2.5.0b2-1 PHP PEAR module to provide a commo ii php-net-smtp 1.4.2-3 PHP PEAR module implementing SMTP ii php-net-socket 1.0.9-2 PHP PEAR Network Socket Interface ii php5 5.3.3-7+squeeze13 server-side, HTML-embedded scripti ii php5-gd5.3.3-7+squeeze13 GD module for php5 ii php5-intl 5.3.3-7+squeeze13 internationalisation module for ph ii php5-mcrypt5.3.3-7+squeeze13 MCrypt module for php5 ii php5-pspell5.3.3-7+squeeze13 pspell module for php5 ii roundcube-sqlite 0.7.1-1~bpo60+1 metapackage providing sqlite depen ii tinymce3.3.8+dfsg0-0.1 platform independent web based Jav ii ucf3.0025+nmu1 Update Configuration File: preserv roundcube-core recommends no packages. Versions of packages roundcube-core suggests: ii php-auth-sasl1.0.4-1 Abstraction of various SASL mechan pn php-crypt-gpgnone (no description available) ii roundcube-plugins0.7.1-1~bpo60+1 skinnable AJAX based webmail solut roundcube depends on no packages. -- Configuration Files: /etc/logrotate.d/roundcube-core changed: /var/log/roundcube/errors /var/log/roundcube/sendmail /var/log/roundcube/session /var/log/roundcube/userlogins { create 640 www-data adm compress delaycompress missingok notifempty rotate 52 weekly } /etc/roundcube/htaccess changed: AddType text/x-component .htc IfModule mod_php5.c php_flagdisplay_errors Off php_flaglog_errors On php_value upload_max_filesize 20M php_value post_max_size 6M php_value memory_limit64M php_flagzlib.output_compression Off php_flagmagic_quotes_gpcOff php_flagmagic_quotes_runtimeOff php_flagzend.ze1_compatibility_mode Off php_flagsuhosin.session.encrypt Off php_flagsession.auto_start Off php_value session.gc_maxlifetime 21600 php_value session.gc_divisor 500 php_value session.gc_probability 1 /IfModule IfModule mod_rewrite.c RewriteEngine On RewriteRule ^favicon.ico$ skins/default/images/favicon.ico RewriteRule .svn/ - [F] RewriteRule ^README|INSTALL|LICENSE|SQL|bin|CHANGELOG$ - [F] /IfModule IfModule mod_deflate.c SetOutputFilter DEFLATE /IfModule IfModule mod_headers.c /IfModule IfModule mod_expires.c ExpiresActive On ExpiresDefault access plus 1 month /IfModule FileETag MTime Size IfModule mod_autoindex.c Options -Indexes /ifModule -- debconf information: roundcube/upgrade-error: abort roundcube/pgsql/authmethod-user: password roundcube/purge: false * roundcube/dbconfig-install: true * roundcube/language: en_US * roundcube/db/dbname: roundcube roundcube/remote/newhost: roundcube/pgsql/changeconf: false roundcube/upgrade-backup: true roundcube/install-error: abort roundcube/mysql/admin-user: root * roundcube/hosts: roundcube/pgsql/authmethod-admin:
Bug#680917: roundcube-core: Symbolic link not allowed or link target not accessible: js/jquery-ui.min.js
❦ 9 juillet 2012 10:14 CEST, Teodor mteo...@gmail.com : I've noticed multiple lines in httpd's error.log like this: | [Mon Jul 09 08:49:14 2012] [error] [client xyz] Symbolic link not allowed | or link target not accessible: | /var/lib/roundcube/plugins/jqueryui/js/jquery-ui.min.js, referer: | https://mail.DOMAIN/roundcube/?_task=mail_mbox=INBOX_refresh=1 After a short look I see several broken links in plugins/jqueryui directory: | css - ../../../javascript/jquery-ui/css | js/i18n - ../../../../javascript/jquery-ui/ui/i18n | js/jquery-ui.min.js - ../../../../javascript/jquery-ui/jquery-ui.min.js | (config.inc.php too but shouldn't make a difference) The reason for this broken links is that ../../../javascript get resolved to /var/lib/javascript but the correct location is /usr/share/javascript. Hi Teodor! We already got a similar problem. The output of ls -l is misleading. You can check with readlink -f instead: $ ls -l /var/lib/roundcube/program lrwxrwxrwx 1 root root 28 juin 20 08:02 /var/lib/roundcube/program - /usr/share/roundcube/program $ ls -l /usr/share/roundcube/program/js/jquery.min.js lrwxrwxrwx 1 root root 40 juin 24 01:53 /usr/share/roundcube/program/js/jquery.min.js - ../../../javascript/jquery/jquery.min.js $ ls -l /var/lib/roundcube/program/js/jquery.min.js lrwxrwxrwx 1 root root 40 juin 24 01:53 /var/lib/roundcube/program/js/jquery.min.js - ../../../javascript/jquery/jquery.min.js $ readlink -f /var/lib/roundcube/program/js/jquery.min.js /usr/share/javascript/jquery/jquery.min.js Could you check that you get the same output on your system? Also, here is the relevant bug report: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=656886 I think you have the same problem. If this is the case, an history of what versions of roundcube you installed would help to find where the problem comes from. -- /* * Hash table gook.. */ 2.4.0-test2 /usr/src/linux/fs/buffer.c pgpG7vXaB4AiW.pgp Description: PGP signature