Custom Query (16363 matches)
Results (271 - 273 of 16363)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #2406 | obsolete | pdf documentation | ||
| Description |
pdf documentation contain info aboun installing VirtualBox on Linux. i.e. 'usermod -a -G virtualbox user', but in some linux distribution usermod utility did n ot support -a/--append option. Because, if linux user is not has good knowledge, then he delete -a option. After that user lose own groups and get obnly virtualbox group. May be add info in pdf and message box, that admin can use not onlu usermod, but and gpasswd? Because it utility more easy than usermod. Thank you. Best regards, Yan. |
|||
| #2921 | fixed | sendfile => Fixed in SVN | ||
| Description |
Hi, Using Perlbal as a webserver with a document root hosted on a vboxsf mount share, I noticed that no content was sent to the socket, Perlbal was erroring with the following message: "Error w/ sendfile: Value too large for defined data type" I believe Perlbal is not the only one impacted by this issue (might be a regression of ticket #819?) Perlbal has some external dependencies (Sys::Syscall, IO::AIO etc...) that I tried to remove for you. Using perl 5.10 of ubuntu 32bits and the following test script reproduces the error: #!/usr/bin/perl
use strict;
use warnings;
use Config;
use POSIX;
use IO::Socket::INET;
my $src = shift;
open (my $s, "<$src") or die "cannot open $src";
my $d = open_sock();
doit($s, $d);
sub doit {
my ($fhs, $fhd) = @_;
my $src_fd = fileno($fhs);
my $dst_fd = fileno($fhd);
my $size = -s $fhs;
my $SYS_sendfile = 187;
my $machine = (POSIX::uname())[4];
unless ($^O eq "linux") {
die "I don't know if not under linux";
}
if ($machine eq "x86_64" && $Config{ptrsize} == 4) {
$machine = "i386";
}
unless ($machine =~ m/^i[3456]86$/) {
die "I can't tell for $machine";
}
my $res = syscall(
$SYS_sendfile,
$dst_fd,
$src_fd,
0,
$size,
);
if ($res < 0) {
warn "FAIL: $!";
}
else {
print "SUCCESS\n";
}
}
sub open_sock {
my $port = shift || 9245;
print "now connect to localhost:$port, thanks\n";
my $listen = IO::Socket::INET->new(
Listen => 1,
LocalAddr => 'localhost',
LocalPort => $port,
Proto => 'tcp',
Timeout => 15,
ReuseAddr => 1,
);
die "problem $!" unless $listen;
return $listen->accept or die "accept failed";
}
you will need to:
Broken case: when the filepath is in the vboxsf mount: yann@dev:~/dev$ perl repro.pl /in/vboxsf now connect to localhost:9245, thanks FAIL: Value too large for defined data type at repro2.pl line 40. Normal case: when the filepath is in the normal filesystem: yann@dev:~/dev$ perl repro.pl /tmp/src now connect to localhost:9245, thanks SUCCESS here is a strace() of the failing system call: sendfile(5, 3, NULL, 1497) = -1 EOVERFLOW (Value too large for defined data type) write(2, "FAIL: Value too large for define"..., 66FAIL: Value too large for defined data type at repro.pl line 39. ) = 66 here is my mount: $ mount -t vboxsf devel on /home/yann/dev type vboxsf (uid=1000,gid=1000,rw) $ uname -a Linux dev 2.6.27-9-server #1 SMP Thu Nov 20 22:53:41 UTC 2008 i686 GNU/Linux Thanks! Yann Kerherve |
|||
| #2950 | duplicate | bash_completion doesn't know how to complete directories on a vboxsf mount => duplicate of #2951 | ||
| Description |
Hi, I tend to believe it's a vboxsf defect, but I don't have any proof... I marked this ticket at 'minor', but it's rather annoying. The problem is that directories under vboxsf mount autocompletes with a space instead of a '/' for certain commands (rm, ls) and with nothing for cd (instead of '/' again) Here is what I see: yann@dev:~/dev$ mkdir -p /tmp/xxx/yyy/zzz yann@dev:~/dev$ mkdir -p xxx/yyy/zzz yann@dev:~/dev$ set -x yann@dev:~/dev$ ls /tmp/xxx/y+ local cur opt ++ _get_cword ++ 10 -eq 0 ++ 13 == \13 ++ echo /tmp/xxx/y + cur=/tmp/xxx/y + /tmp/xxx/y == --*=* + /tmp/xxx/y == -* + rm)dir + _filedir + local 'IFS= ' xspec + _expand + /tmp/xxx/y == \~*/* + /tmp/xxx/y == \~* + toks=() + local toks tmp + read -r tmp +++ quote_readline /tmp/xxx/y +++ local t=/tmp/xxx/y +++ echo \/tmp/xxx/y'\ ++ compgen -d -- \/tmp/xxx/y'\ + -n /tmp/xxx/yyy + toks[${#toks[@]}]=/tmp/xxx/yyy + read -r tmp + '' != -d + xspec= + read -r tmp +++ quote_readline /tmp/xxx/y +++ local t=/tmp/xxx/y +++ echo \/tmp/xxx/y'\ ++ compgen -f -X -- \/tmp/xxx/y'\ + -n /tmp/xxx/yyy + toks[${#toks[@]}]=/tmp/xxx/yyy + read -r tmp + COMPREPLY=("${COMPREPLY[@]}" "${toks[@]}") yy/ yann@dev:~/dev$ ls xxx/y+ local cur opt ++ _get_cword ++ 5 -eq 0 ++ 8 == \8 ++ echo xxx/y + cur=xxx/y + xxx/y == --*=* + xxx/y == -* + rm)dir + _filedir + local 'IFS= ' xspec + _expand + xxx/y == \~*/* + xxx/y == \~* + toks=() + local toks tmp + read -r tmp +++ quote_readline xxx/y +++ local t=xxx/y +++ echo \xxx/y'\ ++ compgen -d -- \xxx/y'\ + -n xxx/yyy + toks[${#toks[@]}]=xxx/yyy + read -r tmp + '' != -d + xspec= + read -r tmp +++ quote_readline xxx/y +++ local t=xxx/y +++ echo \xxx/y'\ ++ compgen -f -X -- \xxx/y'\ + -n xxx/yyy + toks[${#toks[@]}]=xxx/yyy + read -r tmp + COMPREPLY=("${COMPREPLY[@]}" "${toks[@]}") yy HTH, let me know if you need more details yann@dev:~/dev$ uname -a Linux dev 2.6.27-9-server #1 SMP Thu Nov 20 22:53:41 UTC 2008 i686 GNU/Linux yann@dev:~/dev$ cat /etc/issue.net Ubuntu 8.10 yann@dev:~/dev$ bash --version GNU bash, version 3.2.39(1)-release (i486-pc-linux-gnu) Copyright (C) 2007 Free Software Foundation, Inc. yann@dev:~/dev$ grep RELEASE: /etc/bash_completion # RELEASE: 20060301 yann@dev:~/dev$ mount -t vboxsf devel on /home/yann/dev type vboxsf (uid=1000,gid=1000,rw) Yann Kerherve |
|||

