gpsd-users
[Top][All Lists]
Advanced

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

Re: [gpsd-users] gpsd/udev behavior


From: Eric S. Raymond
Subject: Re: [gpsd-users] gpsd/udev behavior
Date: Tue, 29 May 2012 04:36:29 -0400
User-agent: Mutt/1.5.21 (2010-09-15)

Paul Fox <address@hidden>:
> in the case of invocation via udev, there is no prototypical TTY
> device, so the code falls back on /dev/ttyS0 for the group id.  that
> was certainly a reasonable fallback for a legacy PC especially in the
> pre-udev world, but gpsd might need more flexibility now. 

I'm certainly open to suggestions on this.  I'll start by adding 
an alert in the packaging instructions.

> the answer might be a command-line argument (i.e., "-g gid") as a hook
> that could be set via /etc/{default,sysconfig}/gpsd.  i'd be happy
> to contribute that patch if you thought it was a good idea.  (i
> understand the dangers of option creep.)

How would this be better than the gpsd_group config option?

> another (likely unacceptable :-) option would be a commandline flag
> telling gpsd not to drop privileges.

Yeah, that's not gonna fly.  I like to avoid situations where careless
misconfiguration can open up security holes.
-- 
                <a href="http://www.catb.org/~esr/";>Eric S. Raymond</a>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]