Re: systemd sessions, su -l, and access to /dev/

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



On Sat, Nov 24, 2012 at 02:48:14PM +0100, Joakim Hernberg wrote:
> On Fri, 23 Nov 2012 21:33:23 +0300
> MSal <msal@xxxxxxxxxxx> wrote:
> 
> > 70-uaccess.rules is not a backup file and AFAIK any modifications will
> > be overwritten in the next update.
> 
> I have no  /etc/udev/rules.d/70-uaccess.rules on my system, i do have
> a /usr/lib/udev/rules.d/70-uaccess.rules though.  I think creating
> the /etc/udev/rules.d/70-uaccess.rules to /dev/null symlink will
> override the standard rule and will not be overwritten by upgrading the
> udev package.

That's correct. When a file in /etc/udev/rules.d exists the one 
with the same name in /usr/lib/udev/rules.d wont' be used. And the
one in /etc won't be affected by upgrades.

So the symlink to /dev/null in /etc will prevent devices being
tagged with 'uaccess' and then logind will leave them alone.

So, it is sort of a solution, but it looks fragile to me, and
I'd much prefer being able to configure logind to not use the
'seat' and 'session' model. No program should define such a
policy on its own and have it hardcoded.

Ciao,

-- 
FA

A world of exhaustive, reliable metadata would be an utopia.
It's also a pipe-dream, founded on self-delusion, nerd hubris
and hysterically inflated market opportunities. (Cory Doctorow)



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux