[Top][All Lists]
[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>
- [gpsd-users] gpsd/udev behavior, Paul Fox, 2012/05/21
- Re: [gpsd-users] gpsd/udev behavior, Eric S. Raymond, 2012/05/24
- Re: [gpsd-users] gpsd/udev behavior, Paul Fox, 2012/05/25
- Re: [gpsd-users] gpsd/udev behavior,
Eric S. Raymond <=
- Re: [gpsd-users] gpsd/udev behavior, Paul Fox, 2012/05/29
- Re: [gpsd-users] gpsd/udev behavior, Eric S. Raymond, 2012/05/29
- Re: [gpsd-users] gpsd/udev behavior, Paul Fox, 2012/05/29
- Re: [gpsd-users] gpsd/udev behavior, Eric S. Raymond, 2012/05/29
- Re: [gpsd-users] gpsd/udev behavior, Paul Fox, 2012/05/29