Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38749 - /dev/misc/rtc support
Summary: /dev/misc/rtc support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Greg Kroah-Hartman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-19 12:55 UTC by Matthieu Sozeau (RETIRED)
Modified: 2004-07-02 10:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthieu Sozeau (RETIRED) gentoo-dev 2004-01-19 12:55:12 UTC
I think we should support this device, probably by adding a group rtc and the appropriate permissions in console.perms, any thoughts ?
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-01-19 16:54:21 UTC
most of us already have the device as far as i'm aware.
why do you want to change the ownership/permission on it?

the only reason to change permissions I can see as worthwhile is to allow everybody to read from it.

Comment 2 Matthieu Sozeau (RETIRED) gentoo-dev 2004-01-19 17:13:01 UTC
What do you mean by have ?
The default setup is root.root 620, but, to take advantadge of it, you need at least read permission for the user, and perhaps read/write for rtc members.
I just find it more sensible defaults, but maybe there's some security risk i overlooked (nothing that would prevents having an rtc group anyway). 
Comment 3 Stefan de Konink 2004-06-27 13:36:05 UTC
mplayer wants to read from this device, so:

/etc/udev/permissions.d/50-udev.permissions:
-misc/rtc:root:root:0660
+misc/rtc:root:root:0664

would allow that. What is the security risk of reading from rtc?
Comment 4 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-06-30 16:28:16 UTC
should not be a problem, i'll change it for the next version of udev.
Comment 5 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-07-02 10:34:59 UTC
Fixed, will be in next release, out later today.