|
Bugzilla – Full Text Bug Listing |
| Summary: | /dev/ttyIx devices are owned by group root instead of uucp | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE LINUX 10.0 | Reporter: | Per Jessen <per> |
| Component: | Hotplug | Assignee: | Kay Sievers <kasievers> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | ||
| Version: | RC 1 | ||
| Target Milestone: | --- | ||
| Hardware: | i586 | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Per Jessen
2005-10-24 08:46:15 UTC
Yes, we should set uucp group in the udev rules too. I will change the static_devices entries with the next release. Karten, will we still need the static entries for 10.1? I will try to add some more udev/sysfs support to the old i4l core for 10.1, so maybe most of them are not longer needed then. I have some more updates for the isdn udev rules, but need some more testing (solving the hotplug event issue #116462 and the Auerswald #129938). The current udev has the right permissions for the nodes. They are created by the rpm and placed in /lib/udev/devices/*, which content is copied over to /dev at every startup. Karsten, can you take the static nodes over to the isdn rpm, so we don't install them unconditionally on every system? Since isdn is in the default selection, it doesn't change it, but I agree they should be in the i4l-base.rpm for future products. What would be the best way to do this ? 1.) create the nodes on build time in /BUILD_ROOT/lib/udev/devices/ and package them into the rpm ? 2.) Do this in the post install script ? What must be called to copy the nodes to /dev/... (in post install of the rpm)? > 1.) create the nodes on build time Just use the rpm native dev macro: %attr(600,root,uucp) %dev(c,45,128) /lib/udev/devices/ippp0 You can copy the whole section from the current udev.spec file. Can you take over the isdn rules too? > 2.) Do this in the post install script ? RPM keeps track of this. > What must be called to copy the nodes to /dev/ The udev boot script will do this, no need for the isdn package to do anything here. No that is not enough, think about that somebody install i4l-base later in a running system, this have to be done without a reboot cycle. Ok, right. In that case, you may just copy the whole /lib/udev/devices/ directory with cp --update ... to /dev. That should copy all missing nodes over without overwriting the ones who may have changed its permissions after boot. Sounds ok? This is fixed in the current development release. |