[Bug 292347] Re: lighttpd: can not run CGI files ('404' error messages for CGI files accessed locally)

2009-09-07 Thread Deapesh
Has this bug been resolved?

-- 
lighttpd: can not run CGI files ('404' error messages for CGI files accessed 
locally)
https://bugs.launchpad.net/bugs/292347
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 137854] Re: vim-gnome window does not resize correctly when opening the 1st tab

2009-03-01 Thread Deapesh
Confirming this problem on Ubuntu 2.6.27.11.
Is this issue going to be patched?

-- 
vim-gnome window does not resize correctly when opening the 1st tab
https://bugs.launchpad.net/bugs/137854
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 302695] Re: Segmentation fault when running revelation without root privileges

2008-11-28 Thread Deapesh
** Description changed:

  Binary package hint: revelation
  
  On Ubuntu 8.04.1, attempting to run revelation 0.4.11 without root
  privileges (either via command prompt or by clicking on the menu) and
  then clicking on the 'open' option in its menu bar, results in a
  segmentation fault.
  
  Running it via sudo on the command prompt does not result in the crash.
  
  ===
- Here is the last part of the ptrace log:
+ Here is the last part of the strace log:
  
  open("/home/dea/.gtk-bookmarks", O_RDONLY|O_LARGEFILE) = 13
  fstat64(13, {st_mode=S_IFREG|0644, st_size=141, ...}) = 0
  read(13, "null,\"type\":3,\"value\":\"\"},{\"name"..., 8192) = 141
  read(13, "", 8192)  = 0
  close(13)   = 0
  open("/home/dea/.gtk-bookmarks", O_RDONLY|O_LARGEFILE) = 13
  fstat64(13, {st_mode=S_IFREG|0644, st_size=141, ...}) = 0
  read(13, "null,\"type\":3,\"value\":\"\"},{\"name"..., 8192) = 141
  read(13, "", 8192)  = 0
  close(13)   = 0
  --- SIGSEGV (Segmentation fault) @ 0 (0) ---
  +++ killed by SIGSEGV +++
  
  ===
  
  $ sudo apt-cache policy revelation
  revelation:
Installed: 0.4.11-3ubuntu1
Candidate: 0.4.11-3ubuntu1
Version table:
   *** 0.4.11-3ubuntu1 0
  500 http://us.archive.ubuntu.com hardy/universe Packages
  100 /var/lib/dpkg/status
  
  $lsb_release -rd
  Description:  Ubuntu 8.04.1
  Release:  8.04
  
  ===

-- 
Segmentation fault when running revelation without root privileges
https://bugs.launchpad.net/bugs/302695
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 302695] Re: Segmentation fault when running revelation without root privileges

2008-11-28 Thread Deapesh
This bug is reproducible consistently for me.

-- 
Segmentation fault when running revelation without root privileges
https://bugs.launchpad.net/bugs/302695
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 302695] Re: Segmentation fault when running revelation without root privileges

2008-11-26 Thread Deapesh
I am not too sure if this is a consistent bug. Will attempt to reproduce
it again later.

-- 
Segmentation fault when running revelation without root privileges
https://bugs.launchpad.net/bugs/302695
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 302695] [NEW] Segmentation fault when running revelation without root privileges

2008-11-26 Thread Deapesh
Public bug reported:

Binary package hint: revelation

On Ubuntu 8.04.1, attempting to run revelation 0.4.11 without root
privileges (either via command prompt or by clicking on the menu) and
then clicking on the 'open' option in its menu bar, results in a
segmentation fault.

Running it via sudo on the command prompt does not result in the crash.

===
Here is the last part of the ptrace log:

open("/home/dea/.gtk-bookmarks", O_RDONLY|O_LARGEFILE) = 13
fstat64(13, {st_mode=S_IFREG|0644, st_size=141, ...}) = 0
read(13, "null,\"type\":3,\"value\":\"\"},{\"name"..., 8192) = 141
read(13, "", 8192)  = 0
close(13)   = 0
open("/home/dea/.gtk-bookmarks", O_RDONLY|O_LARGEFILE) = 13
fstat64(13, {st_mode=S_IFREG|0644, st_size=141, ...}) = 0
read(13, "null,\"type\":3,\"value\":\"\"},{\"name"..., 8192) = 141
read(13, "", 8192)  = 0
close(13)   = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

===

$ sudo apt-cache policy revelation
revelation:
  Installed: 0.4.11-3ubuntu1
  Candidate: 0.4.11-3ubuntu1
  Version table:
 *** 0.4.11-3ubuntu1 0
500 http://us.archive.ubuntu.com hardy/universe Packages
100 /var/lib/dpkg/status

$lsb_release -rd
Description:Ubuntu 8.04.1
Release:8.04

===

** Affects: revelation (Ubuntu)
 Importance: Undecided
 Status: New

-- 
Segmentation fault when running revelation without root privileges
https://bugs.launchpad.net/bugs/302695
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 292347] Re: lighttpd: can not run CGI files ('404' error messages for CGI files accessed locally)

2008-11-01 Thread Deapesh
Hmm.. this bug report could be merged with Bug #179484 and the title of
that bug report changed to appropriately describe the error.

-- 
lighttpd: can not run CGI files ('404' error messages for CGI files accessed 
locally)
https://bugs.launchpad.net/bugs/292347
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 292347] Re: lighttpd: can not run CGI files ('404' error messages for CGI files accessed locally)

2008-11-01 Thread Deapesh
Seems like Ubuntu bug Bug #179484 is also due to this issue.

-- 
lighttpd: can not run CGI files ('404' error messages for CGI files accessed 
locally)
https://bugs.launchpad.net/bugs/292347
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 292347] [NEW] lighttpd: can not run CGI files ('404' error messages for CGI files accessed locally)

2008-11-01 Thread Deapesh
Public bug reported:

Binary package hint: lighttpd

I am running lighttpd 1.4.19 on Ubuntu 8.04.1.

I have been trying to get CGI scripts running on the server. These
scripts will be accessed only from the localhost (and I am not using
port 80).

After the following steps:
* enable mod_cgi
* create cgi script cgi.pl in /usr/lib/cgi-bin/ (with 755 permissions)
trying to access the file via the URL http://127.0.0.1:/cgi-bin/cgi.pl 
results in a 404 error 

After a lot of head-banging and frustration I think the reason for this
error is the second line in the below code excerpt from 10-cgi.conf:

$HTTP["remoteip"] == "127.0.0.1" {
alias.url += ( "/cgi-bin/" => "/usr/lib/cgi-bin/" ) #--->CAUSE FOR THE 
ERROR!!
$HTTP["url"] =~ "^/cgi-bin/" {
cgi.assign = ( ".pl" => "/usr/bin/perl" )
}
}


I then found this issue reported within a Debian bug 
discussion:http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=345554#53

As mentioned by Vedran Furač, the second alias is superfluous within the
10-cgi.conf file.

Relevant code excerpt from the 10-cgi.conf file:

$HTTP["remoteip"] == "127.0.0.1" {
alias.url += ( "/cgi-bin/" => "/usr/lib/cgi-bin/" ) #--->CAUSE FOR THE 
ERROR!!
$HTTP["url"] =~ "^/cgi-bin/" {
cgi.assign = ( ".pl" => "/usr/bin/perl" )
}
} 
The second line results in '404' errors, when trying to execute a CGI file. 
Commenting it out, solves the problem.


With the default 10-cgi.conf file, running  /usr/sbin/lighttpd -tp -f 
lighttpd.conf
results in this relevant snippet:

$HTTP["remoteip"] == "127.0.0.1" {
# block 1
alias.url = (
"/cgi-bin/" => "/usr/lib/cgi-bin/, /usr/lib/cgi-bin/",
"/doc/" => "/usr/share/doc/",
"/images/"  => "/usr/share/images/",
# 3
)

One can notice the superfluous paths. The relevant error message from
the lighttpd error log is:

2008-11-01 15:26:40: (response.c.212) -- splitting Request-URI 
2008-11-01 15:26:40: (response.c.213) Request-URI  :  /cgi-bin/cgi.pl 
2008-11-01 15:26:40: (response.c.214) URI-scheme   :  http 
2008-11-01 15:26:40: (response.c.215) URI-authority:  127.0.0.1: 
2008-11-01 15:26:40: (response.c.216) URI-path :  /cgi-bin/cgi.pl 
2008-11-01 15:26:40: (response.c.217) URI-query:   
2008-11-01 15:26:40: (response.c.267) -- sanatising URI 
2008-11-01 15:26:40: (response.c.268) URI-path :  /cgi-bin/cgi.pl 
2008-11-01 15:26:40: (mod_access.c.135) -- mod_access_uri_handler called 
2008-11-01 15:26:40: (response.c.382) -- before doc_root 
2008-11-01 15:26:40: (response.c.383) Doc-Root : /var/www/ 
2008-11-01 15:26:40: (response.c.384) Rel-Path : /cgi-bin/cgi.pl 
2008-11-01 15:26:40: (response.c.385) Path :  
2008-11-01 15:26:40: (response.c.433) -- after doc_root 
2008-11-01 15:26:40: (response.c.434) Doc-Root : /var/www/ 
2008-11-01 15:26:40: (response.c.435) Rel-Path : /cgi-bin/cgi.pl 
2008-11-01 15:26:40: (response.c.436) Path : /var/www/cgi-bin/cgi.pl 
2008-11-01 15:26:40: (response.c.453) -- logical -> physical 
2008-11-01 15:26:40: (response.c.454) Doc-Root : /var/www/ 
2008-11-01 15:26:40: (response.c.455) Rel-Path : /cgi-bin/cgi.pl 
2008-11-01 15:26:40: (response.c.456) Path : /usr/lib/cgi-bin/, 
/usr/lib/cgi-bin/cgi.pl 
2008-11-01 15:26:40: (response.c.473) -- handling physical path 
2008-11-01 15:26:40: (response.c.474) Path : /usr/lib/cgi-bin/, 
/usr/lib/cgi-bin/cgi.pl 
2008-11-01 15:26:40: (response.c.530) -- file not found 
2008-11-01 15:26:40: (response.c.531) Path : /usr/lib/cgi-bin/, 
/usr/lib/cgi-bin/cgi.pl 
 
I guess the second alias line needs to be deleted.

thanks,
Deapesh.

** Affects: lighttpd (Ubuntu)
 Importance: Undecided
 Status: New

-- 
lighttpd: can not run CGI files ('404' error messages for CGI files accessed 
locally)
https://bugs.launchpad.net/bugs/292347
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs