Ask your questions here.
Post a reply
Neckara

- Neckara
- Posts: 6
- Joined: Sun Aug 04, 2013 11:15 am

## Bug in refracta snashop ?

Sun Aug 04, 2013 11:23 am

Hello
I installed refractasnashop and when I launch it and press the key "enter", refractasnashop quit with the code 2.
This is the /var/log/refractasnashop_error.log :

> ls: cannot access /home/snapshot/*.iso: No such file or directory
> /usr/bin/refractasnapshot: line 409: syntax error: unexpected end of file

I can't understand why he complains because of the missing of an iso file in /home/snapshot.
It's refractasnashop which would create this file no? So why he didn't complain before ?
Here is the strace of refractasnashop :

> execve("/usr/bin/refractasnapshot", ["refractasnapshot"], [/* 13 vars */]) = 0
> brk(0) = 0x9b61000
> access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
> mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7704000
> access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
> open("/etc/ld.so.cache", O_RDONLY) = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=19205, ...}) = 0
> mmap2(NULL, 19205, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb76ff000
> close(3) = 0
> access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
> open("/lib/i386-linux-gnu/i686/cmov/libc.so.6", O_RDONLY) = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240o\1\0004\0\0\0"..., 512) = 512
> fstat64(3, {st_mode=S_IFREG|0755, st_size=1437864, ...}) = 0
> mmap2(NULL, 1452408, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb759c000
> mprotect(0xb76f8000, 4096, PROT_NONE) = 0
> mmap2(0xb76f9000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15c) = 0xb76f9000
> mmap2(0xb76fc000, 10616, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb76fc000
> close(3) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb759b000
> set_thread_area({entry_number:-1 -> 6, base_addr:0xb759b8d0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
> mprotect(0xb76f9000, 8192, PROT_READ) = 0
> mprotect(0x804f000, 4096, PROT_READ) = 0
> mprotect(0xb7723000, 4096, PROT_READ) = 0
> munmap(0xb76ff000, 19205) = 0
> brk(0) = 0x9b61000
> brk(0x9b82000) = 0x9b82000
> execve("/usr/local/sbin/bash", ["bash", "/usr/bin/refractasnapshot"], [/* 13 vars */]) = -1 ENOENT (No such file or directory)
> execve("/usr/local/bin/bash", ["bash", "/usr/bin/refractasnapshot"], [/* 13 vars */]) = -1 ENOENT (No such file or directory)
> execve("/usr/sbin/bash", ["bash", "/usr/bin/refractasnapshot"], [/* 13 vars */]) = -1 ENOENT (No such file or directory)
> execve("/usr/bin/bash", ["bash", "/usr/bin/refractasnapshot"], [/* 13 vars */]) = -1 ENOENT (No such file or directory)
> execve("/sbin/bash", ["bash", "/usr/bin/refractasnapshot"], [/* 13 vars */]) = -1 ENOENT (No such file or directory)
> execve("/bin/bash", ["bash", "/usr/bin/refractasnapshot"], [/* 13 vars */]) = 0
> brk(0) = 0x9dad000
> access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
> mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb774e000
> access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
> open("/etc/ld.so.cache", O_RDONLY) = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=19205, ...}) = 0
> mmap2(NULL, 19205, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7749000
> close(3) = 0
> access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
> open("/lib/i386-linux-gnu/libtinfo.so.5", O_RDONLY) = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300d\0\0004\0\0\0"..., 512) = 512
> fstat64(3, {st_mode=S_IFREG|0644, st_size=125424, ...}) = 0
> mmap2(NULL, 129100, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7729000
> mmap2(0xb7746000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1c) = 0xb7746000
> close(3) = 0
> access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
> open("/lib/i386-linux-gnu/i686/cmov/libdl.so.2", O_RDONLY) = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\n\0\0004\0\0\0"..., 512) = 512
> fstat64(3, {st_mode=S_IFREG|0644, st_size=9844, ...}) = 0
> mmap2(NULL, 12408, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7725000
> mmap2(0xb7727000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7727000
> close(3) = 0
> access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
> open("/lib/i386-linux-gnu/i686/cmov/libc.so.6", O_RDONLY) = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240o\1\0004\0\0\0"..., 512) = 512
> fstat64(3, {st_mode=S_IFREG|0755, st_size=1437864, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7724000
> mmap2(NULL, 1452408, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb75c1000
> mprotect(0xb771d000, 4096, PROT_NONE) = 0
> mmap2(0xb771e000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15c) = 0xb771e000
> mmap2(0xb7721000, 10616, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7721000
> close(3) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb75c0000
> set_thread_area({entry_number:-1 -> 6, base_addr:0xb75c06c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
> mprotect(0xb771e000, 8192, PROT_READ) = 0
> mprotect(0xb7727000, 4096, PROT_READ) = 0
> mprotect(0xb7746000, 8192, PROT_READ) = 0
> mprotect(0x8129000, 4096, PROT_READ) = 0
> mprotect(0xb776d000, 4096, PROT_READ) = 0
> munmap(0xb7749000, 19205) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> open("/dev/tty", O_RDWR|O_NONBLOCK|O_LARGEFILE) = 3
> close(3) = 0
> brk(0) = 0x9dad000
> brk(0x9dae000) = 0x9dae000
> brk(0x9daf000) = 0x9daf000
> getuid32() = 0
> getgid32() = 0
> geteuid32() = 0
> getegid32() = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> time(NULL) = 1375614430
> brk(0x9db0000) = 0x9db0000
> brk(0x9db1000) = 0x9db1000
> open("/proc/meminfo", O_RDONLY) = 3
> fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb774d000
> read(3, "MemTotal: 1034596 kB\nMemF"..., 1024) = 1024
> close(3) = 0
> munmap(0xb774d000, 4096) = 0
> brk(0x9db2000) = 0x9db2000
> rt_sigaction(SIGCHLD, {SIG_DFL, [], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGCHLD, {SIG_DFL, [], SA_RESTART}, {SIG_DFL, [], SA_RESTART}, 8) = 0
> rt_sigaction(SIGINT, {SIG_DFL, [], 0}, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGINT, {SIG_DFL, [], 0}, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGQUIT, {SIG_DFL, [], 0}, {SIG_DFL, [], 0}, 8) = 0
> rt_sigaction(SIGQUIT, {SIG_DFL, [], 0}, {SIG_DFL, [], 0}, 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigaction(SIGQUIT, {SIG_IGN, [], 0}, {SIG_DFL, [], 0}, 8) = 0
> uname({sys="Linux", node="UsbBoot", ...}) = 0
> stat64("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
> stat64(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
> getpid() = 2800
> getppid() = 2799
> stat64(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
> stat64("/usr/local/sbin/bash", 0xbfa266a0) = -1 ENOENT (No such file or directory)
> stat64("/usr/local/bin/bash", 0xbfa266a0) = -1 ENOENT (No such file or directory)
> stat64("/usr/sbin/bash", 0xbfa266a0) = -1 ENOENT (No such file or directory)
> stat64("/usr/bin/bash", 0xbfa266a0) = -1 ENOENT (No such file or directory)
> stat64("/sbin/bash", 0xbfa266a0) = -1 ENOENT (No such file or directory)
> stat64("/bin/bash", {st_mode=S_IFREG|0755, st_size=941252, ...}) = 0
> stat64("/bin/bash", {st_mode=S_IFREG|0755, st_size=941252, ...}) = 0
> geteuid32() = 0
> getegid32() = 0
> getuid32() = 0
> getgid32() = 0
> access("/bin/bash", X_OK) = 0
> stat64("/bin/bash", {st_mode=S_IFREG|0755, st_size=941252, ...}) = 0
> geteuid32() = 0
> getegid32() = 0
> getuid32() = 0
> getgid32() = 0
> access("/bin/bash", R_OK) = 0
> stat64("/bin/bash", {st_mode=S_IFREG|0755, st_size=941252, ...}) = 0
> stat64("/bin/bash", {st_mode=S_IFREG|0755, st_size=941252, ...}) = 0
> geteuid32() = 0
> getegid32() = 0
> getuid32() = 0
> getgid32() = 0
> access("/bin/bash", X_OK) = 0
> stat64("/bin/bash", {st_mode=S_IFREG|0755, st_size=941252, ...}) = 0
> geteuid32() = 0
> getegid32() = 0
> getuid32() = 0
> getgid32() = 0
> access("/bin/bash", R_OK) = 0
> gettimeofday({1375614430, 443607}, NULL) = 0
> getpgrp() = 2799
> rt_sigaction(SIGCHLD, {0x808a220, [], SA_RESTART}, {SIG_DFL, [], SA_RESTART}, 8) = 0
> getrlimit(RLIMIT_NPROC, {rlim_cur=7990, rlim_max=7990}) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> open("/usr/bin/refractasnapshot", O_RDONLY|O_LARGEFILE) = 3
> ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfa26918) = -1 ENOTTY (Inappropriate ioctl for device)
> _llseek(3, 0, [0], SEEK_CUR) = 0
> read(3, "#!/usr/bin/env bash\nversion=\"ref"..., 80) = 80
> _llseek(3, 0, [0], SEEK_SET) = 0
> getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=4*1024}) = 0
> fcntl64(255, F_GETFD) = -1 EBADF (Bad file descriptor)
> dup2(3, 255) = 255
> close(3) = 0
> fcntl64(255, F_SETFD, FD_CLOEXEC) = 0
> fcntl64(255, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
> fstat64(255, {st_mode=S_IFREG|0755, st_size=11995, ...}) = 0
> _llseek(255, 0, [0], SEEK_CUR) = 0
> brk(0x9db4000) = 0x9db4000
> brk(0x9db5000) = 0x9db5000
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> read(255, "#!/usr/bin/env bash\nversion=\"ref"..., 8176) = 8176
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> brk(0x9db6000) = 0x9db6000
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> brk(0x9db7000) = 0x9db7000
> brk(0x9db8000) = 0x9db8000
> brk(0x9db9000) = 0x9db9000
> brk(0x9dba000) = 0x9dba000
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> stat64("/usr/lib/refractasnapshot/iso/live", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> stat64("/etc/refractasnapshot.conf", {st_mode=S_IFREG|0644, st_size=6331, ...}) = 0
> open("/etc/refractasnapshot.conf", O_RDONLY|O_LARGEFILE) = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=6331, ...}) = 0
> brk(0x9dbc000) = 0x9dbc000
> read(3, "# This file contains some config"..., 6331) = 6331
> close(3) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> brk(0x9dbd000) = 0x9dbd000
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> pipe([3, 4]) = 0
> rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
> _llseek(255, -4879, [3297], SEEK_CUR) = 0
> clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb75c0728) = 2801
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigaction(SIGCHLD, {0x808a220, [], SA_RESTART}, {0x808a220, [], SA_RESTART}, 8) = 0
> close(4) = 0
> read(3, "0\n", 128) = 2
> read(3, "", 128) = 0
> close(3) = 0
> rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> rt_sigaction(SIGINT, {0x80875a0, [], 0}, {SIG_DFL, [], 0}, 8) = 0
> waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 2801
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> --- SIGCHLD (Child exited) @ 0 (0) ---
> waitpid(-1, 0xbfa25d38, WNOHANG) = -1 ECHILD (No child processes)
> sigreturn() = ? (mask now [])
> rt_sigaction(SIGINT, {SIG_DFL, [], 0}, {0x80875a0, [], 0}, 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> read(255, "\n\n# Record errors in a logfile.\n"..., 8176) = 8176
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> open("/var/log/refractasnapshot_errors.log", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3
> fcntl64(2, F_GETFD) = 0
> fcntl64(2, F_DUPFD, 10) = 10
> fcntl64(2, F_GETFD) = 0
> fcntl64(10, F_SETFD, FD_CLOEXEC) = 0
> dup2(3, 2) = 2
> close(3) = 0
> close(10) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> brk(0x9dbe000) = 0x9dbe000
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> brk(0x9dbf000) = 0x9dbf000
> brk(0x9dc0000) = 0x9dc0000
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> stat64("/home/snapshot", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> pipe([3, 4]) = 0
> rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
> _llseek(255, -3489, [7984], SEEK_CUR) = 0
> clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb75c0728) = 2802
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigaction(SIGCHLD, {0x808a220, [], SA_RESTART}, {0x808a220, [], SA_RESTART}, 8) = 0
> close(4) = 0
> read(3, "0\n", 128) = 2
> read(3, "", 128) = 0
> close(3) = 0
> rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> rt_sigaction(SIGINT, {0x80875a0, [], 0}, {SIG_DFL, [], 0}, 8) = 0
> waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 2802
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> --- SIGCHLD (Child exited) @ 0 (0) ---
> waitpid(-1, 0xbfa255b8, WNOHANG) = -1 ECHILD (No child processes)
> sigreturn() = ? (mask now [])
> rt_sigaction(SIGINT, {SIG_DFL, [], 0}, {0x80875a0, [], 0}, 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> pipe([3, 4]) = 0
> rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
> clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb75c0728) = 2805
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigaction(SIGCHLD, {0x808a220, [], SA_RESTART}, {0x808a220, [], SA_RESTART}, 8) = 0
> close(4) = 0
> read(3, "4.0K\n", 128) = 5
> read(3, "", 128) = 0
> close(3) = 0
> rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> rt_sigaction(SIGINT, {0x80875a0, [], 0}, {SIG_DFL, [], 0}, 8) = 0
> waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 2805
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> --- SIGCHLD (Child exited) @ 0 (0) ---
> waitpid(-1, 0xbfa255e8, WNOHANG) = -1 ECHILD (No child processes)
> sigreturn() = ? (mask now [])
> rt_sigaction(SIGINT, {SIG_DFL, [], 0}, {0x80875a0, [], 0}, 8) = 0
> stat64("/home/work/myfs", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> pipe([3, 4]) = 0
> rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
> clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb75c0728) = 2808
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigaction(SIGCHLD, {0x808a220, [], SA_RESTART}, {0x808a220, [], SA_RESTART}, 8) = 0
> close(4) = 0
> read(3, "4.0K\n", 128) = 5
> read(3, "", 128) = 0
> close(3) = 0
> rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> rt_sigaction(SIGINT, {0x80875a0, [], 0}, {SIG_DFL, [], 0}, 8) = 0
> waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 2808
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> --- SIGCHLD (Child exited) @ 0 (0) ---
> waitpid(-1, 0xbfa256d8, WNOHANG) = -1 ECHILD (No child processes)
> sigreturn() = ? (mask now [])
> rt_sigaction(SIGINT, {SIG_DFL, [], 0}, {0x80875a0, [], 0}, 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> pipe([3, 4]) = 0
> rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
> clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb75c0728) = 2811
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigaction(SIGCHLD, {0x808a220, [], SA_RESTART}, {0x808a220, [], SA_RESTART}, 8) = 0
> close(4) = 0
> read(3, "* You have a saved copy of the s"..., 128) = 58
> read(3, " located at /home/work/myfs.\n", 128) = 31
> read(3, "", 128) = 0
> close(3) = 0
> rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> rt_sigaction(SIGINT, {0x80875a0, [], 0}, {SIG_DFL, [], 0}, 8) = 0
> waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 2811
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> --- SIGCHLD (Child exited) @ 0 (0) ---
> waitpid(-1, 0xbfa25708, WNOHANG) = -1 ECHILD (No child processes)
> sigreturn() = ? (mask now [])
> rt_sigaction(SIGINT, {SIG_DFL, [], 0}, {0x80875a0, [], 0}, 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> pipe([3, 4]) = 0
> rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
> clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb75c0728) = 2812
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigaction(SIGCHLD, {0x808a220, [], SA_RESTART}, {0x808a220, [], SA_RESTART}, 8) = 0
> close(4) = 0
> read(3, "* The temporary copy of the file"..., 128) = 56
> read(3, " at /home/work/myfs and remove"..., 128) = 62
> read(3, "", 128) = 0
> close(3) = 0
> rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> rt_sigaction(SIGINT, {0x80875a0, [], 0}, {SIG_DFL, [], 0}, 8) = 0
> waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 2812
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> --- SIGCHLD (Child exited) @ 0 (0) ---
> waitpid(-1, 0xbfa258b8, WNOHANG) = -1 ECHILD (No child processes)
> sigreturn() = ? (mask now [])
> rt_sigaction(SIGINT, {SIG_DFL, [], 0}, {0x80875a0, [], 0}, 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> read(255, "check_directories\ncheck_space\nre"..., 8176) = 4011
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> brk(0x9dc1000) = 0x9dc1000
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> pipe([3, 4]) = 0
> rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
> _llseek(255, -3993, [8002], SEEK_CUR) = 0
> clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb75c0728) = 2813
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigaction(SIGCHLD, {0x808a220, [], SA_RESTART}, {0x808a220, [], SA_RESTART}, 8) = 0
> close(4) = 0
> read(3, "", 128) = 0
> close(3) = 0
> rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> rt_sigaction(SIGINT, {0x80875a0, [], 0}, {SIG_DFL, [], 0}, 8) = 0
> waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0) = 2813
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> --- SIGCHLD (Child exited) @ 0 (0) ---
> waitpid(-1, 0xbfa255b8, WNOHANG) = -1 ECHILD (No child processes)
> sigreturn() = ? (mask now [])
> rt_sigaction(SIGINT, {SIG_DFL, [], 0}, {0x80875a0, [], 0}, 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> pipe([3, 4]) = 0
> rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
> clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb75c0728) = 2817
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigaction(SIGCHLD, {0x808a220, [], SA_RESTART}, {0x808a220, [], SA_RESTART}, 8) = 0
> close(4) = 0
> read(3, "", 128) = 0
> close(3) = 0
> rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> rt_sigaction(SIGINT, {0x80875a0, [], 0}, {SIG_DFL, [], 0}, 8) = 0
> waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0) = 2817
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> --- SIGCHLD (Child exited) @ 0 (0) ---
> waitpid(-1, 0xbfa255e8, WNOHANG) = -1 ECHILD (No child processes)
> sigreturn() = ? (mask now [])
> rt_sigaction(SIGINT, {SIG_DFL, [], 0}, {0x80875a0, [], 0}, 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> stat64("/home/snapshot", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
> stat64("/home/work", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
> stat64(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
> stat64("/usr/local/sbin/rm", 0xbfa25f80) = -1 ENOENT (No such file or directory)
> stat64("/usr/local/bin/rm", 0xbfa25f80) = -1 ENOENT (No such file or directory)
> stat64("/usr/sbin/rm", 0xbfa25f80) = -1 ENOENT (No such file or directory)
> stat64("/usr/bin/rm", 0xbfa25f80) = -1 ENOENT (No such file or directory)
> stat64("/sbin/rm", 0xbfa25f80) = -1 ENOENT (No such file or directory)
> stat64("/bin/rm", {st_mode=S_IFREG|0755, st_size=59016, ...}) = 0
> stat64("/bin/rm", {st_mode=S_IFREG|0755, st_size=59016, ...}) = 0
> geteuid32() = 0
> getegid32() = 0
> getuid32() = 0
> getgid32() = 0
> access("/bin/rm", X_OK) = 0
> stat64("/bin/rm", {st_mode=S_IFREG|0755, st_size=59016, ...}) = 0
> geteuid32() = 0
> getegid32() = 0
> getuid32() = 0
> getgid32() = 0
> access("/bin/rm", R_OK) = 0
> stat64("/bin/rm", {st_mode=S_IFREG|0755, st_size=59016, ...}) = 0
> stat64("/bin/rm", {st_mode=S_IFREG|0755, st_size=59016, ...}) = 0
> geteuid32() = 0
> getegid32() = 0
> getuid32() = 0
> getgid32() = 0
> access("/bin/rm", X_OK) = 0
> stat64("/bin/rm", {st_mode=S_IFREG|0755, st_size=59016, ...}) = 0
> geteuid32() = 0
> getegid32() = 0
> getuid32() = 0
> getgid32() = 0
> access("/bin/rm", R_OK) = 0
> rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, [CHLD], [INT CHLD], 8) = 0
> rt_sigprocmask(SIG_SETMASK, [INT CHLD], NULL, 8) = 0
> clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb75c0728) = 2821
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> rt_sigaction(SIGINT, {0x80875a0, [], 0}, {SIG_DFL, [], 0}, 8) = 0
> waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 2821
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> --- SIGCHLD (Child exited) @ 0 (0) ---
> waitpid(-1, 0xbfa25a38, WNOHANG) = -1 ECHILD (No child processes)
> sigreturn() = ? (mask now [])
> rt_sigaction(SIGINT, {SIG_DFL, [], 0}, {0x80875a0, [], 0}, 8) = 0
> stat64(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
> stat64("/usr/local/sbin/mkdir", 0xbfa260a0) = -1 ENOENT (No such file or directory)
> stat64("/usr/local/bin/mkdir", 0xbfa260a0) = -1 ENOENT (No such file or directory)
> stat64("/usr/sbin/mkdir", 0xbfa260a0) = -1 ENOENT (No such file or directory)
> stat64("/usr/bin/mkdir", 0xbfa260a0) = -1 ENOENT (No such file or directory)
> stat64("/sbin/mkdir", 0xbfa260a0) = -1 ENOENT (No such file or directory)
> stat64("/bin/mkdir", {st_mode=S_IFREG|0755, st_size=50820, ...}) = 0
> stat64("/bin/mkdir", {st_mode=S_IFREG|0755, st_size=50820, ...}) = 0
> geteuid32() = 0
> getegid32() = 0
> getuid32() = 0
> getgid32() = 0
> access("/bin/mkdir", X_OK) = 0
> stat64("/bin/mkdir", {st_mode=S_IFREG|0755, st_size=50820, ...}) = 0
> geteuid32() = 0
> getegid32() = 0
> getuid32() = 0
> getgid32() = 0
> access("/bin/mkdir", R_OK) = 0
> stat64("/bin/mkdir", {st_mode=S_IFREG|0755, st_size=50820, ...}) = 0
> stat64("/bin/mkdir", {st_mode=S_IFREG|0755, st_size=50820, ...}) = 0
> geteuid32() = 0
> getegid32() = 0
> getuid32() = 0
> getgid32() = 0
> access("/bin/mkdir", X_OK) = 0
> stat64("/bin/mkdir", {st_mode=S_IFREG|0755, st_size=50820, ...}) = 0
> geteuid32() = 0
> getegid32() = 0
> getuid32() = 0
> getgid32() = 0
> access("/bin/mkdir", R_OK) = 0
> rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
> clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb75c0728) = 2822
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> rt_sigaction(SIGINT, {0x80875a0, [], 0}, {SIG_DFL, [], 0}, 8) = 0
> waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 2822
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> --- SIGCHLD (Child exited) @ 0 (0) ---
> waitpid(-1, 0xbfa25b58, WNOHANG) = -1 ECHILD (No child processes)
> sigreturn() = ? (mask now [])
> rt_sigaction(SIGINT, {SIG_DFL, [], 0}, {0x80875a0, [], 0}, 8) = 0
> rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
> clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb75c0728) = 2823
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> rt_sigaction(SIGINT, {0x80875a0, [], 0}, {SIG_DFL, [], 0}, 8) = 0
> waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 2823
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> --- SIGCHLD (Child exited) @ 0 (0) ---
> waitpid(-1, 0xbfa25c48, WNOHANG) = -1 ECHILD (No child processes)
> sigreturn() = ? (mask now [])
> rt_sigaction(SIGINT, {SIG_DFL, [], 0}, {0x80875a0, [], 0}, 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> read(255, "check_space\nreport_space\n\n\n# The"..., 8176) = 3993
> brk(0x9dc2000) = 0x9dc2000
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> brk(0x9dc3000) = 0x9dc3000
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> pipe([3, 4]) = 0
> rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
> _llseek(255, -3981, [8014], SEEK_CUR) = 0
> clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb75c0728) = 2824
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigaction(SIGCHLD, {0x808a220, [], SA_RESTART}, {0x808a220, [], SA_RESTART}, 8) = 0
> close(4) = 0
> read(3, "Filesystem\t Size\tUsed\tAvail\tUse%"..., 128) = 42
> read(3, "rootfs\t 7.6G\t5.3G\t1.9G\t74% /\n/d"..., 128) = 108
> read(3, "", 128) = 0
> close(3) = 0
> rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> rt_sigaction(SIGINT, {0x80875a0, [], 0}, {SIG_DFL, [], 0}, 8) = 0
> waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 2824
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> --- SIGCHLD (Child exited) @ 0 (0) ---
> waitpid(-1, 0xbfa25a68, WNOHANG) = -1 ECHILD (No child processes)
> sigreturn() = ? (mask now [])
> rt_sigaction(SIGINT, {SIG_DFL, [], 0}, {0x80875a0, [], 0}, 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> read(255, "report_space\n\n\n# The real work s"..., 8176) = 3981
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> brk(0x9dc4000) = 0x9dc4000
> brk(0x9dc5000) = 0x9dc5000
> write(1, "\n", 1
> ) = 1
> write(1, " You will need plenty of free sp"..., 72 You will need plenty of free space. It is recommended that free space
> ) = 72
> write(1, " (Avail) in the partition that h"..., 71 (Avail) in the partition that holds the work directory (probably "/")
> ) = 71
> write(1, " should be two times the total i"..., 70 should be two times the total installed system size (Used). You can
> ) = 70
> write(1, " deduct the space taken up by pr"..., 73 deduct the space taken up by previous snapshots and any saved copies of
> ) = 73
> write(1, " the system from the Used amount"..., 34 the system from the Used amount.
> ) = 34
> write(1, "\n", 1
> ) = 1
> write(1, " * You have 0 snapshots taking u"..., 54 * You have 0 snapshots taking up 4.0K of disk space.
> ) = 54
> write(1, " * You have a saved copy of the "..., 59 * You have a saved copy of the system using 4.0K of space
> ) = 59
> write(1, " located at /home/work/myfs.\n", 31 located at /home/work/myfs.
> ) = 31
> write(1, " * The temporary copy of the fil"..., 57 * The temporary copy of the filesystem will be created
> ) = 57
> write(1, " at /home/work/myfs and remove"..., 62 at /home/work/myfs and removed when this program finishes.
> ) = 62
> write(1, " * The snapshot directory is cur"..., 61 * The snapshot directory is currently set to /home/snapshot
> ) = 61
> write(1, " \n", 2
> ) = 2
> write(1, "\n", 1
> ) = 1
> write(1, " You can change these and other "..., 53 You can change these and other settings by editing
> ) = 53
> write(1, " /etc/refractasnapshot.conf.\n", 29 /etc/refractasnapshot.conf.
> ) = 29
> write(1, "\n", 1
> ) = 1
> write(1, "\n", 1
> ) = 1
> write(1, " Current disk usage:\n", 21 Current disk usage:
> ) = 21
> write(1, " (For complete listing, exit and"..., 46 (For complete listing, exit and run 'df -h')
> ) = 46
> write(1, "\n", 1
> ) = 1
> write(1, " Filesystem\t Size\tUsed\tAvail\tUse"..., 43 Filesystem Size Used Avail Use% Mounted
> ) = 43
> write(1, "rootfs\t 7.6G\t5.3G\t1.9G\t74% /\n", 30rootfs 7.6G 5.3G 1.9G 74% /
> ) = 30
> write(1, "/dev/disk/by-uuid/654523e8-bec2-"..., 78/dev/disk/by-uuid/654523e8-bec2-4357-b946-a69554687e5d 7.6G 5.3G 1.9G 74% /
> ) = 78
> write(1, " \n", 2
> ) = 2
> write(1, " Press ENTER to proceed or hi"..., 52 Press ENTER to proceed or hit ctrl-c to exit.
> ) = 52
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> stat64("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
> stat64("/home/work", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
> chdir("/home/work") = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> read(255, "", 8176) = 0
> write(2, "/usr/bin/refractasnapshot: line "..., 74) = 74
> exit_group(2) = ?

I try to get some documentation but I didn't find anything.
fsmithred

- fsmithred
- Posts: 2101
- Joined: Wed Mar 09, 2011 9:13 pm

## Re: Bug in refracta snashop ?

Sun Aug 04, 2013 6:07 pm

What version of debian are you using?
What changes in the config file did you make?
I don't understand most of what's in the strace output. Near the end, it looks like it's complaining about line 74, but that's a blank line.
Are you getting the error about /home/snapshot/*.iso missing when there actually is an iso file in /home/snapshot?
Can you try running refractasnapshot-gui instead? Or are you on a command-line-only system?
The most detailed documentation would be the comments inside the config file.
Neckara

- Neckara
- Posts: 6
- Joined: Sun Aug 04, 2013 11:15 am

## Re: Bug in refracta snashop ?

Sun Aug 04, 2013 6:13 pm

I use the version 3.2.0-4-486.
I didn't change anything in the config file.
I think 74 is the third write's argument : the size of the string. I think it's the second line of the log text.
There wasn't iso in the directory.
I can't run the gui, i'm in a command-line-only system.
fsmithred

- fsmithred
- Posts: 2101
- Joined: Wed Mar 09, 2011 9:13 pm

## Re: Bug in refracta snashop ?

Sun Aug 04, 2013 7:58 pm

OK, I just reproduced your problem with 9.0.9, and I then successfully built an iso with 9.0.8-2, which you can get here:
http://distro.ibiblio.org/refracta/test ... -2_all.deb
I'll have to compare the scripts to see what the problem is.
Edit: And the iso boots normally in virtualbox.
fsmithred

- fsmithred
- Posts: 2101
- Joined: Wed Mar 09, 2011 9:13 pm

## Re: Bug in refracta snashop ?

Sun Aug 04, 2013 9:29 pm

I found the syntax error. In 9.0.9, starting at line 284

Code:
  `# Copy the filesystem
  copy_filesystem () {
  rsync -av / myfs/ --delete-excluded --exclude="$work_dir" \
  --exclude="$snapshot_dir" --exclude-from="$snapshot_excludes" \
  }`

there's an extra backslash on the second line of the command.
That section should look like this.

Code:
  `# Copy the filesystem
  copy_filesystem () {
  rsync -av / myfs/ --delete-excluded --exclude="$work_dir" \
  --exclude="$snapshot_dir" --exclude-from="$snapshot_excludes"
  }`

New deb file soon. (maybe before tomorrow)
fsmithred

- fsmithred
- Posts: 2101
- Joined: Wed Mar 09, 2011 9:13 pm

## Re: Bug in refracta snashop ?

Mon Aug 05, 2013 2:08 am

New debs with bugfix.
http://distro.ibiblio.org/refracta/test ... -2_all.deb
http://distro.ibiblio.org/refracta/test ... -2_all.deb
I tested the cli version, and it made a bootable iso. Haven't tested the gui version yet, but it didn't have the bug. Only made a few minor changes.
Neckara

- Neckara
- Posts: 6
- Joined: Sun Aug 04, 2013 11:15 am

## Re: Bug in refracta snashop ?

Mon Aug 05, 2013 7:59 am

It works better but mksquafs doesn't work : it return 1 before it's finished.
Sometimes it finish and return 0 but it's rare.
I can't boot now because I didn't have a complete iso because of mksquafs...
I have also a suggestion for your command : accept as argument a path to do a chroot :
If there is an argument
- you do mount --bin /dev path/dev ( same thing for /sys and /proc )
- you launch "chroot path refractorysnapshot"
It can be interresting I think.
fsmithred

- fsmithred
- Posts: 2101
- Joined: Wed Mar 09, 2011 9:13 pm

## Re: Bug in refracta snashop ?

Mon Aug 05, 2013 2:14 pm

I'm not getting any errors with the latest build (9.0.9-2). I've only tested with default settings - I'll try again with my usual settings (save work, edit menu, different filename, xz compression). Maybe there's something you need to install that wasn't included in the list of depends? Just a guess.
Can someone else please test the cli snapshot script?
http://distro.ibiblio.org/refracta/test ... -2_all.deb
http://distro.ibiblio.org/refracta/test ... -2_all.deb
Why do you want to chroot the copy of the filesystem? You can do it manually by setting edit_boot_menu to "yes". When the editor opens, go to another virtual terminal and do whatever you want to the filesystem copy. When you close the editor, the script will proceed to squash the filesystem. But I don't know if that will work, because the copy of the filesystem is not complete.
See /usr/lib/refractasnapshot/snapshot_exclude.list to see what's excluded. Some of the excluded things may get recreated when you operate in the chroot - like probably .bash_history, logs, and maybe the package cache, if you install stuff. Some of those things take up a lot of space and could possibly compromise security (depending on what you do with it.)
Neckara

- Neckara
- Posts: 6
- Joined: Sun Aug 04, 2013 11:15 am

## Re: Bug in refracta snashop ?

Mon Aug 05, 2013 3:11 pm

> Why do you want to chroot the copy of the filesystem? You can do it manually by setting edit_boot_menu to "no".

Are you sure ? edit_boot_menu isn't for the live.cfg file ? It's the only file I can edit then I put the option to "yes".
Some people can copy / into a /sav folder, do some stuff and want to put /sav into an iso file for exemple. Because, for exemple, they can install guest add-on for the virtual machin, etc.

> See /usr/lib/refractasnapshot/snapshot_exclude.list to see what's excluded. Some of the excluded things may get recreated when you operate in the chroot

I don't understand why.
If we are into a chroot, it will be the "same" if we operate into /.
at the line :

Code:
  `mksquashfs myfs/ iso/live/filesystem.squashfs ${mksq_opt}`

mksq_opt aren't in one of the other line.
There is no way to do that without squashfs ?
fsmithred

- fsmithred
- Posts: 2101
- Joined: Wed Mar 09, 2011 9:13 pm

## Re: Bug in refracta snashop ?

Mon Aug 05, 2013 4:15 pm

Setting edit_boot_menu to yes (looks like you read the post before I edited to change "no" to "yes") causes the script to pause. While it's paused, you can hit alt-F2, for example, log in, and do stuff (i.e. make other changes in the copy of the filesystem.). When the text editor closes, the script moves on to the next step.
If you want to install guest additions or anything else, it's probably easier to just install that in the system you're copying. It will be included in the iso. If you want to install stuff in the copy, you need to run apt-get update (in chroot) first, which will re-create the package cache in the system copy. It will also leave other trails, such as the commands you type, system logging events will cause log files to be created, and I'm not sure if there would be a problem with empty /sys, /proc, /dev and whatever else is excluded. I've never tried it, so I don't really know.
Sorry, I don't understand your question about mksquashfs. The filesystem needs to be squashed because that's what the packages from debian-live expect to see at boot. I suppose there are other ways to do it, but I'm not familiar with those ways.
See the config file for ${mksq_opt} - if you uncomment that line in the config file, mksquashfs will use xz compression, which makes a smaller iso file, but it runs very slowly. If you don't have that line in the config file, you're using an old config file.
Post a reply
Jump to:

Powered by phpBB © phpBB Group.

phpBB Mobile / SEO by Artodia.