[lvs-users] --sync-id errs out

L.S. Keijser leon at linux.nl
Mon Jun 15 21:58:48 BST 2009


On Fri, 2009-06-12 at 12:36 +1000, Simon Horman wrote:
> It looks like there is a problem in the options parsing code
> when popt is used but the getopt_long code is ok - the two code-paths
> exist for historical reasons. I suspect that this is not Debian specific.

I tested it on a CentOS (5.3) machine which came up with the error and a
Debian (Etch) box which was okay. If you need more info to debug, let me
know. Attached is the strace output from the CentOS machine, if it
helps.

-- 
Léon
-------------- next part --------------
# strace ipvsadm --start-daemon master --syncid 1
execve("/sbin/ipvsadm", ["ipvsadm", "--start-daemon", "master", "--syncid", "1"], [/* 18 vars */]) = 0
brk(0)                                  = 0x96f6000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b2f87e63000
uname({sys="Linux", node="my.supersecret.host.local", ...}) = 0
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=25364, ...}) = 0
mmap(NULL, 25364, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2b2f87e64000
close(3)                                = 0
open("/lib64/libc.so.6", O_RDONLY)      = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p\332\241\2278\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1713160, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b2f87e6b000
mmap(0x3897a00000, 3494168, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3897a00000
mprotect(0x3897b4c000, 2097152, PROT_NONE) = 0
mmap(0x3897d4c000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14c000) = 0x3897d4c000
mmap(0x3897d51000, 16664, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3897d51000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b2f87e6c000
arch_prctl(ARCH_SET_FS, 0x2b2f87e6c220) = 0
mprotect(0x3897d4c000, 16384, PROT_READ) = 0
mprotect(0x389781b000, 4096, PROT_READ) = 0
munmap(0x2b2f87e64000, 25364)           = 0
socket(PF_INET, SOCK_RAW, IPPROTO_RAW)  = 3
getsockopt(3, SOL_IP, 0x481 /* IP_??? */, "\1\2\1\0\0\20\0\0\5\0\0\0", [12]) = 0
write(2, "Illegal 'syncid' option with the"..., 55Illegal 'syncid' option with the 'start-daemon' command) = 55
write(2, "\n", 1
)                       = 1
exit_group(2)                           = ?



More information about the lvs-users mailing list