search for: real_path

Displaying 20 results from an estimated 30 matches for "real_path".

2017 Jul 07
3
[Gluster-devel] gfid and volume-id extended attributes lost
...these two bricks? It can't happen in the I/O path: posix_removexattr() has: 0 if (!strcmp (GFID_XATTR_KEY, name)) { 1 gf_msg (this->name, GF_LOG_WARNING, 0, P_MSG_XATTR_NOT_REMOVED, 2 "Remove xattr called on gfid for file %s", real_path); 3 op_ret = -1; 4 goto out; 5 } 6 if (!strcmp (GF_XATTR_VOL_ID_KEY, name)) { 7 gf_msg (this->name, GF_LOG_WARNING, 0, P_MSG_XATTR_NOT_REMOVED, 8 "Remove xattr called on volume-id for file %s",...
2017 Jul 07
2
[Gluster-devel] gfid and volume-id extended attributes lost
...; I/O path: > posix_removexattr() has: > 0 if (!strcmp (GFID_XATTR_KEY, name)) > { > > > 1 gf_msg (this->name, GF_LOG_WARNING, 0, > P_MSG_XATTR_NOT_REMOVED, > 2 "Remove xattr called on gfid for file %s", > real_path); > 3 op_ret = -1; > > 4 goto out; > > 5 } > > 6 if (!strcmp (GF_XATTR_VOL_ID_KEY, name)) > { > 7 gf_msg (this->name, GF_LOG_WARNING, 0, > P_MSG_XATTR_NOT_REMOVED, > 8...
2017 Jul 07
3
[Gluster-devel] gfid and volume-id extended attributes lost
...glusterfs.test"); 4 80 xlators/storage/posix/src/posix-handle.h <<REMOVE_PGFID_XATTR>> op_ret = sys_lremovexattr (path, key); \ 5 5026 xlators/storage/posix/src/posix.c <<_posix_remove_xattr>> op_ret = sys_lremovexattr (filler->real_path, key); 6 5101 xlators/storage/posix/src/posix.c <<posix_removexattr>> op_ret = sys_lremovexattr (real_path, name); 7 6811 xlators/storage/posix/src/posix.c <<init>> sys_lremovexattr (dir_data->data, "trusted.glusterfs.test")...
2017 Jul 07
0
[Gluster-devel] gfid and volume-id extended attributes lost
...n these two bricks? It can't happen in the I/O path: posix_removexattr() has: 0 if (!strcmp (GFID_XATTR_KEY, name)) { 1 gf_msg (this->name, GF_LOG_WARNING, 0, P_MSG_XATTR_NOT_REMOVED, 2 "Remove xattr called on gfid for file %s", real_path); 3 op_ret = -1; 4 goto out; 5 } 6 if (!strcmp (GF_XATTR_VOL_ID_KEY, name)) { 7 gf_msg (this->name, GF_LOG_WARNING, 0, P_MSG_XATTR_NOT_REMOVED, 8 "Remove xattr called on volume-id for file %s...
2017 Jul 07
0
[Gluster-devel] gfid and volume-id extended attributes lost
...glusterfs.test"); 4 80 xlators/storage/posix/src/posix-handle.h <<REMOVE_PGFID_XATTR>> op_ret = sys_lremovexattr (path, key); \ 5 5026 xlators/storage/posix/src/posix.c <<_posix_remove_xattr>> op_ret = sys_lremovexattr (filler->real_path, key); 6 5101 xlators/storage/posix/src/posix.c <<posix_removexattr>> op_ret = sys_lremovexattr (real_path, name); 7 6811 xlators/storage/posix/src/posix.c <<init>> sys_lremovexattr (dir_data->data, "trusted.glusterfs.test")...
2017 Jul 07
0
[Gluster-devel] gfid and volume-id extended attributes lost
...n these two bricks? It can't happen in the I/O path: posix_removexattr() has: 0 if (!strcmp (GFID_XATTR_KEY, name)) { 1 gf_msg (this->name, GF_LOG_WARNING, 0, P_MSG_XATTR_NOT_REMOVED, 2 "Remove xattr called on gfid for file %s", real_path); 3 op_ret = -1; 4 goto out; 5 } 6 if (!strcmp (GF_XATTR_VOL_ID_KEY, name)) { 7 gf_msg (this->name, GF_LOG_WARNING, 0, P_MSG_XATTR_NOT_REMOVED, 8 "Remove xattr called on volume-id for file %s...
2017 Jul 08
2
[Gluster-devel] gfid and volume-id extended attributes lost
...t; 4 80 xlators/storage/posix/src/posix-handle.h > <<REMOVE_PGFID_XATTR>> > op_ret = sys_lremovexattr (path, key); \ > 5 5026 xlators/storage/posix/src/posix.c <<_posix_remove_xattr>> > op_ret = sys_lremovexattr (filler->real_path, key); > 6 5101 xlators/storage/posix/src/posix.c <<posix_removexattr>> > op_ret = sys_lremovexattr (real_path, name); > 7 6811 xlators/storage/posix/src/posix.c <<init>> > sys_lremovexattr (dir_data->data, "trusted.g...
2014 Mar 15
5
A few easy dpkg optimizations for supermin
I have done some printf profiling and found that supermin's calls to dpkg for individual packages are quite expensive. Here are some patches that gather all information on demand where possible. On my Debian/unstable-based workstation at home, preparing a minimal appliance using $ ./supermin --use-installed --prepare bash -o supermin.d now takes ~3.5s (previously ~15s). Turning that
2017 Jul 10
0
[Gluster-devel] gfid and volume-id extended attributes lost
...xlators/storage/posix/src/posix-handle.h >> <<REMOVE_PGFID_XATTR>> >> op_ret = sys_lremovexattr (path, key); \ >> 5 5026 xlators/storage/posix/src/posix.c <<_posix_remove_xattr>> >> op_ret = sys_lremovexattr (filler->real_path, key); >> 6 5101 xlators/storage/posix/src/posix.c <<posix_removexattr>> >> op_ret = sys_lremovexattr (real_path, name); >> 7 6811 xlators/storage/posix/src/posix.c <<init>> >> sys_lremovexattr (dir_data->data,...
2017 Jul 10
2
[Gluster-devel] gfid and volume-id extended attributes lost
...posix/src/posix-handle.h >>> <<REMOVE_PGFID_XATTR>> >>> op_ret = sys_lremovexattr (path, key); \ >>> 5 5026 xlators/storage/posix/src/posix.c <<_posix_remove_xattr>> >>> op_ret = sys_lremovexattr (filler->real_path, key); >>> 6 5101 xlators/storage/posix/src/posix.c <<posix_removexattr>> >>> op_ret = sys_lremovexattr (real_path, name); >>> 7 6811 xlators/storage/posix/src/posix.c <<init>> >>> sys_lremovexattr (di...
2017 Jul 10
0
[Gluster-devel] gfid and volume-id extended attributes lost
...handle.h >>>> <<REMOVE_PGFID_XATTR>> >>>> op_ret = sys_lremovexattr (path, key); \ >>>> 5 5026 xlators/storage/posix/src/posix.c <<_posix_remove_xattr>> >>>> op_ret = sys_lremovexattr (filler->real_path, key); >>>> 6 5101 xlators/storage/posix/src/posix.c <<posix_removexattr>> >>>> op_ret = sys_lremovexattr (real_path, name); >>>> 7 6811 xlators/storage/posix/src/posix.c <<init>> >>>> sys_...
2017 Jul 10
2
[Gluster-devel] gfid and volume-id extended attributes lost
...glusterfs.test"); 4 80 xlators/storage/posix/src/posix-handle.h <<REMOVE_PGFID_XATTR>> op_ret = sys_lremovexattr (path, key); \ 5 5026 xlators/storage/posix/src/posix.c <<_posix_remove_xattr>> op_ret = sys_lremovexattr (filler->real_path, key); 6 5101 xlators/storage/posix/src/posix.c <<posix_removexattr>> op_ret = sys_lremovexattr (real_path, name); 7 6811 xlators/storage/posix/src/posix.c <<init>> sys_lremovexattr (dir_data->data, "trusted.glusterfs.test")...
2017 Jul 13
0
[Gluster-devel] gfid and volume-id extended attributes lost
...t; 4 80 xlators/storage/posix/src/posix-handle.h > <<REMOVE_PGFID_XATTR>> > op_ret = sys_lremovexattr (path, key); \ > 5 5026 xlators/storage/posix/src/posix.c <<_posix_remove_xattr>> > op_ret = sys_lremovexattr (filler->real_path, key); > 6 5101 xlators/storage/posix/src/posix.c <<posix_removexattr>> > op_ret = sys_lremovexattr (real_path, name); > 7 6811 xlators/storage/posix/src/posix.c <<init>> > sys_lremovexattr (dir_data->data, "trusted.g...
2017 Jul 07
1
gfid and volume-id extended attributes lost
Hi, We faced an issue in the production today. We had to stop the volume and reboot all the servers in the cluster. Once the servers rebooted starting of the volume failed because the following extended attributes were not present on all the bricks on 2 servers. 1) trusted.gfid 2) trusted.glusterfs.volume-id We had to manually set these extended attributes to start the volume.
2014 Jan 01
0
Soft chroot jail for sftp-server
...(i = 0; i < path_len; i++) { > if (*(path+i) == '/' && j>0 && *(path+j-1) == '/') > j--; > > *(path+j) = *(path+i); > j++; > } > > j = 0; > int dot_count = 0; > i = 0; > path_len = strlen(path)+1; > char* real_path = path; > if (*path == '/') { > path++; > path_len--; > } > > // Execute actual ".." resolution with a path that doesn't care if it is absolute or relative > for (i = 0; i < path_len; i++) { > if (*(path+i) == '/' || *(path+i) ==...
2007 Mar 14
0
10 commits - libswfdec/swfdec_flv_decoder.c libswfdec/swfdec_flv_decoder.h libswfdec/swfdec_js_global.c libswfdec/swfdec_js_movie.c libswfdec/swfdec_js_net_stream.c libswfdec/swfdec_loader.c libswfdec/swfdec_loader.h libswfdec/swfdec_loadertarget.c
...tate on creation. diff --git a/libswfdec/swfdec_loader.c b/libswfdec/swfdec_loader.c index 22f418b..4334562 100644 --- a/libswfdec/swfdec_loader.c +++ b/libswfdec/swfdec_loader.c @@ -191,17 +191,16 @@ swfdec_file_loader_load (SwfdecLoader *l /* FIXME: need to rework seperators on windows? */ real_path = g_build_filename (SWFDEC_FILE_LOADER (loader)->dir, url, NULL); buffer = swfdec_buffer_new_from_file (real_path, &error); - if (buffer == NULL) { - SWFDEC_ERROR ("Couldn't load \"%s\": %s", real_path, error->message); - g_free (real_path); - g_error_...
2014 Mar 08
9
supermin and dpkg-divert
While trying to run libguestfs tests after building with "--enable-appliance --with-supermin-extra-options=--use-installed", I ran into a peculiar error message in the c-api test: ,---- | libguestfs: error: strings: /abssymlink: strings: error while loading | shared libraries: libbfd-2.24-multiarch.so: cannot open shared object | file: No such file or directory `---- The problem here
2017 Oct 05
2
Glusterd not working with systemd in redhat 7
Hello Atin, Please find below the requested informations: [root at dvihcasc0r ~]# cat /var/lib/glusterd/vols/advdemo/bricks/* hostname=dvihcasc0r path=/opt/glusterfs/advdemo real_path=/opt/glusterfs/advdemo listen-port=49152 rdma.listen-port=0 decommissioned=0 brick-id=advdemo-client-0 mount_dir=/advdemo snap-status=0 hostname=dvihcasc0s path=/opt/glusterfs/advdemo real_path=/opt/glusterfs/advdemo listen-port=0 rdma.listen-port=0 decommissioned=0 brick-id=advdemo-client-1 mount_...
2017 Oct 05
0
Glusterd not working with systemd in redhat 7
...Thu, Oct 5, 2017 at 1:52 PM, ismael mondiu <mondiu at hotmail.com> wrote: > Hello Atin, > > Please find below the requested informations: > > > [root at dvihcasc0r ~]# cat /var/lib/glusterd/vols/advdemo/bricks/* > hostname=dvihcasc0r > path=/opt/glusterfs/advdemo > real_path=/opt/glusterfs/advdemo > listen-port=49152 > rdma.listen-port=0 > decommissioned=0 > brick-id=advdemo-client-0 > mount_dir=/advdemo > snap-status=0 > hostname=dvihcasc0s > path=/opt/glusterfs/advdemo > real_path=/opt/glusterfs/advdemo > listen-port=0 > rdma.listen-p...
2014 Mar 13
3
[supermin 1/3] Recognize dpkg-divert
--- configure.ac | 1 + src/config.ml.in | 1 + src/dpkg.ml | 1 + 3 files changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 2141540..99ea913 100644 --- a/configure.ac +++ b/configure.ac @@ -92,6 +92,7 @@ AC_PATH_PROG(APT_GET,[apt-get],[no]) AC_PATH_PROG(DPKG,[dpkg],[no]) AC_PATH_PROG(DPKG_DEB,[dpkg-deb],[no]) AC_PATH_PROG(DPKG_QUERY,[dpkg-query],[no])