sanlock/suse-no-date-time.patch
James Fehlig f32eec2dde - Update to sanlock 3.9.3
- Make the watchdog timeout configurable
  - wdmd: close watchdog when not used
  - userstorage: replace by PyPI userstorage
  - sanlock: skip short delay in delta lease reacquire
  - sanlock: use product_uuid for host name
  - wdmd: fix timing for iTCO_wdt
  - sanlock: save client_id in token and report in status and use in -C
  - sanlock: include startup message in syslog
  - sanlock: improve repeated ballots in paxos_acquire
  - sanlock: fix zero io timeout for direct requests
  - sanlock: fix release writing zero dblock values
  - sanlock: skip delay when same host acquires delta lease

OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=74
2024-06-03 23:02:16 +00:00

30 lines
942 B
Diff

Index: sanlock-3.9.3/src/main.c
===================================================================
--- sanlock-3.9.3.orig/src/main.c
+++ sanlock-3.9.3/src/main.c
@@ -2334,8 +2334,8 @@ static int read_command_line(int argc, c
}
if (!strcmp(arg1, "--version") || !strcmp(arg1, "-V")) {
- printf("%s %s (built %s %s)\n",
- argv[0], VERSION, __DATE__, __TIME__);
+ printf("%s %s\n",
+ argv[0], VERSION);
exit(EXIT_SUCCESS);
}
Index: sanlock-3.9.3/fence_sanlock/fence_sanlockd.c
===================================================================
--- sanlock-3.9.3.orig/fence_sanlock/fence_sanlockd.c
+++ sanlock-3.9.3/fence_sanlock/fence_sanlockd.c
@@ -565,8 +565,7 @@ int main(int argc, char *argv[])
print_usage();
exit(0);
case 'V':
- printf("fence_sanlockd %s (built %s %s)\n",
- VERSION, __DATE__, __TIME__);
+ printf("fence_sanlockd %s\n", VERSION);
exit(0);
case EOF:
cont = 0;