Bug 133790
| Summary: | udev breaks console.perms for pilot | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Thomas Zehetbauer <thomasz> |
| Component: | udev | Assignee: | Harald Hoyer <harald> |
| Status: | CLOSED RAWHIDE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | ||
| 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-09-30 13:23:27 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
Thomas Zehetbauer
2004-09-27 14:23:39 UTC
udev needs to be handling the console.perms stuff on device creation, not just login. That's not the problem, Bill... The problem is, that the device seems to reconnect to the USB bus, causing one REMOVE and one ADD hotplug event. Which module is this? The device is a Palm Zire 71, the driver is CONFIG_USB_SERIAL_VISOR. do you really have the problem with the permissions, btw? if yes, which version of udev? It breaks the way this used to work: have a symlink from /dev/pilot to /dev/ttyUSB1 and /dev/pilot listed in /etc/security/console.perms It works now that I have created a /etc/udev/rules.d/10-local.rules with KERNEL="ttyUSB1",SYMLINK="pilot" The alternative would be to change /etc/console.perms to list /dev/ttyUSB1 instead of /dev/pilot Yes, the hardware causes that device to disconnect and reconnect every time, you can't do anything about that, unfortunatly :( And, as I just pointed out on linux-hotplug-devel, /dev/pilot shouldn't always point to /dev/ttyUSB1, it all depends on the type of device you currently have (some Sony Clie devices use /dev/ttyUSB0 to sync off of...) This is why it is (was) recommended practice to use a symlink. Quick solution: # ln -s ttyUSB1 /etc/udev/devices/pilot as of >= udev-032-5 this should get copied to the real dev on every reboot |