Displaying 5 results from an estimated 5 matches for "state_path".
2008 Jul 03
3
[PATCH 2/4] pvSCSI : Fix many points of backend/frontend driver
Please refer following Mr. Steven''s mail posted on June 24th.
Message-ID: <20080624131313.GB18379@weybridge.uk.xensource.com>
Message-ID: <20080624131256.GA18379@weybridge.uk.xensource.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
Signed-off-by: Jun Kamada <kama@jp.fujitsu.com>
-----
Jun Kamada
2012 Aug 13
2
[PATCH] Replace hard-coded PKG_STATEDIR with state_dir setting
...= inst != NULL ? inst->base_dir : argv[1];
if ((ret = master_instance_list_remove(list, base_dir)) < 0) {
diff --git a/src/doveadm/doveadm-mount.c b/src/doveadm/doveadm-mount.c
--- a/src/doveadm/doveadm-mount.c
+++ b/src/doveadm/doveadm-mount.c
@@ -13,7 +13,8 @@
{
const char *perm_path, *state_path;
- perm_path = t_strconcat(PKG_STATEDIR"/"MOUNTPOINT_LIST_FNAME, NULL);
+ perm_path = t_strconcat(doveadm_settings->state_dir,
+ "/"MOUNTPOINT_LIST_FNAME, NULL);
state_path = t_strconcat(doveadm_settings->base_dir,
"/"MOUNTPOINT_LIST_FNAME, NULL);...
2007 May 22
1
[Nut-upsdev] Belkin USB UPSes
...issions look OK.
>
> However, starting with upsdrvctrl still reports driver startup failing
> with exit 1. What other things besides permissions errors can cause this?
>
Normaly it should say something more than 'exit 1'.
Did You install from svn ?
And if so, did You set the state_path during configure. You may be
missing or having the wrong rights on that directory.
Default it should be /var/state/nut/.
This directory holds the driver socket, and if it don't exist it
would make the upsdrvctrl exit with a error.
> (I plan to submit a patch for the installation instructio...
2005 Sep 26
0
[Fwd: Re: Samba with Mysql, Compilation of version 3.0.11]
Hello again,
Related to previous bug, i have corrected few things from util.c,
3 char* data structures were defined more than one time so i commented
them in code, it seem to compile now...
data_path
state_path
cache_path
Thanks anyway.
Pierre
(C)ollen wrote:
> pdb_sql.c is the new mysql backend name
> (was pdb_mysql) so it does get compiled...
> but this output shows that you still use 3.0.20.
> and that's not the best version for mysql backends...!
>
> i must note that i have ma...
2010 Aug 12
0
[PATCH, v2]: xl: Implement per-API-call garbage-collection lifetime
...+ return rc;
}
char *device_disk_string_of_phystype(libxl_disk_phystype phystype)
@@ -221,35 +228,43 @@ int device_disk_dev_number(char *virtpat
int libxl_device_destroy(libxl_ctx *ctx, char *be_path, int force)
{
+ libxl_gc gc = LIBXL_INIT_GC(ctx);
xs_transaction_t t;
- char *state_path = libxl_sprintf(ctx, "%s/state", be_path);
- char *state = libxl_xs_read(ctx, XBT_NULL, state_path);
+ char *state_path = libxl_sprintf(&gc, "%s/state", be_path);
+ char *state = libxl_xs_read(&gc, XBT_NULL, state_path);
+ int rc = 0;
+
if (!state)
-...