Bug 130095
| Summary: | missing entries in console.perms | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | David Zeuthen <davidz> |
| Component: | pam | Assignee: | Tomas Mraz <tmraz> |
| Status: | CLOSED NOTABUG | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | davidz, mclasen |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2004-10-14 12:57:13 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 123268 | ||
|
Description
David Zeuthen
2004-08-16 23:23:06 UTC
sr0 shouldn't be created. Moreover, thinking about it, cdrom* links should be created by the udev config. Symlinks will solve this issue, but won't you need at lot of, perhaps complex, rules in udev? Case in point, I've discovered that this issue also applies to my DVD-ROM drive of my LS120/DVD-ROM combo at /dev/hdd. It works for the LS120 drive but only because of a stale symlink /dev/cdrom->/dev/hdc (left by kudzu I presume when I had my floppy/CD-RW combo in). To me it seems that the only thing in sysfs you can check on is the /block/hd[cd]/removable file. Unless you want to do a callout and look at /proc/ide/.. stuff like hal does. Is this sufficient, e.g. how do you determine whether it's floppy or optical drive to use the correct name for the symlink? Heuristics? To me it seems that it's necessary to look at /proc/ide/hd[cd]/media, that's what hal does anyway, and that gives you floppy,disk,cdrom,tape,UNKNOWN according to the kernel source. On a somewhat related issue, will we shift to a minimal tmpfs or ramfs /dev for FC3? Having the 'right rules' to give names expected by the (static) console.perms file is a prerequisite for this it seems as kudzu won't run on every boot and create symlinks. So how we decided? To create symlinks or to modify the console.perms file? If the former answer is right then this bug should be reassigned to udev. udev now creates the cdrom and floppy compatibility symlinks so I am closing this bug. |