Re: uuidd: move uuidd files from /var/lib/libuuid to /var/run/uuidd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 Hi Ted,

On Mon, Jun 29, 2009 at 09:33:44PM -0400, Theodore Ts'o wrote:
> There was a very good reason why uuid state files were in
> /var/lib/libuuid instead of /var/run/uuidd.  Some distributions wipe all

 I guess I found a small typo in your uuidd.rc (see the patch below).

    Karel

>From f4ad9bb3d8401d6a6b827cc419e7f0f5a4f2f0c2 Mon Sep 17 00:00:00 2001
From: Karel Zak <kzak@xxxxxxxxxx>
Date: Tue, 30 Jun 2009 15:14:51 +0200
Subject: [PATCH] uuidd: fix typo in uuidd.rc

Signed-off-by: Karel Zak <kzak@xxxxxxxxxx>
---
 misc/uuidd.rc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/misc/uuidd.rc b/misc/uuidd.rc
index d35645a..d98732c 100644
--- a/misc/uuidd.rc
+++ b/misc/uuidd.rc
@@ -38,7 +38,7 @@ case "$1" in
 	    exit 0;
 	else
 	    echo "$DAEMON is NOT running";
-	    if test -f /var/run/uuidd.pid; then exit 2; fi
+	    if test -f $PIDFILE; then exit 2; fi
 	    exit 3;
 	fi
 	;;
-- 
1.6.2.2

--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux