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]

 



2009/6/30 Matthias König <mk@xxxxxxxxxxxx>:
> Karel Zak <kzak@xxxxxxxxxx> wrote:

>>  Is there any Linux distribution with the setuid uuidd? Suse and
>>  Fedora/RHEL use init scripts and fork()+exec() in the library is
>>  waste of time.
>
> SUSE does not use setuid by default, but it is supported.
> (there is a specific README in SUSE about how to enable this).
> The security team rejected the setuid setting by default,
> since the use case was rare und for very specific needs
>
> I think the on-demand startup and quit after running a specific
> time unused is a nice feature, why get rid of it?

Well, the "nice" part of it is usually not nice enough to justify to
have libraries to magically fork() processes and let the possible
non-aware user of the library receive signals and all that stuff. It
gets even worse with multithreaded apps using many libs.

It should be avoided whenever possible to ever fork() from a library.
Processes may not even know, that they link against libuuid because
some other lib may have dragged that in.

Thanks,
Kay
--
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