forked from pool/e2fsprogs
29 lines
1.1 KiB
Plaintext
29 lines
1.1 KiB
Plaintext
|
Using uuidd
|
||
|
-----------
|
||
|
The uuidd is a solution to guarantee unique time-based UUIDs. In the
|
||
|
past there was the problem that UUIDs created by libuuid have not been
|
||
|
guaranteed to be unique if you run multiple processes/threads which
|
||
|
create lots of UUIDs simultaneously. In order to use this daemon you
|
||
|
have to run it with SUID/SGID bit set:
|
||
|
|
||
|
1. Modify your local permissions setting by adding the following
|
||
|
line to your /etc/permissions.local
|
||
|
/usr/sbin/uuidd uuidd:uuidd 6755
|
||
|
|
||
|
2. Set the permissions with
|
||
|
$ chkstat --set /etc/permissions.local
|
||
|
|
||
|
3. enable the service uuidd either in YaST or with
|
||
|
$ insserv uuidd
|
||
|
|
||
|
The daemon is designed to run on demand by default, this means
|
||
|
it is started automatically by libuuid when needed and it
|
||
|
terminates by default after 5 minutes of inactivity.
|
||
|
However if you wish to run the daemon permanently you can
|
||
|
set the parameter UUIDD_ON_DEMAND_ONLY in /etc/sysconfig/uuidd
|
||
|
to "no".
|
||
|
Note, the daemon is not needed in general to create time-based
|
||
|
UUIDs, it is only needed to assure the uniqueness of UUIDs
|
||
|
when creating lots of them in a short amount of time.
|
||
|
|