You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.4 KiB

  1. --- a/utils/blkmapd/device-discovery.c
  2. +++ b/utils/blkmapd/device-discovery.c
  3. @@ -64,7 +64,7 @@
  4. #define EVENT_BUFSIZE (1024 * EVENT_SIZE)
  5. #define RPCPIPE_DIR "/var/lib/nfs/rpc_pipefs"
  6. -#define PID_FILE "/run/blkmapd.pid"
  7. +#define PID_FILE "/tmp/run/blkmapd.pid"
  8. #define CONF_SAVE(w, f) do { \
  9. char *p = f; \
  10. --- a/utils/gssd/gssd.h
  11. +++ b/utils/gssd/gssd.h
  12. @@ -44,7 +44,7 @@
  13. #define DNOTIFY_SIGNAL (SIGRTMIN + 3)
  14. #define GSSD_DEFAULT_CRED_DIR "/tmp"
  15. -#define GSSD_USER_CRED_DIR "/run/user/%U"
  16. +#define GSSD_USER_CRED_DIR "/tmp/run/user/%U"
  17. #define GSSD_DEFAULT_CRED_PREFIX "krb5cc"
  18. #define GSSD_DEFAULT_MACHINE_CRED_SUFFIX "machine"
  19. #define GSSD_DEFAULT_KEYTAB_FILE "/etc/krb5.keytab"
  20. --- a/utils/statd/sm-notify.c
  21. +++ b/utils/statd/sm-notify.c
  22. @@ -913,7 +913,7 @@ static int record_pid(void)
  23. int fd;
  24. (void)snprintf(pid, sizeof(pid), "%d\n", (int)getpid());
  25. - fd = open("/run/sm-notify.pid", O_CREAT|O_EXCL|O_WRONLY, 0600);
  26. + fd = open("/tmp/run/sm-notify.pid", O_CREAT|O_EXCL|O_WRONLY, 0600);
  27. if (fd < 0)
  28. return 0;
  29. --- a/utils/statd/statd.c
  30. +++ b/utils/statd/statd.c
  31. @@ -161,7 +161,7 @@ usage(void)
  32. fprintf(stderr," -H Specify a high-availability callout program.\n");
  33. }
  34. -static const char *pidfile = "/run/rpc.statd.pid";
  35. +static const char *pidfile = "/tmp/run/rpc.statd.pid";
  36. int pidfd = -1;
  37. static void create_pidfile(void)