[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Squeeze Debootstrap stoops on NFS4 Solaris10 share (on zfs dataset)



hi,

I have problems to get debootstrap squeeze /path/to/nfs4_solaris/share. It extracting several archives and than you get a prompt, without any messages. 

[...]
I: Extracting libtext-wrapi18n-perl...
I: Extracting mawk...
I: Extracting libncurses5...
I: Extracting ncurses-base...
I: Extracting ncurses-bin...
I: Extracting libpam-modules...
root@hostname: # 


strace -f :

====================================================
[,,,]
getppid()                               = 1700
stat64("/etc/lxc", {st_mode=S_IFDIR|0755, st_size=11, ...}) = 0
stat64(".", {st_mode=S_IFDIR|0755, st_size=11, ...}) = 0
open("/usr/sbin/debootstrap", O_RDONLY) = 3
fcntl64(3, F_DUPFD, 10)                 = 10
close(3)                                = 0
fcntl64(10, F_SETFD, FD_CLOEXEC)        = 0
rt_sigaction(SIGINT, NULL, {SIG_DFL, [], 0}, 0, 4294967295) = 0
rt_sigaction(SIGINT, {0x20dc0, ~[RT_0 RT_1], 0}, NULL, 0xf7aa8458, 4294967295) = 0
rt_sigaction(SIGQUIT, NULL, {SIG_DFL, [], 0}, 0, 4294967295) = 0
rt_sigaction(SIGQUIT, {SIG_DFL, ~[RT_0 RT_1], 0}, NULL, 0xf7aa8458, 4294967295) = 0
rt_sigaction(SIGTERM, NULL, {SIG_DFL, [], 0}, 0, 4294967295) = 0
rt_sigaction(SIGTERM, {SIG_DFL, ~[RT_0 RT_1], 0}, NULL, 0xf7aa8458, 4294967295) = 0
read(10, "#!/bin/sh -e\n\nVERSION='1.0.26+sq"..., 8192) = 8192
stat64("/debootstrap/debootstrap", 0xfff83700) = -1 ENOENT (No such file or directory)
open("/usr/share/debootstrap/functions", O_RDONLY) = 3
fcntl64(3, F_DUPFD, 10)                 = 11
close(3)                                = 0
fcntl64(11, F_SETFD, FD_CLOEXEC)        = 0
read(11, "################################"..., 8192) = 8192
read(11, "n\n\t\t\tscp \"$ssh_dest\" \"$dest\"\n\t\t\t"..., 8192) = 8192
read(11, "s\"\n\t\tlocal pkgdest=\"$TARGET/$($D"..., 8192) = 8192
read(11, "..\n\t\tperl -le '\n$unique = shift "..., 8192) = 8192
stat64("/usr/bin/perl", {st_mode=S_IFREG|0755, st_size=5700, ...}) = 0
geteuid32()                             = 0
rt_sigaction(SIGHUP, NULL, {SIG_DFL, [], 0}, 0, 4294967295) = 0
rt_sigaction(SIGHUP, {0x20dc0, ~[RT_0 RT_1], 0}, NULL, 0xf7aa8458, 4294967295) = 0
rt_sigaction(SIGQUIT, {0x20dc0, ~[RT_0 RT_1], 0}, NULL, 0xf7aa8458, 4294967295) = 0
rt_sigaction(SIGTERM, {0x20dc0, ~[RT_0 RT_1], 0}, NULL, 0xf7aa8458, 4294967295) = 0
read(11, "\t\t}\n\t\tif (not $dynamic and $f[0]"..., 8192) = 1578
read(11, "", 8192)                      = 0
close(11)                               = 0
fcntl64(4, F_DUPFD, 10)                 = -1 EBADF (Bad file descriptor)
dup2(1, 4)                              = 4
umask(0)                                = 022
umask(022)                              = 0
umask(022)                              = 022
read(10, " -a -n \"$2\" ]; then\n\t\t\tVARIANT=\""..., 8192) = 8192
stat64("/usr/bin/dpkg", {st_mode=S_IFREG|0755, st_size=216336, ...}) = 0
geteuid32()                             = 0
open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3
fcntl64(1, F_DUPFD, 10)                 = 11
close(1)                                = 0
fcntl64(11, F_SETFD, FD_CLOEXEC)        = 0
dup2(3, 1)                              = 1
close(3)                                = 0
fcntl64(2, F_DUPFD, 10)                 = 12
close(2)                                = 0
fcntl64(12, F_SETFD, FD_CLOEXEC)        = 0
dup2(1, 2)                              = 2
clone(Process 1702 attached
child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xf7c1a738) = 1702
[pid  1701] wait4(-1, Process 1701 suspended

[ctrl + c]

==========================================


Mount:

san:/pool2/lxc-sparc/ /var/lib/lxc nfs4 rw,relatime,vers=4,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=192.168.1.2,minorversion=0,local_lock=none,addr=192.168.1.1 0 0


Solaris 10:

zfs  get sharenfs pool2/lxc-sparc
NAME             PROPERTY  VALUE                                                                                SOURCE
pool2/lxc-sparc  sharenfs  rw=192.168.1.2,root=192.168.1.2  local


We need NFS4, 'cause of ACLs.


so, any suggestions?

cu denny

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail


Reply to: