Displaying 5 results from an estimated 5 matches for "sys_lstat".
2025 Feb 17
1
Weird usershares attempted use
...e
>
>
I think this might be another of those diagnostic that Douglas is
looking for, it is coming from source3/param/loadparam.c
'process_usershare_file':
/* Minimize the race condition by doing an lstat before we
open and fstat. Ensure this isn't a symlink link. */
if (sys_lstat(fname, &lsbuf, false) != 0) {
if (errno == ENOENT) {
/* Unknown share requested. Just ignore. */
goto out;
}
/* Only log messages for meaningful problems. */
DEBUG(0,("process_usershare_file: stat of %s failed. %s\n",
fname, strerror(errno) ));
goto out;
}
Your cl...
2012 Jul 19
1
kernel panic caused by zfs/sa.c
Hello,
I'm experiencing a kernel panic that appears to be caused by zfs.
No errors are making it into /var/log/messages, but here is the error
message that appears on my screen after panic (transcribed):
panic solaris assert BSWAP_32(sa_hdr_phys->sa_magic) == SA_MAGIC,
file: /src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/sa.c, line 1262
I can reproduce this by
2025 Feb 17
1
Weird usershares attempted use
Another issue I don't understand:
On two different samba servers, smbd logs errors like this:
Feb 16 18:36:29 roberts smbd[136]: process_usershare_file: stat of /var/lib/samba/usershares/business failed. Permission denied
Neither machine have configured usershares. There are no users on the sambashare group. The server logging the above error is replacing a file server that had a share
2025 Feb 17
1
Weird usershares attempted use
...e
>
>
I think this might be another of those diagnostic that Douglas is looking for, it is coming from source3/param/loadparam.c
'process_usershare_file':
/* Minimize the race condition by doing an lstat before we
open and fstat. Ensure this isn't a symlink link. */
if (sys_lstat(fname, &lsbuf, false) != 0) {
if (errno == ENOENT) {
/* Unknown share requested. Just ignore. */
goto out;
}
/* Only log messages for meaningful problems. */
DEBUG(0,("process_usershare_file: stat of %s failed. %s\n",
fname, strerror(errno) ));
goto out;
}
Your cl...
2004 Oct 21
0
compile errors samba 3.0.7 vfs
...'
modules/vfs_netatalk.po(.text+0xff): undefined reference to `dbghdr'
modules/vfs_netatalk.po(.text+0x11b): undefined reference to `dbgtext'
modules/vfs_netatalk.po(.text+0x15e): undefined reference to
`talloc_asprintf'
modules/vfs_netatalk.po(.text+0x183): undefined reference to `sys_lstat'
modules/vfs_netatalk.po(.text+0x1b4): undefined reference to
`talloc_asprintf'
modules/vfs_netatalk.po(.text+0x1d0): undefined reference to `talloc_strdup'
modules/vfs_netatalk.po(.text+0x1f4): undefined reference to
`talloc_asprintf'
modules/vfs_netatalk.po(.text+0x20e): undefin...