[PATCH] [RFC] Always run hald as non-root
Pozsár Balázs
pozsy at uhulinux.hu
Wed Feb 9 03:21:22 PST 2005
On Tue, Feb 08, 2005 at 04:59:40PM -0500, David Zeuthen wrote:
> On Tue, 2005-02-08 at 00:07 +0100, Sjoerd Simons wrote:
> > Hi,
> >
> > Since i seem to be in an extreme mood anyway, attached it is a patch that
> > will make hal always drop permissions to non-root. Also it removes keeping
> > the net admin capability as it's not being used anymore.
>
> Not exactly true - it is (was, see below) used for network link
> detection.
>
> But, anyway, after some thorough discussion with Dan Williams
> (NetworkManager maintainer), I've decided to remove this since network
> link detection is a whole ordeal in itself (ethtool, mii, traffic
> sniffing, different sysfs carrier file behavior dependent on
> driver/network card/chip set, crashers caused by broken drivers etc.).
> So NM and other tools are on their own now.
I understand it is hard to do link detection. But isn't hal's main to
provide a unified abstraction layer about hardware, exactly because
collecting information from lots of places is a hard task, and to do it
in one place?
If this is only a short-term feature removal to let the link detection
code settle, I can understand that too.
Just one little idea: some kind of config switch could be provided until
this code is stabilized, to disable it to avoid kernel crashes if you
are afraid of that.
--
pozsy
_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal
More information about the Hal
mailing list