exportfs recursively processes backslash escapes in exports file

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

 



Hi!

It is, I fear, like in the subject:
  $ tail -4 /etc/exports.d/zfs.exports
  /a\040\134053\040b 1(sec=sys,rw,no_subtree_check,mountpoint,crossmnt)
  /a\040\134134053\040b 2(sec=sys,rw,no_subtree_check,mountpoint,crossmnt)
  /a\040\134134134053\040b 3(sec=sys,rw,no_subtree_check,mountpoint,crossmnt)
  /a\040\134134134134053\040b 4(sec=sys,rw,no_subtree_check,mountpoint,crossmnt)
  # exportfs -ra
  exportfs: Failed to stat /a + b: No such file or directory
  exportfs: Failed to stat /a + b: No such file or directory
  exportfs: Failed to stat /a + b: No such file or directory
  exportfs: Failed to stat /a + b: No such file or directory

I just wanted to export '/a \053 b', of course. The rest are just PoC.

The manual states:
> You can also specify spaces or other unusual character in the export
> name using a backslash followed by the character code as three octal
> digits.

The this happens on 1:1.3.4-6 off Debian, nfs-utils-2.6.1, and
current HEAD (7f8463fe702174bd613df9d308cc899af25ae02e).

strace off HEAD attached.

Best,
наб

Please keep me in CC, as I'm not subscribed.
execve("./utils/exportfs/exportfs", ["./utils/exportfs/exportfs", "-ra"], 0x7fffa27ca428 /* 15 vars */) = 0
brk(NULL)                               = 0x55dcf1911000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=101487, ...}) = 0
mmap(NULL, 101487, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f36a2a56000
close(3)                                = 0
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 |\0\0\0\0\0\0@\0\0\0\0\0\0\0P?\2\0\0\0\0\0\0\0\0\0@\08\0\v\0@\0#\0\"\0\6\0\0\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\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\20\0\0\0\0\0\0\0R\345td\4\0\0\0\10\274\1\0\0\0\0\0\10\314\1\0\0\0\0\0\10\314\1\0\0\0\0\0\370\3\0\0\0\0\0\0\370\3\0\0\0\0\0\0\1\0\0\0\0\0\0\0\4\0\0\0\24\0\0\0\3\0\0\0GNU\0P\30#{\277\1+@\224\2\177\320\271o\302*$In\244\4\0\0\0\20\0\0\0\1\0\0\0GNU\0\0\0\0\0\3\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\262\2\0\0i\1\0\0\17\0\0\0\0\0\0\0\0\0\0\0\370\0\0\0\26\1\0\0\261\0\0\0\2\0\0\0\0\0\0\0g\1\0\0\0\0\0\0W\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0E\1\0\0\304\0\0\0\0\0\0\0\0\0\0\0", 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=149520, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f36a2a54000
mmap(NULL, 136304, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f36a2a32000
mmap(0x7f36a2a39000, 65536, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f36a2a39000
mmap(0x7f36a2a49000, 20480, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7f36a2a49000
mmap(0x7f36a2a4e000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b000) = 0x7f36a2a4e000
mmap(0x7f36a2a50000, 13424, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f36a2a50000
close(3)                                = 0
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libresolv.so.2", O_RDONLY|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\0\0\0\20f\1\0\0\0\0\0\360\t\0\0\0\0\0\0\360\t\0\0\0\0\0\0\1\0\0\0\0\0\0\0\4\0\0\0\24\0\0\0\3\0\0\0GNU\0\200?\341s\t\7(\235&_\220\367/\221e,V N\346\4\0\0\0\20\0\0\0\1\0\0\0GNU\0\0\0\0\0\3\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\35\1\0\0\247\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0w\0\0\0\0\0\0\0\1\0\0\0\26\0\0\0\0\0\0\0\0\0\0\0&\0\0\0\0\0\0\0\245\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0j\0\0\0s\0\0\0\0\0\0\0\0\0\0\0O\0\0\0\0\0\0\0\0\0\0\0p\0\0\0\242\0\0\0\0\0\0\0;\0\0\0\0\0\0\0\"\0\0\0\0\0\0\0N\0\0\0\0\0\0\0\0\0\0\0\241\0\0\0\0\0\0\0\0\0\0\0\216\0\0\0\0\0\0\0\0\0\0\0a\0\0\0\0\0\0\0\0\0\0\0004\0\0\0", 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=93000, ...}) = 0
mmap(NULL, 105088, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f36a2a18000
mprotect(0x7f36a2a1c000, 73728, PROT_NONE) = 0
mmap(0x7f36a2a1c000, 57344, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0x7f36a2a1c000
mmap(0x7f36a2a2a000, 12288, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12000) = 0x7f36a2a2a000
mmap(0x7f36a2a2e000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x7f36a2a2e000
mmap(0x7f36a2a30000, 6784, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f36a2a30000
close(3)                                = 0
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@n\2\0\0\0\0\0@\0\0\0\0\0\0\0p\2\34\0\0\0\0\0\0\0\0\0@\08\0\f\0@\0A\0@\0\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0\240\2\0\0\0\0\0\0\240\2\0\0\0\0\0\0\10\0\0\0\0\0\0\0\3\0\0\0\4\0\0\0 ?\31\0\0\0\0\0 ?\31\0\0\0\0\0 ?\31\0\0\0\0\0\34\0\0\0\0\0\0\0\34\0\0\0\0\0\0\0\20\0\0\0\0\0\0\0\1\0\0\0\4\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\200I\2\0\0\0\0\0\200I\2\0\0\0\0\0\0\20\0\0\0\0\0\0\1\0\0\0\5\0\0\0\0P\2\0\0\0\0\0\0P\2\0\0\0\0\0\0P\2\0\0\0\0\0\f\245\24\0\0\0\0\0\f\245\24\0\0\0\0\0\0\20\0\0\0\0\0\0\1\0\0\0\4\0\0\0\0\0\27\0\0\0\0\0\0\0\27\0\0\0\0\0\0\0\27\0\0\0\0\0\313\237\4\0\0\0\0\0\313\237\4\0\0\0\0\0\0\20\0\0\0\0\0\0\1\0\0\0\6\0\0\0\340\245\33\0\0\0\0\0\340\265\33\0\0\0\0\0\340\265\33\0\0\0\0\0000P\0\0\0\0\0\0(\217\0\0\0\0\0\0\0\20\0\0\0\0\0\0\2\0\0\0\6\0\0\0\200\313\33\0\0\0\0\0\200\333\33\0\0\0\0\0\200\333\33\0\0\0\0\0\340\1\0\0\0\0\0\0\340\1\0\0\0\0\0\0\10\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0\340\2\0\0\0\0\0\0\340\2\0\0\0\0\0\0\340\2\0\0\0\0\0\0D\0\0\0\0\0\0\0D\0\0\0\0\0\0\0\4\0\0\0\0\0\0\0\7\0\0\0\4\0\0\0\340\245\33\0\0\0\0\0\340\265\33\0\0\0\0\0\340\265\33\0\0\0\0\0\20\0\0\0\0\0\0\0\220\0\0\0\0\0\0\0\10\0\0\0\0\0\0\0P\345td\4\0\0\0<?\31\0\0\0\0\0<?\31\0\0\0\0\0<?\31\0\0\0\0\0\254a\0\0\0\0\0\0\254a\0\0\0\0\0\0\4\0\0\0\0\0\0\0Q\345td\6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\20\0\0\0\0\0\0\0R\345td\4\0\0\0\340\245\33\0\0\0\0\0\340\265\33\0\0\0\0\0\340\265\33\0\0\0\0\0 *\0\0\0\0\0\0 *\0\0\0\0\0\0\1\0\0\0\0\0\0\0\4\0\0\0\24\0\0\0\3\0\0\0GNU\0T\356\365\316\226\3177\313\27[\r\223\30h6\312\34\257G\f\4\0\0\0\20\0\0\0\1\0\0\0GNU\0\0\0\0\0\3\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\371\3\0\0B\t\0\0\363\1\0\0:\3\0\0\4\t\0\0<\4\0\0", 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1839792, ...}) = 0
mmap(NULL, 1852680, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f36a2853000
mprotect(0x7f36a2878000, 1662976, PROT_NONE) = 0
mmap(0x7f36a2878000, 1355776, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x25000) = 0x7f36a2878000
mmap(0x7f36a29c3000, 303104, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x170000) = 0x7f36a29c3000
mmap(0x7f36a2a0e000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1ba000) = 0x7f36a2a0e000
mmap(0x7f36a2a14000, 13576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f36a2a14000
close(3)                                = 0
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f36a2850000
arch_prctl(ARCH_SET_FS, 0x7f36a2850740) = 0
mprotect(0x7f36a2a0e000, 12288, PROT_READ) = 0
mprotect(0x7f36a2a2e000, 4096, PROT_READ) = 0
mprotect(0x7f36a2a4e000, 4096, PROT_READ) = 0
mprotect(0x55dceffd6000, 4096, PROT_READ) = 0
mprotect(0x7f36a2a99000, 4096, PROT_READ) = 0
munmap(0x7f36a2a56000, 101487)          = 0
set_tid_address(0x7f36a2850a10)         = 709645
set_robust_list(0x7f36a2850a20, 24)     = 0
rt_sigaction(SIGRTMIN, {sa_handler=0x7f36a2a39690, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f36a2a46140}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {sa_handler=0x7f36a2a39730, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f36a2a46140}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
getpid()                                = 709645
rt_sigaction(SIGUSR1, {sa_handler=0x55dceffcf640, sa_mask=[USR1], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f36a288ed60}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGUSR2, {sa_handler=0x55dceffcf640, sa_mask=[USR2], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f36a288ed60}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
stat("/etc/nfs.conf", 0x7ffc080a6ca8)   = -1 ENOENT (No such file or directory)
brk(NULL)                               = 0x55dcf1911000
brk(0x55dcf1932000)                     = 0x55dcf1932000
openat(AT_FDCWD, "/etc/nfs.conf.d", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/var/lib/nfs/export-lock", O_RDWR|O_CREAT, 0666) = 3
fcntl(3, F_SETLKW, {l_type=F_WRLCK, l_whence=SEEK_CUR, l_start=0, l_len=0}) = 0
openat(AT_FDCWD, "/etc/exports", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=389, ...}) = 0
read(4, "# /etc/exports: the access control list for filesystems which may be exported\n#\t\tto NFS clients.  See exports(5).\n#\n# Example for NFSv2 and NFSv3:\n# /srv/homes       hostname1(rw,sync,no_subtree_check) hostname2(ro,sync,no_subtree_check)\n#\n# Example for NFSv4:\n# /srv/nfs4        gss/krb5i(rw,sync,fsid=0,crossmnt,no_subtree_check)\n# /srv/nfs4/homes  gss/krb5i(rw,sync,no_subtree_check)\n#\n", 512) = 389
read(4, "", 512)                        = 0
close(4)                                = 0
openat(AT_FDCWD, "/etc/exports.d", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4
fstat(4, {st_mode=S_IFDIR|0755, st_size=4, ...}) = 0
getdents64(4, 0x55dcf1911760 /* 4 entries */, 32768) = 120
getdents64(4, 0x55dcf1911760 /* 0 entries */, 32768) = 0
close(4)                                = 0
openat(AT_FDCWD, "/etc/exports.d/zfs.exports", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=784, ...}) = 0
read(4, "# !!! DO NOT EDIT THIS FILE MANUALLY !!!\n\n/mnt/filling/machine/1200-S121 *(sec=sys,rw,no_subtree_check,mountpoint,crossmnt,no_subtree_check,no_root_squash,async)\n/spaced\\040out *(sec=sys,rw,no_subtree_check,mountpoint,crossmnt)\n/dupa\\011#hehe\\040\\134\\134epsko\\040\\134053\\040\\040\\015 *(sec=sys,rw,no_subtree_check,mountpoint,crossmnt)\n/dupa\\011#hehe\\040\\134\\134epsko\\040\\134053\\040\\040\\015\\040\320\264\320\276\321\201\321\202\320\276\320\277\321\200\320\270\320\274\320\265\321\207\320\260\321\202\320\265\320\273\321\214\320\275\320\276\321\201\321\202\320\270 *(sec=sys,rw,no_subtree_check,mountpoint,crossmnt)\n/a\\040\\134134053\\040b 2(sec=sys,rw,no_subtree_check,mountpoint,crossmnt)\n/a\\040\\134134134053\\040b 3(sec=sys,rw,no_subtree_check,mountpoint,crossmnt)\n/a\\040\\134134134134053\\040b 4(sec=sys,rw,no_subtree_check,mountpoint,crossmnt)\n/a\\040\\134053\\040b *(sec=sys,rw,no_subtree_check,mountpoint,crossmnt)\n", 1024) = 784
openat(AT_FDCWD, "/proc/fs/nfsd/export_features", O_RDONLY) = 5
read(5, "0x3feff 0xf\n", 50)            = 12
close(5)                                = 0
lstat("/mnt", {st_mode=S_IFDIR|0755, st_size=3, ...}) = 0
lstat("/mnt/filling", {st_mode=S_IFDIR|0755, st_size=7, ...}) = 0
lstat("/mnt/filling/machine", {st_mode=S_IFDIR|0755, st_size=4, ...}) = 0
lstat("/mnt/filling/machine/1200-S121", {st_mode=S_IFDIR|0755, st_size=26, ...}) = 0
lstat("/spaced out", {st_mode=S_IFDIR|0755, st_size=2, ...}) = 0
lstat("/dupa\t#hehe \\\\epsko +  \r", 0x7ffc080a5a30) = -1 ENOENT (No such file or directory)
lstat("/dupa\t#hehe \\\\epsko +  \r \320\264\320\276\321\201\321\202\320\276\320\277\321\200\320\270\320\274\320\265\321\207\320\260\321\202\320\265\320\273\321\214\320\275\320\276\321\201\321\202\320\270", 0x7ffc080a5a30) = -1 ENOENT (No such file or directory)
lstat("/a + b", 0x7ffc080a5a30)         = -1 ENOENT (No such file or directory)
lstat("/a + b", 0x7ffc080a5a30)         = -1 ENOENT (No such file or directory)
lstat("/a + b", 0x7ffc080a5a30)         = -1 ENOENT (No such file or directory)
lstat("/a + b", 0x7ffc080a5a30)         = -1 ENOENT (No such file or directory)
read(4, "", 1024)                       = 0
close(4)                                = 0
stat("/a + b", 0x7ffc080a7910)          = -1 ENOENT (No such file or directory)
write(2, "exportfs: ", 10)              = 10
write(2, "Failed to stat /a + b: No such file or directory", 48) = 48
write(2, "\n", 1)                       = 1
stat("/a + b", 0x7ffc080a7910)          = -1 ENOENT (No such file or directory)
write(2, "exportfs: ", 10)              = 10
write(2, "Failed to stat /a + b: No such file or directory", 48) = 48
write(2, "\n", 1)                       = 1
stat("/a + b", 0x7ffc080a7910)          = -1 ENOENT (No such file or directory)
write(2, "exportfs: ", 10)              = 10
write(2, "Failed to stat /a + b: No such file or directory", 48) = 48
write(2, "\n", 1)                       = 1
stat("/a + b", 0x7ffc080a7910)          = -1 ENOENT (No such file or directory)
write(2, "exportfs: ", 10)              = 10
write(2, "Failed to stat /a + b: No such file or directory", 48) = 48
write(2, "\n", 1)                       = 1
stat("/dupa\t#hehe \\\\epsko +  \r \320\264\320\276\321\201\321\202\320\276\320\277\321\200\320\270\320\274\320\265\321\207\320\260\321\202\320\265\320\273\321\214\320\275\320\276\321\201\321\202\320\270", 0x7ffc080a7910) = -1 ENOENT (No such file or directory)
write(2, "exportfs: ", 10)              = 10
write(2, "Failed to stat /dupa\t#hehe \\\\epsko +  \r \320\264\320\276\321\201\321\202\320\276\320\277\321\200\320\270\320\274\320\265\321\207\320\260\321\202\320\265\320\273\321\214\320\275\320\276\321\201\321\202\320\270: No such file or directory", 109) = 109
write(2, "\n", 1)                       = 1
stat("/dupa\t#hehe \\\\epsko +  \r", 0x7ffc080a7910) = -1 ENOENT (No such file or directory)
write(2, "exportfs: ", 10)              = 10
write(2, "Failed to stat /dupa\t#hehe \\\\epsko +  \r: No such file or directory", 66) = 66
write(2, "\n", 1)                       = 1
stat("/spaced out", {st_mode=S_IFDIR|0755, st_size=2, ...}) = 0
openat(AT_FDCWD, "/proc/net/rpc/auth.unix.ip/channel", O_WRONLY) = 4
write(4, "nfsd 0.0.0.0 2147483647 -test-client-\n", 38) = 38
close(4)                                = 0
openat(AT_FDCWD, "/proc/net/rpc/nfsd.export/channel", O_WRONLY) = 4
close(4)                                = 0
statfs("/spaced out", {f_type=ZFS_SUPER_MAGIC, f_bsize=131072, f_blocks=386359, f_bfree=386357, f_bavail=386357, f_files=98907574, f_ffree=98907568, f_fsid={val=[0x20b42459, 0xe98921]}, f_namelen=255, f_frsize=131072, f_flags=ST_VALID|ST_RELATIME}) = 0
openat(AT_FDCWD, "/proc/net/rpc/nfsd.export/channel", O_WRONLY) = 4
write(4, "-test-client- /spaced\\040out  3 25636 65534 65534 0\n", 52) = 52
close(4)                                = 0
stat("/mnt/filling/machine/1200-S121", {st_mode=S_IFDIR|0755, st_size=26, ...}) = 0
openat(AT_FDCWD, "/proc/net/rpc/auth.unix.ip/channel", O_WRONLY) = 4
write(4, "nfsd 0.0.0.0 2147483647 -test-client-\n", 38) = 38
close(4)                                = 0
openat(AT_FDCWD, "/proc/net/rpc/nfsd.export/channel", O_WRONLY) = 4
close(4)                                = 0
statfs("/mnt/filling/machine/1200-S121", {f_type=ZFS_SUPER_MAGIC, f_bsize=131072, f_blocks=113747260, f_bfree=113742634, f_bavail=113742634, f_files=29118140574, f_ffree=29118114449, f_fsid={val=[0x18be26f2, 0x9f0cd8]}, f_namelen=255, f_frsize=131072, f_flags=ST_VALID|ST_RELATIME}) = 0
openat(AT_FDCWD, "/proc/net/rpc/nfsd.export/channel", O_WRONLY) = 4
write(4, "-test-client- /mnt/filling/machine/1200-S121  3 25648 65534 65534 0\n", 68) = 68
close(4)                                = 0
openat(AT_FDCWD, "/var/lib/nfs/.etab.lock", O_RDWR|O_CREAT, 0600) = 4
fcntl(4, F_SETLKW, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0
openat(AT_FDCWD, "/var/lib/nfs/etab.tmp", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
write(5, "/a\\040+\\040b\t2(rw,sync,wdelay,hide,crossmnt,secure,root_squash,no_all_squash,no_subtree_check,secure_locks,acl,no_pnfs,mountpoint,anonuid=65534,anongid=65534,sec=sys,rw,secure,root_squash,no_all_squash)\n/a\\040+\\040b\t3(rw,sync,wdelay,hide,crossmnt,secure,root_squash,no_all_squash,no_subtree_check,secure_locks,acl,no_pnfs,mountpoint,anonuid=65534,anongid=65534,sec=sys,rw,secure,root_squash,no_all_squash)\n/a\\040+\\040b\t4(rw,sync,wdelay,hide,crossmnt,secure,root_squash,no_all_squash,no_subtree_check,secure_locks,acl,no_pnfs,mountpoint,anonuid=65534,anongid=65534,sec=sys,rw,secure,root_squash,no_all_squash)\n/a\\040+\\040b\t*(rw,sync,wdelay,hide,crossmnt,secure,root_squash,no_all_squash,no_subtree_check,secure_locks,acl,no_pnfs,mountpoint,anonuid=65534,anongid=65534,sec=sys,rw,secure,root_squash,no_all_squash)\n/dupa\\011\\043hehe\\040\\134\\134epsko\\040+\\040\\040\\015\\040\320\264\320\276\321\201\321\202\320\276\320\277\321\200\320\270\320\274\320\265\321\207\320\260\321\202\320\265\320\273\321\214\320\275\320\276\321\201\321\202\320\270\t*(rw,sync,wdelay,hide,crossmnt,secure,root_squash,no_all_squash,no_subtree_check,secure_locks,acl,no_pnfs,mountpoint,anonuid=65534,anongid=65534,sec=sys,rw,secure,root_squash,no_all_squash)\n/dupa\\011\\043hehe\\040\\134\\134epsko\\040+\\040\\040\\015\t*(rw,sync,wdelay,hide,crossmnt,secure,root_squash,no_all_squash,no_subtree_check,secure_locks,acl,no_pnfs,mountpoint,anonuid=65534,anongid=65534,sec=sys,rw,secure,root_squash,no_all_squash)\n/spaced\\040out\t*(rw,sync,wdelay,hide,crossmnt,secure,root_squash,no_all_squash,no_subtree_check,secure_locks,acl,no_pnfs,mountpoint,anonuid=65534,anongid=65534,sec=sys,rw,secure,root_squash,no_all_squash)\n/mnt/filling/machine/1200-S121\t*(rw,async,wdelay,hide,crossmnt,secure,no_root_squash,no_all_squash,no_subtree_check,secure_locks,acl,no_pnfs,mountpoint,anonuid=65534,anongid=65534,sec=sys,rw,secure,no_root_squash,no_all_squash)\n", 1775) = 1775
close(5)                                = 0
openat(AT_FDCWD, "/var/lib/nfs/etab.tmp", O_RDONLY) = 5
openat(AT_FDCWD, "/var/lib/nfs/etab", O_RDONLY) = 6
read(5, "/a\\040+\\040b\t2(rw,sync,wdelay,hide,crossmnt,secure,root_squash,no_all_squash,no_subtree_check,secure_locks,acl,no_pnfs,mountpoint,anonuid=65534,anongid=65534,sec=sys,rw,secure,root_squash,no_all_squash)\n/a\\040+\\040b\t3(rw,sync,wdelay,hide,crossmnt,secure,root_squash,no_all_squash,no_subtree_check,secure_locks,acl,no_pnfs,mountpoint,anonuid=65534,anongid=65534,sec=sys,rw,secure,root_squash,no_all_squash)\n/a\\040+\\040b\t4(rw,sync,wdelay,hide,crossmnt,secure,root_squash,no_all_squash,no_subtree_check,secure_locks,acl,no_pnfs,mountpoint,anonuid=65534,anongid=65534,sec=sys,rw,secure,root_squash,no_all_squash)\n/a\\040+\\040b\t*(rw,sync,wdelay,hide,crossmnt,secure,root_squash,no_all_squash,no_subtree_check,secure_locks,acl,no_pnfs,mountpoint,anonuid=65534,anongid=65534,sec=sys,rw,secure,root_squash,no_all_squash)\n/dupa\\011\\043hehe\\040\\134\\134epsko\\040+\\040\\040\\015\\040\320\264\320\276\321\201\321\202\320\276\320\277\321\200\320\270\320\274\320\265\321\207\320\260\321\202\320\265\320\273\321\214\320\275\320\276\321\201\321\202\320\270\t*(rw,sync,wdelay,hide,crossmnt,secure,root_squash,no_all_squash,no_subtree_check,secure_locks,acl,no_pnfs,mountpoint,anonuid=65534,anongid=65534,sec=sys,rw,secure,root_squash,no_all_squash)\n/dupa\\011\\043hehe\\040\\134\\134epsko\\040+\\040\\040\\015\t*(rw,sync,wdelay,hide,crossmnt,secure,root_squash,no_all_squash,no_subtree_check,secure_locks,acl,no_pnfs,mountpoint,anonuid=65534,anongid=65534,sec=sys,rw,secure,root_squash,no_all_squash)\n/spaced\\040out\t*(rw,sync,wdelay,hide,crossmnt,secure,root_squash,no_all_squash,no_subtree_check,secure_locks,acl,no_pnfs,mountpoint,anonuid=65534,anongid=65534,sec=sys,rw,secure,root_squash,no_all_squash)\n/mnt/filling/machine/1200-S121\t*(rw,async,wdelay,hide,crossmnt,secure,no_root_squash,no_all_squash,no_subtree_check,secure_locks,acl,no_pnfs,mountpoint,anonuid=65534,anongid=65534,sec=sys,rw,secure,no_root_squash,no_all_squash)\n", 4096) = 1775
read(6, "/a\\040+\\040b\t2(rw,sync,wdelay,hide,crossmnt,secure,root_squash,no_all_squash,no_subtree_check,secure_locks,acl,no_pnfs,mountpoint,anonuid=65534,anongid=65534,sec=sys,rw,secure,root_squash,no_all_squash)\n/a\\040+\\040b\t3(rw,sync,wdelay,hide,crossmnt,secure,root_squash,no_all_squash,no_subtree_check,secure_locks,acl,no_pnfs,mountpoint,anonuid=65534,anongid=65534,sec=sys,rw,secure,root_squash,no_all_squash)\n/a\\040+\\040b\t4(rw,sync,wdelay,hide,crossmnt,secure,root_squash,no_all_squash,no_subtree_check,secure_locks,acl,no_pnfs,mountpoint,anonuid=65534,anongid=65534,sec=sys,rw,secure,root_squash,no_all_squash)\n/a\\040+\\040b\t*(rw,sync,wdelay,hide,crossmnt,secure,root_squash,no_all_squash,no_subtree_check,secure_locks,acl,no_pnfs,mountpoint,anonuid=65534,anongid=65534,sec=sys,rw,secure,root_squash,no_all_squash)\n/dupa\\011\\043hehe\\040\\134\\134epsko\\040+\\040\\040\\015\\040\320\264\320\276\321\201\321\202\320\276\320\277\321\200\320\270\320\274\320\265\321\207\320\260\321\202\320\265\320\273\321\214\320\275\320\276\321\201\321\202\320\270\t*(rw,sync,wdelay,hide,crossmnt,secure,root_squash,no_all_squash,no_subtree_check,secure_locks,acl,no_pnfs,mountpoint,anonuid=65534,anongid=65534,sec=sys,rw,secure,root_squash,no_all_squash)\n/dupa\\011\\043hehe\\040\\134\\134epsko\\040+\\040\\040\\015\t*(rw,sync,wdelay,hide,crossmnt,secure,root_squash,no_all_squash,no_subtree_check,secure_locks,acl,no_pnfs,mountpoint,anonuid=65534,anongid=65534,sec=sys,rw,secure,root_squash,no_all_squash)\n/spaced\\040out\t*(rw,sync,wdelay,hide,crossmnt,secure,root_squash,no_all_squash,no_subtree_check,secure_locks,acl,no_pnfs,mountpoint,anonuid=65534,anongid=65534,sec=sys,rw,secure,root_squash,no_all_squash)\n/mnt/filling/machine/1200-S121\t*(rw,async,wdelay,hide,crossmnt,secure,no_root_squash,no_all_squash,no_subtree_check,secure_locks,acl,no_pnfs,mountpoint,anonuid=65534,anongid=65534,sec=sys,rw,secure,no_root_squash,no_all_squash)\n", 4096) = 1775
read(5, "", 4096)                       = 0
read(6, "", 4096)                       = 0
close(5)                                = 0
close(6)                                = 0
unlink("/var/lib/nfs/etab.tmp")         = 0
close(4)                                = 0
openat(AT_FDCWD, "/proc/net/rpc/auth.unix.ip/flush", O_RDWR) = 4
write(4, "1646076578\n", 11)            = 11
close(4)                                = 0
openat(AT_FDCWD, "/proc/net/rpc/auth.unix.gid/flush", O_RDWR) = 4
write(4, "1646076578\n", 11)            = 11
close(4)                                = 0
openat(AT_FDCWD, "/proc/net/rpc/nfsd.fh/flush", O_RDWR) = 4
write(4, "1646076578\n", 11)            = 11
close(4)                                = 0
openat(AT_FDCWD, "/proc/net/rpc/nfsd.export/flush", O_RDWR) = 4
write(4, "1646076578\n", 11)            = 11
close(4)                                = 0
fcntl(3, F_SETLK, {l_type=F_UNLCK, l_whence=SEEK_CUR, l_start=0, l_len=0}) = 0
close(3)                                = 0
exit_group(1)                           = ?
+++ exited with 1 +++

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux